Class Methods

java.lang.Object
jodd.introspector.Methods

public class Methods extends Object
Methods collection.
  • Field Details

  • Constructor Details

  • Method Details

    • inspectMethods

      protected HashMap<String,MethodDescriptor[]> inspectMethods()
      Inspects types methods and return map of method descriptors.
    • createMethodDescriptor

      protected MethodDescriptor createMethodDescriptor(Method method)
      Creates new MethodDescriptor.
    • getMethodDescriptor

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

      public MethodDescriptor getMethodDescriptor(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:
    • getAllMethodDescriptors

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

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