public class MethodInfo
extends java.lang.Object
MethodExpression
evaluated to.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name |
private java.lang.Class<?>[] |
paramTypes |
private java.lang.Class<?> |
returnType |
| Constructor and Description |
|---|
MethodInfo(java.lang.String name,
java.lang.Class<?> returnType,
java.lang.Class<?>[] paramTypes)
Creates a new instance of
MethodInfo with the given
information. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the method
|
java.lang.Class<?>[] |
getParamTypes()
Returns the parameter types of the method
|
java.lang.Class<?> |
getReturnType()
Returns the return type of the method
|
private java.lang.String name
private java.lang.Class<?> returnType
private java.lang.Class<?>[] paramTypes
public MethodInfo(java.lang.String name,
java.lang.Class<?> returnType,
java.lang.Class<?>[] paramTypes)
MethodInfo with the given
information.name - The name of the methodreturnType - The return type of the methodparamTypes - The types of each of the method's parameterspublic java.lang.String getName()
public java.lang.Class<?> getReturnType()
public java.lang.Class<?>[] getParamTypes()