java.lang.Object
jakarta.el.MethodReference
Provides information about the method to which a method expression resolves.
 
 Two MethodReference instances are considered equal if the reference the same
 method on the same base object.
- 
Constructor Summary
ConstructorsConstructorDescriptionMethodReference(Object base, MethodInfo methodInfo, Annotation[] annotations, Object[] evaluatedParameters)  - 
Method Summary
Modifier 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
- 
MethodReference
public MethodReference(Object base, MethodInfo methodInfo, Annotation[] annotations, Object[] evaluatedParameters)  
 - 
 - 
Method Details
- 
getBase
Obtain 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. 
 - 
getAnnotations
Obtain 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.
 
 - 
getEvaluatedParameters
Obtain the evaluated parameter values that will be passed to the method to which the associated expression resolves.- Returns:
 - The evaluated parameters.
 
 - 
hashCode
 - 
equals
 
 -