public class MethodInfo
extends java.lang.Object
MethodExpression
evaluated to.Constructor | 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 | 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
|
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()