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()
IMember
getAnnotations
in interface IMember
public IClass getDeclaringClass()
IMember
getDeclaringClass
in interface IMember
public Atom getName()
public TypeReference getFieldTypeReference()
getFieldTypeReference
in interface IField
public FieldReference getReference()
getReference
in interface IField
public boolean isStatic()
IMember
public boolean isFinal()
IField
public boolean isProtected()
isProtected
in interface IField
public boolean isVolatile()
IField
isVolatile
in interface IField
public IClassHierarchy getClassHierarchy()
getClassHierarchy
in interface IClassHierarchyDweller