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 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?
-
-
-
Constructor Detail
-
DexIField
public DexIField(org.jf.dexlib.ClassDataItem.EncodedField encodedField, DexIClass klass)
-
-
Method Detail
-
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
-
getName
public Atom getName()
-
isFinal
public boolean isFinal()
Description copied from interface:IField
Is this field final?
-
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interfaceIField
-
isStatic
public boolean isStatic()
Description copied from interface:IMember
Is this member static?
-
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.
-
isVolatile
public boolean isVolatile()
Description copied from interface:IField
Is this member volatile?- Specified by:
isVolatile
in interfaceIField
-
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
-
-