Package org.jf.dexlib2.iface
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
All Methods Instance Methods Abstract 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
-
-
-
Method Detail
-
getClasses
@Nonnull java.util.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
-
-