public static enum InternalFlags.BytecodeGenOption extends java.lang.Enum<InternalFlags.BytecodeGenOption>
Bytecode generation is generally faster than using reflection when invoking application
code, however, it can use more memory and slower in certain cases due to the time spent in
generating the classes. If you prefer to use reflection over bytecode generation then set
InternalFlags.BytecodeGenOption
to DISABLED
.
Enum Constant and Description |
---|
DISABLED
Bytecode generation is disabled and using features that require it such as method
interception will throw errors at run time.
|
ENABLED
Bytecode generation is enabled.
|
Modifier and Type | Method and Description |
---|---|
static InternalFlags.BytecodeGenOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InternalFlags.BytecodeGenOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalFlags.BytecodeGenOption DISABLED
public static final InternalFlags.BytecodeGenOption ENABLED
public static InternalFlags.BytecodeGenOption[] values()
for (InternalFlags.BytecodeGenOption c : InternalFlags.BytecodeGenOption.values()) System.out.println(c);
public static InternalFlags.BytecodeGenOption 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