Class MethodInfoBase

    • Field Detail

      • rtype

        protected Type rtype
      • exceptions

        protected java.util.List<Type> exceptions
      • arguments

        protected java.util.List<Variable> arguments
      • isConstructor

        protected boolean isConstructor
      • sigIsCached

        private boolean sigIsCached
      • hashValue

        private int hashValue
      • hashIsCached

        private boolean hashIsCached
    • Constructor Detail

      • MethodInfoBase

        protected MethodInfoBase​(ClassInfo cinfo,
                                 int modifiers)
      • MethodInfoBase

        protected MethodInfoBase​(ClassInfo cinfo,
                                 int modifiers,
                                 Type rtype,
                                 java.lang.String name)
    • Method Detail

      • isConstructor

        public boolean isConstructor()
        Description copied from interface: MethodInfo
        Returns true if this is a constructor, false if method.
        Specified by:
        isConstructor in interface MethodInfo
      • returnType

        public Type returnType()
        Description copied from interface: MethodInfo
        Return the Type that is returned by this method.
        Specified by:
        returnType in interface MethodInfo
      • exceptions

        public java.util.List<Type> exceptions()
        Description copied from interface: MethodInfo
        Return a list of all Exception types that are declared as being throwable from this method.
        Specified by:
        exceptions in interface MethodInfo
      • arguments

        public java.util.List<Variable> arguments()
        Description copied from interface: MethodInfo
        Return a list of arguments for this method.
        Specified by:
        arguments in interface MethodInfo
      • getMethod

        public java.lang.reflect.Method getMethod()
        Description copied from interface: MethodInfo
        Return the Method that is represented by this MethodInfo, or null if no such Method instance exists (because this MethodInfo represents a Method being generated, rather than a Method in a Class that is loaded into the VM).
        Specified by:
        getMethod in interface MethodInfo
      • getConstructor

        public java.lang.reflect.Constructor getConstructor()
        Description copied from interface: MethodInfo
        Return the Constructor that is represented by this MethodInfo, or null if no such Constructor instance exists (because this MethodInfo represents a Constructor being generated, rather than a Constructor in a Class that is loaded into the VM).
        Specified by:
        getConstructor in interface MethodInfo
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class MemberInfoBase
      • clearHashCode

        public void clearHashCode()