public enum InstructionCodec extends java.lang.Enum<InstructionCodec>
DecodedInstruction.| Modifier and Type | Method and Description |
|---|---|
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(java.lang.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.
|
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_45CC
public static final InstructionCodec FORMAT_4RCC
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
public static InstructionCodec[] values()
for (InstructionCodec c : InstructionCodec.values()) System.out.println(c);
public static InstructionCodec valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract DecodedInstruction decode(int opcodeUnit, CodeInput in) throws java.io.EOFException
java.io.EOFExceptionpublic abstract void encode(DecodedInstruction insn, CodeOutput out)
Copyright © 2020. All Rights Reserved.