Package org.jf.dexlib2.rewriter
Class DexFileRewriter.RewrittenDexFile
- java.lang.Object
-
- org.jf.dexlib2.rewriter.DexFileRewriter.RewrittenDexFile
-
- All Implemented Interfaces:
DexFile
- Enclosing class:
- DexFileRewriter
protected class DexFileRewriter.RewrittenDexFile extends java.lang.Object implements DexFile
-
-
Constructor Summary
Constructors Constructor Description RewrittenDexFile(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
-
-
-
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 interfaceDexFile
- 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 interfaceDexFile
- Returns:
- The Opcodes instance representing the possible opcodes that can be encountered in this dex file
-
-