Class MethodScore
java.lang.Object
manifold.util.MethodScore
- All Implemented Interfaces:
Comparable<MethodScore>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MethodScore
-
-
Method Details
-
isValid
public boolean isValid()- Returns:
- true if this score represents a matching method score rather than just a placeholder indicating that no method matched
-
setValid
public void setValid(boolean valid) -
getScore
public int getScore() -
setScore
public void setScore(int score) -
incScore
public void incScore(int amount) -
isErrant
public boolean isErrant()- Returns:
- true iff the method is call-compatible with the arguments.
-
setErrant
public void setErrant(boolean errant) -
getMethod
-
setMethod
-
getReceiverType
-
compareTo
- Specified by:
compareToin interfaceComparable<MethodScore>
-
getParameterTypes
-
setParameterTypes
-
matchesArgSize
public boolean matchesArgSize()
-