public static class AttributeIndex.MethodParameter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
index |
private java.lang.reflect.Method |
method |
| Constructor and Description |
|---|
AttributeIndex.MethodParameter(java.lang.reflect.Method method,
int index)
Constructs a new MethodParameter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compares two
MethodParameters for equality. |
int |
getIndex()
Get the index of this parameter in the parameter list of the method.
|
java.lang.reflect.Method |
getMethod()
Get the method this parameter is defined in.
|
int |
hashCode()
Computes the hashCode.
|
java.lang.String |
toString()
Converts this method parameter into a human-readable string.
|
public AttributeIndex.MethodParameter(java.lang.reflect.Method method,
int index)
public java.lang.reflect.Method getMethod()
public int getIndex()
public boolean equals(java.lang.Object o)
MethodParameters for equality.
They must point to the same method and have the same index.equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object