Package javax.el
Class MethodInfo
- java.lang.Object
-
- javax.el.MethodInfo
-
public class MethodInfo extends Object
Holds information about a method that aMethodExpressionevaluated to.- Since:
- JSP 2.1
-
-
Constructor Summary
Constructors Constructor Description MethodInfo(String name, Class<?> returnType, Class<?>[] paramTypes)Creates a new instance ofMethodInfowith the given information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the name of the methodClass<?>[]getParamTypes()Returns the parameter types of the methodClass<?>getReturnType()Returns the return type of the method
-
-
-
Method Detail
-
getName
public String getName()
Returns the name of the method- Returns:
- the name of the method
-
getReturnType
public Class<?> getReturnType()
Returns the return type of the method- Returns:
- the return type of the method
-
getParamTypes
public Class<?>[] getParamTypes()
Returns the parameter types of the method- Returns:
- the parameter types of the method
-
-