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