|
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.MethodInfo
public final class MethodInfo
Represents a Java method that was annotated.
Thread-Safety
This class is immutable and can be shared between threads without safe publication.
Method Summary | |
---|---|
Type[] |
args()
Returns an array containing parameter types in parameter order. |
static MethodInfo |
create(ClassInfo clazz,
String name,
Type[] args,
Type returnType,
short flags)
Construct a new mock Method instance. |
ClassInfo |
declaringClass()
Returns the class that declared this method |
short |
flags()
Returns the access fields of this method. |
String |
name()
Returns the name of this method |
Type |
returnType()
Returns this method's return parameter type. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final MethodInfo create(ClassInfo clazz, String name, Type[] args, Type returnType, short flags)
clazz
- the class declaring the fieldname
- the name of the fieldargs
- a read only array containing the types of each parameter in parameter orderreturnType
- the return value typeflags
- the method attributes
public final String name()
public final ClassInfo declaringClass()
public final Type[] args()
public final Type returnType()
public final short flags()
Modifier
can be used on this value.
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 |