public static enum ClassGenerator.BlkCreateMode extends Enum<ClassGenerator.BlkCreateMode>
| Enum Constant and Description |
|---|
FALSE
Do not create block; put into existing block.
|
TRUE
Create new block
|
TRUE_IF_BOUND
Create new block only if # of expressions added hit upper-bound
(
ExecConstants.CODE_GEN_EXP_IN_METHOD_SIZE). |
| Modifier and Type | Method and Description |
|---|---|
static ClassGenerator.BlkCreateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassGenerator.BlkCreateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassGenerator.BlkCreateMode TRUE
public static final ClassGenerator.BlkCreateMode FALSE
public static final ClassGenerator.BlkCreateMode TRUE_IF_BOUND
ExecConstants.CODE_GEN_EXP_IN_METHOD_SIZE).public static ClassGenerator.BlkCreateMode[] values()
for (ClassGenerator.BlkCreateMode c : ClassGenerator.BlkCreateMode.values()) System.out.println(c);
public static ClassGenerator.BlkCreateMode 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 nullCopyright © 2022 The Apache Software Foundation. All rights reserved.