Package manifold.util

Class MethodScore

    • Constructor Detail

      • MethodScore

        public MethodScore​(Class receiverType)
    • Method Detail

      • 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

        public Method getMethod()
      • setMethod

        public void setMethod​(Method method)
      • getReceiverType

        public Class getReceiverType()
      • getParameterTypes

        public List<Class> getParameterTypes()
      • setParameterTypes

        public void setParameterTypes​(List<Class> paramTypes)
      • matchesArgSize

        public boolean matchesArgSize()