| Modifier and Type | Field and Description |
|---|---|
| private final Annotation[] | |
| private final Object | |
| private final Object[] | |
| private final MethodInfo |
| Access | Constructor and Description |
|---|---|
| public | MethodReference(Object base, MethodInfo methodInfo, Annotation[] annotations, Object[] evaluatedParameters)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public Annotation[] | Returns: The annotations on the method to which the associated expression resolves. If the are no annotations, then an empty array is returned.Obtain the annotations on the method to which the associated expression resolves. |
| public Object | Returns: The base object on which the method will be invoked ornull for literal method expressions.Obtain the base object on which the method will be invoked. |
| public Object[] | Returns: The evaluated parameters.Obtain the evaluated parameter values that will be passed to the method to which the associated expression resolves. |
| public MethodInfo | getMethodInfo()
Obtain the |
| public int |
| annotations | back to summary |
|---|---|
| private final Annotation[] annotations | |
| base | back to summary |
|---|---|
| private final Object base | |
| evaluatedParameters | back to summary |
|---|---|
| private final Object[] evaluatedParameters | |
| methodInfo | back to summary |
|---|---|
| private final MethodInfo methodInfo | |
| MethodReference | back to summary |
|---|---|
| public MethodReference(Object base, MethodInfo methodInfo, Annotation[] annotations, Object[] evaluatedParameters) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAnnotations | back to summary |
|---|---|
| public Annotation[] getAnnotations() Obtain the annotations on the method to which the associated expression resolves.
| |
| getBase | back to summary |
|---|---|
| public Object getBase() Obtain the base object on which the method will be invoked.
| |
| getEvaluatedParameters | back to summary |
|---|---|
| public Object[] getEvaluatedParameters() Obtain the evaluated parameter values that will be passed to the method to which the associated expression resolves.
| |
| getMethodInfo | back to summary |
|---|---|
| public MethodInfo getMethodInfo() Obtain the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |