public enum TransformationType extends java.lang.Enum<TransformationType>
| Enum Constant and Description |
|---|
ON_LOAD
The default on-load transformation.
|
REDEFINITION
Class redefinition transformation.
|
RETRANSFORMATION
Retransformation by the agent.
|
STATIC
The external static transformation.
|
| Modifier and Type | Field and Description |
|---|---|
private boolean |
mayAlterStructure
Stores whether the structure may be altered.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
mayAlterStructure()
Returns whether the structure of the class under transformation may be
altered.
|
static TransformationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransformationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransformationType STATIC
public static final TransformationType ON_LOAD
public static final TransformationType RETRANSFORMATION
public static final TransformationType REDEFINITION
private boolean mayAlterStructure
public static TransformationType[] values()
for (TransformationType c : TransformationType.values()) System.out.println(c);
public static TransformationType 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 final boolean mayAlterStructure()
true if it may be altered, false else