Package com.ibm.wala.dalvik.classLoader
Class DexIField
- java.lang.Object
-
- com.ibm.wala.dalvik.classLoader.DexIField
-
- All Implemented Interfaces:
IField,IMember,IClassHierarchyDweller
public class DexIField extends Object implements IField
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Annotation>getAnnotations()Get the annotations on this member, if anyIClassHierarchygetClassHierarchy()IClassgetDeclaringClass()Return the object that represents the declaring class for this member.TypeReferencegetFieldTypeReference()AtomgetName()FieldReferencegetReference()booleanisFinal()Is this field final?booleanisPrivate()booleanisProtected()booleanisPublic()booleanisStatic()Is this member static?booleanisVolatile()Is this member volatile?
-
-
-
Constructor Detail
-
DexIField
public DexIField(org.jf.dexlib.ClassDataItem.EncodedField encodedField, DexIClass klass)
-
-
Method Detail
-
getFieldTypeReference
public TypeReference getFieldTypeReference()
- Specified by:
getFieldTypeReferencein interfaceIField- Returns:
- the canonical TypeReference of the declared type of the field
-
getReference
public FieldReference getReference()
- Specified by:
getReferencein interfaceIField- Returns:
- canonical FieldReference representing this field
-
getName
public Atom getName()
-
isFinal
public boolean isFinal()
Description copied from interface:IFieldIs this field final?
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceIField
-
isStatic
public boolean isStatic()
Description copied from interface:IMemberIs this member static?
-
getDeclaringClass
public IClass getDeclaringClass()
Description copied from interface:IMemberReturn the object that represents the declaring class for this member.- Specified by:
getDeclaringClassin interfaceIMember- Returns:
- the object that represents the declaring class for this member.
-
isVolatile
public boolean isVolatile()
Description copied from interface:IFieldIs this member volatile?- Specified by:
isVolatilein interfaceIField
-
getClassHierarchy
public IClassHierarchy getClassHierarchy()
- Specified by:
getClassHierarchyin interfaceIClassHierarchyDweller
-
getAnnotations
public Collection<Annotation> getAnnotations()
Description copied from interface:IMemberGet the annotations on this member, if any- Specified by:
getAnnotationsin interfaceIMember
-
-