Class Methods
java.lang.Object
jodd.introspector.Methods
Methods collection.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MethodDescriptor[]protected final ClassDescriptorprotected final HashMap<String, MethodDescriptor[]> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodDescriptorcreateMethodDescriptor(Method method) Creates newMethodDescriptor.Returns all methods.Returns all methods for given name.getMethodDescriptor(String name) Returns method descriptor for given name.getMethodDescriptor(String name, Class[] paramTypes) Returns a method that matches given name and parameter types.protected HashMap<String, MethodDescriptor[]> Inspects types methods and return map ofmethod descriptors.
-
Field Details
-
classDescriptor
-
methodsMap
-
allMethods
-
-
Constructor Details
-
Methods
-
-
Method Details
-
inspectMethods
Inspects types methods and return map ofmethod descriptors. -
createMethodDescriptor
Creates newMethodDescriptor. -
getMethodDescriptor
Returns a method that matches given name and parameter types. Returnsnullif method is not found. -
getMethodDescriptor
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). Returnsnullif no method exist in this collection by given name.- See Also:
-
getAllMethodDescriptors
Returns all methods for given name. Returnsnullif method not found. -
getAllMethodDescriptors
Returns all methods. Cached. Lazy.
-