Package javax.el
Class MethodInfo
java.lang.Object
javax.el.MethodInfo
Holds information about a method that a
MethodExpression
evaluated to.- Since:
- JSP 2.1
-
Constructor Summary
ConstructorDescriptionMethodInfo
(String name, Class<?> returnType, Class<?>[] paramTypes) Creates a new instance ofMethodInfo
with the given information. -
Method Summary
-
Constructor Details
-
MethodInfo
Creates a new instance ofMethodInfo
with the given information.- Parameters:
name
- The name of the methodreturnType
- The return type of the methodparamTypes
- The types of each of the method's parameters
-
-
Method Details
-
getName
Returns the name of the method- Returns:
- the name of the method
-
getReturnType
Returns the return type of the method- Returns:
- the return type of the method
-
getParamTypes
Returns the parameter types of the method- Returns:
- the parameter types of the method
-