|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.attributes.AttributeIndex.ConstructorParameter
public static class AttributeIndex.ConstructorParameter
A constructor 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.
Field Summary | |
---|---|
private java.lang.reflect.Constructor |
ctor
|
private int |
index
|
Constructor Summary | |
---|---|
AttributeIndex.ConstructorParameter(java.lang.reflect.Constructor ctor,
int index)
Constructs a new ConstructorParameter. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compares two ConstructorParameter s for equality. |
java.lang.reflect.Constructor |
getConstructor()
Get the constructor this parameter is defined in. |
int |
getIndex()
Get the index of this parameter in the parameter list of the constructor. |
int |
hashCode()
Computes the hashCode. |
java.lang.String |
toString()
Converts this constructor parameter into a human-readable string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final java.lang.reflect.Constructor ctor
private final int index
Constructor Detail |
---|
public AttributeIndex.ConstructorParameter(java.lang.reflect.Constructor ctor, int index)
Method Detail |
---|
public java.lang.reflect.Constructor getConstructor()
public int getIndex()
public boolean equals(java.lang.Object o)
ConstructorParameter
s for equality.
They must point to the same constructor and have the same index.
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |