|
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.FieldInfo
public final class FieldInfo
Represents a field that was annotated.
Thread-Safety
This class is immutable and can be shared between threads without safe publication.
Method Summary | |
---|---|
static FieldInfo |
create(ClassInfo clazz,
String name,
Type type,
short flags)
Construct a new mock Field instance. |
ClassInfo |
declaringClass()
Returns the class which declared the field |
short |
flags()
Returns the access fields of this field. |
String |
name()
Returns the local name of the field |
String |
toString()
|
Type |
type()
Returns the Java Type of this field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final FieldInfo create(ClassInfo clazz, String name, Type type, short flags)
clazz
- the class declaring the fieldname
- the name of the fieldtype
- the Java field typeflags
- the field attributes
public final String name()
public final ClassInfo declaringClass()
public final Type type()
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 |