Class DexIClass

java.lang.Object
com.ibm.wala.classLoader.BytecodeClass<IClassLoader>
com.ibm.wala.dalvik.classLoader.DexIClass
All Implemented Interfaces:
IClass, IClassHierarchyDweller

public class DexIClass extends BytecodeClass<IClassLoader>
  • Constructor Details

  • Method Details

    • getClassDefItem

      public org.jf.dexlib2.iface.ClassDef getClassDefItem()
      Returns:
      The classDef Item associated with this class.
    • isPublic

      public boolean isPublic()
      Returns:
      true iff this class is public
    • isPrivate

      public boolean isPrivate()
      Returns:
      true iff this class is private
    • isInterface

      public boolean isInterface()
      Description copied from interface: IClass
      Is this class a Java interface?
    • isAbstract

      public boolean isAbstract()
      Returns:
      true iff this class is abstract
      See Also:
    • isSynthetic

      public boolean isSynthetic()
      Returns:
      true iff this class is synthetic, i.e., compiler-generated
      See Also:
    • getModifiers

      public int getModifiers() throws UnsupportedOperationException
      Description copied from interface: IClass
      Return the integer that encodes the class's modifiers, as defined by the JVM specification
      Returns:
      the integer that encodes the class's modifiers, as defined by the JVM specification
      Throws:
      UnsupportedOperationException
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      See Also:
    • getAnnotations

      public Collection<Annotation> getAnnotations()
      Description copied from interface: IClass
      get annotations, if any
    • getAnnotations

      public Collection<Annotation> getAnnotations(boolean runtimeInvisible)
      Specified by:
      getAnnotations in class BytecodeClass<IClassLoader>
    • computeDeclaredMethods

      protected IMethod[] computeDeclaredMethods()
      Specified by:
      computeDeclaredMethods in class BytecodeClass<IClassLoader>
    • getClassInitializer

      public IMethod getClassInitializer()
      Returns:
      the method that is this class's initializer, or null if none
    • getContainer

      public DexFileModule getContainer()
      Specified by:
      getContainer in class BytecodeClass<IClassLoader>