public static enum InstructionPrinter.InstructionLineColumn extends Enum<InstructionPrinter.InstructionLineColumn>
Enum Constant and Description |
---|
BCI
The instruction's bytecode index.
|
END |
INSTRUCTION
The instruction formatted as an expression or statement.
|
USE
The instruction's use count.
|
VALUE
The instruction as a value.
|
Modifier and Type | Field and Description |
---|---|
(package private) String |
label |
(package private) int |
position |
Modifier and Type | Method and Description |
---|---|
void |
advance(LogStream out)
Prints space characters to a given stream until its position is equal to this column's position.
|
void |
printLabel(LogStream out)
Prints this column's label to a given stream after padding the stream with '_' characters
until its position is equal to this column's position.
|
static InstructionPrinter.InstructionLineColumn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstructionPrinter.InstructionLineColumn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstructionPrinter.InstructionLineColumn BCI
public static final InstructionPrinter.InstructionLineColumn USE
public static final InstructionPrinter.InstructionLineColumn VALUE
public static final InstructionPrinter.InstructionLineColumn INSTRUCTION
public static final InstructionPrinter.InstructionLineColumn END
public static InstructionPrinter.InstructionLineColumn[] values()
for (InstructionPrinter.InstructionLineColumn c : InstructionPrinter.InstructionLineColumn.values()) System.out.println(c);
public static InstructionPrinter.InstructionLineColumn valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void printLabel(LogStream out)
out
- the print stream