Package jakarta.el
Class MethodReference
java.lang.Object
jakarta.el.MethodReference
Provides information about the method to which a method expression resolves.
- Since:
- EL 5.0
- 
Constructor SummaryConstructorsConstructorDescriptionMethodReference(Object base, MethodInfo methodInfo, Annotation[] annotations, Object[] evaluatedParameters) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanObtain the annotations on the method to which the associated expression resolves.getBase()Obtain the base object on which the method will be invoked.Object[]Obtain the evaluated parameter values that will be passed to the method to which the associated expression resolves.inthashCode()
- 
Constructor Details- 
MethodReferencepublic MethodReference(Object base, MethodInfo methodInfo, Annotation[] annotations, Object[] evaluatedParameters) 
 
- 
- 
Method Details- 
getBaseObtain the base object on which the method will be invoked.- Returns:
- The base object on which the method will be invoked or nullfor literal method expressions.
 
- 
getMethodInfo- Returns:
- The MethodInfofor theMethodExpressionfor which thisMethodReferencehas been generated.
 
- 
getAnnotationsObtain the annotations on the method to which the associated expression resolves.- Returns:
- The annotations on the method to which the associated expression resolves. If the are no annotations, then an empty array is returned.
 
- 
getEvaluatedParametersObtain the evaluated parameter values that will be passed to the method to which the associated expression resolves.- Returns:
- The evaluated parameters.
 
- 
hashCodepublic int hashCode()
- 
equals
 
-