Class DexFileRewriter.RewrittenDexFile

  • All Implemented Interfaces:
    DexFile
    Enclosing class:
    DexFileRewriter

    protected class DexFileRewriter.RewrittenDexFile
    extends java.lang.Object
    implements DexFile
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected DexFile dexFile  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<? extends ClassDef> getClasses()
      Get a set of the classes defined in this dex file.
      Opcodes getOpcodes()
      Get the Opcodes associated with this dex file
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dexFile

        @Nonnull
        protected final DexFile dexFile
    • Constructor Detail

      • RewrittenDexFile

        public RewrittenDexFile​(@Nonnull
                                DexFile dexFile)
    • Method Detail

      • getClasses

        @Nonnull
        public java.util.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