public class MethodDescriptor extends Descriptor
| Modifier and Type | Field and Description | 
|---|---|
protected MapperFunction | 
mapperFunction  | 
protected java.lang.reflect.Method | 
method  | 
protected MethodParamDescriptor[] | 
parameters  | 
protected java.lang.Class | 
rawReturnComponentType  | 
protected java.lang.Class | 
rawReturnKeyComponentType  | 
protected java.lang.Class | 
rawReturnType  | 
protected java.lang.reflect.Type | 
returnType  | 
classDescriptor, isPublic| Constructor and Description | 
|---|
MethodDescriptor(ClassDescriptor classDescriptor,
                java.lang.reflect.Method method)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.reflect.Method | 
getMethod()
Returns method. 
 | 
java.lang.String | 
getName()
Returns method name. 
 | 
int | 
getParameterCount()
Returns number of parameters. 
 | 
MethodParamDescriptor[] | 
getParameters()
Returns  
method parameteres. | 
java.lang.Class | 
getRawReturnComponentType()
Returns raw component type of return type. 
 | 
java.lang.Class | 
getRawReturnKeyComponentType()
Returns raw component type of return type. 
 | 
java.lang.Class | 
getRawReturnType()
Returns raw return type. 
 | 
java.lang.Class[] | 
resolveRawReturnComponentTypes()
Resolves raw return component types
 This value is NOT cached. 
 | 
java.lang.String | 
toString()  | 
getClassDescriptor, isPublic, matchDeclaredprotected final java.lang.reflect.Method method
protected final java.lang.reflect.Type returnType
protected final java.lang.Class rawReturnType
protected final java.lang.Class rawReturnComponentType
protected final java.lang.Class rawReturnKeyComponentType
protected final MethodParamDescriptor[] parameters
protected final MapperFunction mapperFunction
public MethodDescriptor(ClassDescriptor classDescriptor, java.lang.reflect.Method method)
public java.lang.String getName()
getName in class Descriptorpublic java.lang.reflect.Method getMethod()
public java.lang.Class getRawReturnType()
public java.lang.Class getRawReturnComponentType()
null if return type does not have
 components.public java.lang.Class getRawReturnKeyComponentType()
null if return type does not have
 components.public java.lang.Class[] resolveRawReturnComponentTypes()
public MethodParamDescriptor[] getParameters()
method parameteres.public int getParameterCount()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2003-present Jodd Team