Class DexIField

java.lang.Object
com.ibm.wala.dalvik.classLoader.DexIField
All Implemented Interfaces:
IField, IMember, IClassHierarchyDweller

public class DexIField extends Object implements IField
  • Constructor Details

    • DexIField

      public DexIField(org.jf.dexlib2.iface.Field encodedField, DexIClass klass)
  • Method Details

    • getFieldTypeReference

      public TypeReference getFieldTypeReference()
      Specified by:
      getFieldTypeReference in interface IField
      Returns:
      the canonical TypeReference of the declared type of the field
    • getReference

      public FieldReference getReference()
      Specified by:
      getReference in interface IField
      Returns:
      canonical FieldReference representing this field
    • getName

      public Atom getName()
      Specified by:
      getName in interface IMember
      Returns:
      the name of this member
    • isFinal

      public boolean isFinal()
      Description copied from interface: IField
      Is this field final?
      Specified by:
      isFinal in interface IField
    • isPrivate

      public boolean isPrivate()
      Specified by:
      isPrivate in interface IField
    • isProtected

      public boolean isProtected()
      Specified by:
      isProtected in interface IField
    • isPublic

      public boolean isPublic()
      Specified by:
      isPublic in interface IField
    • isStatic

      public boolean isStatic()
      Description copied from interface: IMember
      Is this member static?
      Specified by:
      isStatic in interface IField
      Specified by:
      isStatic in interface IMember
    • getDeclaringClass

      public IClass getDeclaringClass()
      Description copied from interface: IMember
      Return the object that represents the declaring class for this member.
      Specified by:
      getDeclaringClass in interface IMember
      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 interface IField
    • getClassHierarchy

      public IClassHierarchy getClassHierarchy()
      Specified by:
      getClassHierarchy in interface IClassHierarchyDweller
    • getAnnotations

      public Collection<Annotation> getAnnotations()
      Description copied from interface: IMember
      Get the annotations on this member, if any
      Specified by:
      getAnnotations in interface IMember