public final class MethodScore extends Object implements Comparable<MethodScore>
| Constructor and Description |
|---|
MethodScore(IRelativeTypeInfo.Accessibility acc,
IType receiverType) |
MethodScore(IType receiverType,
IType callsiteEnclosingType) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MethodScore o) |
IRelativeTypeInfo.Accessibility |
getAccessibility() |
List<IExpression> |
getArguments() |
TypeVarToTypeMap |
getInferenceMap() |
IInvocableType |
getInferredFunctionType() |
int[] |
getNamedArgOrder() |
List |
getParserStates() |
IInvocableType |
getRawFunctionType() |
IType |
getReceiverType() |
long |
getScore() |
void |
incScore(int amount) |
boolean |
isValid() |
boolean |
matchesArgSize() |
void |
setArguments(List<IExpression> argExpressions) |
void |
setInferenceMap(TypeVarToTypeMap inferenceMap) |
void |
setInferredFunctionType(IInvocableType funcType) |
void |
setNamedArgOrder(List<Integer> namedArgOrder) |
void |
setParserStates(List parserStates) |
void |
setRawFunctionType(IInvocableType funcType) |
void |
setScore(long iScore) |
void |
setValid(boolean valid) |
public MethodScore(IRelativeTypeInfo.Accessibility acc, IType receiverType)
public boolean isValid()
public long getScore()
public void setScore(long iScore)
public void incScore(int amount)
public void setValid(boolean valid)
public IInvocableType getRawFunctionType()
public void setRawFunctionType(IInvocableType funcType)
public IInvocableType getInferredFunctionType()
public void setInferredFunctionType(IInvocableType funcType)
public IType getReceiverType()
public IRelativeTypeInfo.Accessibility getAccessibility()
public int compareTo(MethodScore o)
compareTo in interface Comparable<MethodScore>public List<IExpression> getArguments()
public void setArguments(List<IExpression> argExpressions)
public List getParserStates()
public void setParserStates(List parserStates)
public boolean matchesArgSize()
public int[] getNamedArgOrder()
public TypeVarToTypeMap getInferenceMap()
public void setInferenceMap(TypeVarToTypeMap inferenceMap)
Copyright © 2022. All rights reserved.