Interface DexFile

All Known Implementing Classes:
CDexBackedDexFile, DexBackedDexFile, DexBackedOdexFile, DexFileRewriter.RewrittenDexFile, ImmutableDexFile, OatFile.OatCDexFile, OatFile.OatDexFile

public interface DexFile
This class is a high level representation of a dex file - essentially a set of class definitions.
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<? extends ClassDef>
    Get a set of the classes defined in this dex file.
    Get the Opcodes associated with this dex file
  • Method Details

    • getClasses

      @Nonnull Set<? extends ClassDef> getClasses()
      Get a set of the classes defined in this dex file. The classes in the returned set will all have unique types.
      Returns:
      A set of the classes defined in this dex file
    • getOpcodes

      @Nonnull Opcodes getOpcodes()
      Get the Opcodes associated with this dex file
      Returns:
      The Opcodes instance representing the possible opcodes that can be encountered in this dex file