org.apache.commons.attributes
public static class AttributeIndex.ConstructorParameter extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Constructor |
ctor |
private int |
index |
Constructor and Description |
---|
AttributeIndex.ConstructorParameter(java.lang.reflect.Constructor ctor,
int index)
Constructs a new ConstructorParameter.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public AttributeIndex.ConstructorParameter(java.lang.reflect.Constructor ctor, int index)
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