Class Methods


  • public class Methods
    extends java.lang.Object
    Methods collection.
    • Field Detail

      • methodsMap

        protected final java.util.HashMap<java.lang.String,​MethodDescriptor[]> methodsMap
    • Method Detail

      • createMethodDescriptor

        protected MethodDescriptor createMethodDescriptor​(java.lang.reflect.Method method)
        Creates new MethodDescriptor.
      • getMethodDescriptor

        public MethodDescriptor getMethodDescriptor​(java.lang.String name,
                                                    java.lang.Class[] paramTypes)
        Returns a method that matches given name and parameter types. Returns null if method is not found.
      • getMethodDescriptor

        public MethodDescriptor getMethodDescriptor​(java.lang.String name)
        Returns method descriptor for given name. If more then one methods with the same name exists, one method will be returned (not determined which one). Returns null if no method exist in this collection by given name.
        See Also:
        getMethodDescriptor(String, Class[])
      • getAllMethodDescriptors

        public MethodDescriptor[] getAllMethodDescriptors​(java.lang.String name)
        Returns all methods for given name. Returns null if method not found.
      • getAllMethodDescriptors

        public MethodDescriptor[] getAllMethodDescriptors()
        Returns all methods. Cached. Lazy.