|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.attributes.AttributeIndex.MethodParameter
Reference to a method parameter. A method parameter is defined by the Method object it is defined in, and the index of the parameter in the method's parameter list.
Constructor Summary | |
AttributeIndex.MethodParameter(Method method,
int index)
Constructs a new MethodParameter. |
Method Summary | |
boolean |
equals(Object o)
Compares two MethodParameter s for equality. |
int |
getIndex()
Get the index of this parameter in the parameter list of the method. |
Method |
getMethod()
Get the method this parameter is defined in. |
int |
hashCode()
Computes the hashCode. |
String |
toString()
Converts this method parameter into a human-readable string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AttributeIndex.MethodParameter(Method method, int index)
Method Detail |
public Method getMethod()
public int getIndex()
public boolean equals(Object o)
MethodParameter
s for equality.
They must point to the same method and have the same index.
public int hashCode()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |