Class MethodScore

  • All Implemented Interfaces:
    java.lang.Comparable<MethodScore>

    public final class MethodScore
    extends java.lang.Object
    implements java.lang.Comparable<MethodScore>
    • Method Detail

      • isValid

        public boolean isValid()
        Returns:
        true if this score represents an actual matching method score rather than just a placeholder indicating that no method matched
      • getScore

        public double getScore()
      • setScore

        public void setScore​(double score)
      • incScore

        public void incScore​(double amount)
      • setValid

        public void setValid​(boolean valid)
      • setRawFunctionType

        public void setRawFunctionType​(IInvocableType funcType)
      • getInferredFunctionType

        public IInvocableType getInferredFunctionType()
      • setInferredFunctionType

        public void setInferredFunctionType​(IInvocableType funcType)
      • getReceiverType

        public IType getReceiverType()
      • compareTo

        public int compareTo​(MethodScore o)
        Specified by:
        compareTo in interface java.lang.Comparable<MethodScore>
      • getArguments

        public java.util.List<IExpression> getArguments()
      • setArguments

        public void setArguments​(java.util.List<IExpression> argExpressions)
      • getParserStates

        public java.util.List getParserStates()
      • setParserStates

        public void setParserStates​(java.util.List parserStates)
      • matchesArgSize

        public boolean matchesArgSize()
      • getNamedArgOrder

        public int[] getNamedArgOrder()
      • setNamedArgOrder

        public void setNamedArgOrder​(java.util.List<java.lang.Integer> namedArgOrder)
      • setInferenceMap

        public void setInferenceMap​(TypeVarToTypeMap inferenceMap)