|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<InstructionCodec>
com.android.dx.io.instructions.InstructionCodec
public enum InstructionCodec
Representation of an instruction format, which knows how to decode into
and encode from instances of DecodedInstruction.
| Method Summary | |
|---|---|
abstract DecodedInstruction |
decode(int opcodeUnit,
CodeInput in)
Decodes an instruction specified by the given opcode unit, reading any required additional code units from the given input source. |
abstract void |
encode(DecodedInstruction insn,
CodeOutput out)
Encodes the given instruction. |
static InstructionCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static InstructionCodec[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final InstructionCodec FORMAT_00X
public static final InstructionCodec FORMAT_10X
public static final InstructionCodec FORMAT_12X
public static final InstructionCodec FORMAT_11N
public static final InstructionCodec FORMAT_11X
public static final InstructionCodec FORMAT_10T
public static final InstructionCodec FORMAT_20T
public static final InstructionCodec FORMAT_20BC
public static final InstructionCodec FORMAT_22X
public static final InstructionCodec FORMAT_21T
public static final InstructionCodec FORMAT_21S
public static final InstructionCodec FORMAT_21H
public static final InstructionCodec FORMAT_21C
public static final InstructionCodec FORMAT_23X
public static final InstructionCodec FORMAT_22B
public static final InstructionCodec FORMAT_22T
public static final InstructionCodec FORMAT_22S
public static final InstructionCodec FORMAT_22C
public static final InstructionCodec FORMAT_22CS
public static final InstructionCodec FORMAT_30T
public static final InstructionCodec FORMAT_32X
public static final InstructionCodec FORMAT_31I
public static final InstructionCodec FORMAT_31T
public static final InstructionCodec FORMAT_31C
public static final InstructionCodec FORMAT_35C
public static final InstructionCodec FORMAT_35MS
public static final InstructionCodec FORMAT_35MI
public static final InstructionCodec FORMAT_3RC
public static final InstructionCodec FORMAT_3RMS
public static final InstructionCodec FORMAT_3RMI
public static final InstructionCodec FORMAT_51L
public static final InstructionCodec FORMAT_33X
public static final InstructionCodec FORMAT_32S
public static final InstructionCodec FORMAT_40SC
public static final InstructionCodec FORMAT_41C
public static final InstructionCodec FORMAT_52C
public static final InstructionCodec FORMAT_5RC
public static final InstructionCodec FORMAT_PACKED_SWITCH_PAYLOAD
public static final InstructionCodec FORMAT_SPARSE_SWITCH_PAYLOAD
public static final InstructionCodec FORMAT_FILL_ARRAY_DATA_PAYLOAD
| Method Detail |
|---|
public static InstructionCodec[] values()
for (InstructionCodec c : InstructionCodec.values()) System.out.println(c);
public static InstructionCodec valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
public abstract DecodedInstruction decode(int opcodeUnit,
CodeInput in)
throws EOFException
EOFException
public abstract void encode(DecodedInstruction insn,
CodeOutput out)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||