public enum GeneratorType extends java.lang.Enum<GeneratorType>
| Enum Constant and Description |
|---|
BYTECODE_GENERATION
Use a bytecode-generation library to create a proxy (garbage-free, no reflection overhead)
|
JDK_REFLECTION
Use JDK reflection to create a proxy (creates garbage, has reflection overhead)
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGeneratorClassName() |
static GeneratorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeneratorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneratorType JDK_REFLECTION
public static final GeneratorType BYTECODE_GENERATION
public static GeneratorType[] values()
for (GeneratorType c : GeneratorType.values()) System.out.println(c);
public static GeneratorType 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 nullpublic java.lang.String getGeneratorClassName()