|
Java Annotation Indexer 1.0.0.Final | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jandex.MethodParameterInfo
public final class MethodParameterInfo
Represents an individual Java method parameter that was annotated.
Thread-Safety
This class is immutable and can be shared between threads without safe publication.
Method Summary | |
---|---|
static MethodParameterInfo |
create(MethodInfo method,
short parameter)
Constructs a new mock method parameter info |
MethodInfo |
method()
Returns the method this parameter belongs to. |
short |
position()
Returns the 0 based position of this parameter. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final MethodParameterInfo create(MethodInfo method, short parameter)
method
- the method containing this parameter.parameter
- the zero based index of this parameter
public final MethodInfo method()
public final short position()
public String toString()
toString
in class Object
|
Java Annotation Indexer 1.0.0.Final | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |