Package jakarta.el
Class MethodInfo
- java.lang.Object
- 
- jakarta.el.MethodInfo
 
- 
 public class MethodInfo extends Object Holds information about a method that aMethodExpressionevaluated to. Two MethodInfo instances are considered to be equal if they reference methods with the same name, return types and parameter types.- Since:
- Jakarta Server Pages 2.1
 
- 
- 
Constructor SummaryConstructors Constructor Description MethodInfo(String name, Class<?> returnType, Class<?>[] paramTypes)Creates a new instance ofMethodInfowith the given information.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetName()Returns the name of the methodClass<?>[]getParamTypes()Returns the parameter types of the methodClass<?>getReturnType()Returns the return type of the methodinthashCode()
 
- 
- 
- 
Method Detail- 
getNamepublic String getName() Returns the name of the method- Returns:
- the name of the method
 
 - 
getReturnTypepublic Class<?> getReturnType() Returns the return type of the method- Returns:
- the return type of the method
 
 - 
getParamTypespublic Class<?>[] getParamTypes() Returns the parameter types of the method- Returns:
- the parameter types of the method
 
 
- 
 
-