public static enum Block.BlockType extends Enum<Block.BlockType>
Enum Constant and Description |
---|
CONDITIONAL_BLOCK
A conditional basic block.
|
EXCEPTION_BLOCK
A basic block that can throw an exception.
|
REGULAR_BLOCK
A regular basic block.
|
SPECIAL_BLOCK
A special basic block.
|
Modifier and Type | Method and Description |
---|---|
static Block.BlockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Block.BlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Block.BlockType REGULAR_BLOCK
public static final Block.BlockType CONDITIONAL_BLOCK
public static final Block.BlockType SPECIAL_BLOCK
public static final Block.BlockType EXCEPTION_BLOCK
public static Block.BlockType[] values()
for (Block.BlockType c : Block.BlockType.values()) System.out.println(c);
public static Block.BlockType 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 null