public enum ClassType extends Enum<ClassType>
PlasticClassEvent
.PlasticClassListener
Enum Constant and Description |
---|
INNER
An inner class within a controlled package, which may have field accesses (to non-private
fields visible to it) instrumented.
|
METHOD_INVOCATION
An implementation of
MethodInvocation , needed to handle advice added to
a method of a primary class. |
PRIMARY
A primary class, either created new or by transforming an existing class.
|
SUPPORT
A supporting class, needed to implement some of the logic of the primary class.
|
Modifier and Type | Method and Description |
---|---|
static ClassType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassType PRIMARY
public static final ClassType SUPPORT
public static final ClassType METHOD_INVOCATION
MethodInvocation
, needed to handle advice added to
a method of a primary class.public static ClassType[] values()
for (ClassType c : ClassType.values()) System.out.println(c);
public static ClassType 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 null5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.