Package com.ibm.wala.cast.loader
Class AstDynamicField
- java.lang.Object
-
- com.ibm.wala.cast.loader.AstDynamicField
-
- All Implemented Interfaces:
IField
,IMember
,IClassHierarchyDweller
public class AstDynamicField extends Object implements IField
-
-
Constructor Summary
Constructors Constructor Description AstDynamicField(boolean isStatic, IClass cls, Atom name, TypeReference descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Annotation>
getAnnotations()
Get the annotations on this member, if anyIClassHierarchy
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()
-
-
-
Constructor Detail
-
AstDynamicField
public AstDynamicField(boolean isStatic, IClass cls, Atom name, TypeReference descriptor)
-
-
Method Detail
-
getDeclaringClass
public IClass getDeclaringClass()
Description copied from interface:IMember
Return the object that represents the declaring class for this member.- Specified by:
getDeclaringClass
in interfaceIMember
- Returns:
- the object that represents the declaring class for this member.
-
getName
public Atom getName()
-
getFieldTypeReference
public TypeReference getFieldTypeReference()
- Specified by:
getFieldTypeReference
in interfaceIField
- Returns:
- the canonical TypeReference of the declared type of the field
-
getReference
public FieldReference getReference()
- Specified by:
getReference
in interfaceIField
- Returns:
- canonical FieldReference representing this field
-
isFinal
public boolean isFinal()
Description copied from interface:IField
Is this field final?
-
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interfaceIField
-
isVolatile
public boolean isVolatile()
Description copied from interface:IField
Is this member volatile?- Specified by:
isVolatile
in interfaceIField
-
isStatic
public boolean isStatic()
Description copied from interface:IMember
Is this member static?
-
getClassHierarchy
public IClassHierarchy getClassHierarchy()
- Specified by:
getClassHierarchy
in interfaceIClassHierarchyDweller
-
getAnnotations
public Collection<Annotation> getAnnotations()
Description copied from interface:IMember
Get the annotations on this member, if any- Specified by:
getAnnotations
in interfaceIMember
-
-