public class AstField extends Object implements IField
| Constructor and Description |
|---|
AstField(FieldReference ref,
Collection qualifiers,
IClass declaringClass,
IClassHierarchy cha,
Collection<Annotation> annotations) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Annotation> |
getAnnotations()
Get the annotations on this member, if any
|
IClassHierarchy |
getClassHierarchy() |
IClass |
getDeclaringClass()
Return the object that represents the declaring class
for this member.
|
TypeReference |
getFieldTypeReference() |
Atom |
getName() |
FieldReference |
getReference() |
boolean |
isFinal()
Is this field final?
|
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic()
Is this member static?
|
boolean |
isVolatile()
Is this member volatile?
|
String |
toString() |
public AstField(FieldReference ref, Collection qualifiers, IClass declaringClass, IClassHierarchy cha, Collection<Annotation> annotations)
public Collection<Annotation> getAnnotations()
IMembergetAnnotations in interface IMemberpublic IClass getDeclaringClass()
IMembergetDeclaringClass in interface IMemberpublic Atom getName()
public TypeReference getFieldTypeReference()
getFieldTypeReference in interface IFieldpublic FieldReference getReference()
getReference in interface IFieldpublic boolean isStatic()
IMemberpublic boolean isFinal()
IFieldpublic boolean isProtected()
isProtected in interface IFieldpublic boolean isVolatile()
IFieldisVolatile in interface IFieldpublic IClassHierarchy getClassHierarchy()
getClassHierarchy in interface IClassHierarchyDweller