public static enum BlockAlignmentProcessor.Result extends java.lang.Enum<BlockAlignmentProcessor.Result>
Enum Constant and Description |
---|
BACKWARD_BLOCK_ALIGNED
Already processed block was realigned because of
backward alignment . |
RECURSION_DETECTED
Detected that backward alignment dependency graph is cycled.
|
TARGET_BLOCK_ALIGNED
Alignment is performed for the target block.
|
TARGET_BLOCK_PROCESSED_NOT_ALIGNED
This value should be used to indicate that alignment of the target block can't be performed because it doesn't have
a counterparty (e.g.
|
UNABLE_TO_ALIGN_BACKWARD_BLOCK
It was necessary to align already processed block because of
backward alignment
but that can't be done (e.g. |
Modifier and Type | Method and Description |
---|---|
static BlockAlignmentProcessor.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockAlignmentProcessor.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockAlignmentProcessor.Result TARGET_BLOCK_PROCESSED_NOT_ALIGNED
public static final BlockAlignmentProcessor.Result TARGET_BLOCK_ALIGNED
public static final BlockAlignmentProcessor.Result BACKWARD_BLOCK_ALIGNED
backward alignment
.public static final BlockAlignmentProcessor.Result RECURSION_DETECTED
public static final BlockAlignmentProcessor.Result UNABLE_TO_ALIGN_BACKWARD_BLOCK
backward alignment
but that can't be done (e.g. that backward block white space
is read-only).public static BlockAlignmentProcessor.Result[] values()
for (BlockAlignmentProcessor.Result c : BlockAlignmentProcessor.Result.values()) System.out.println(c);
public static BlockAlignmentProcessor.Result 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 null