public class Opcodes
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
api
Either the api level for dalvik opcodes, or the art version for art opcodes
|
int |
artVersion |
| Modifier and Type | Method and Description |
|---|---|
static Opcodes |
forApi(int api) |
static Opcodes |
forArtVersion(int artVersion) |
static Opcodes |
forDexVersion(int dexVersion) |
static Opcodes |
getDefault() |
Opcode |
getOpcodeByName(java.lang.String opcodeName) |
Opcode |
getOpcodeByValue(int opcodeValue) |
java.lang.Short |
getOpcodeValue(Opcode opcode) |
boolean |
isArt() |
public final int api
public final int artVersion
@Nonnull public static Opcodes forApi(int api)
@Nonnull public static Opcodes forArtVersion(int artVersion)
@Nonnull public static Opcodes forDexVersion(int dexVersion)
@Nonnull public static Opcodes getDefault()
@Nullable public Opcode getOpcodeByName(@Nonnull java.lang.String opcodeName)
@Nullable public Opcode getOpcodeByValue(int opcodeValue)
@Nullable
public java.lang.Short getOpcodeValue(@Nonnull
Opcode opcode)
public boolean isArt()