public class MethodReference
extends java.lang.Object
Constructor and Description |
---|
MethodReference(java.lang.Object base,
MethodInfo methodInfo,
java.lang.annotation.Annotation[] annotations,
java.lang.Object[] evaluatedParameters) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.annotation.Annotation[] |
getAnnotations()
Obtain the annotations on the method to which the associated expression
resolves.
|
java.lang.Object |
getBase()
Obtain the base object on which the method will be invoked.
|
java.lang.Object[] |
getEvaluatedParameters()
Obtain the evaluated parameter values that will be passed to the method
to which the associated expression resolves.
|
MethodInfo |
getMethodInfo()
|
int |
hashCode() |
public MethodReference(java.lang.Object base, MethodInfo methodInfo, java.lang.annotation.Annotation[] annotations, java.lang.Object[] evaluatedParameters)
public java.lang.Object getBase()
null
for literal method expressions.public MethodInfo getMethodInfo()
MethodInfo
for the MethodExpression
for which
this MethodReference
has been generated.public java.lang.annotation.Annotation[] getAnnotations()
public java.lang.Object[] getEvaluatedParameters()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object