Class DexFileRewriter.RewrittenDexFile

java.lang.Object
org.jf.dexlib2.rewriter.DexFileRewriter.RewrittenDexFile
All Implemented Interfaces:
DexFile
Enclosing class:
DexFileRewriter

protected class DexFileRewriter.RewrittenDexFile extends Object implements DexFile
  • Field Details

    • dexFile

      @Nonnull protected final DexFile dexFile
  • Constructor Details

    • RewrittenDexFile

      public RewrittenDexFile(@Nonnull DexFile dexFile)
  • Method Details

    • getClasses

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

      @Nonnull public Opcodes getOpcodes()
      Description copied from interface: DexFile
      Get the Opcodes associated with this dex file
      Specified by:
      getOpcodes in interface DexFile
      Returns:
      The Opcodes instance representing the possible opcodes that can be encountered in this dex file