Package net.bytebuddy.agent
Enum Class ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction
java.lang.Object
java.lang.Enum<ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction>
net.bytebuddy.agent.ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction
- All Implemented Interfaces:
Serializable
,Comparable<ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction>
,Constable
,PrivilegedAction<ByteBuddyAgent.AttachmentTypeEvaluator>
- Enclosing interface:
- ByteBuddyAgent.AttachmentTypeEvaluator
public static enum ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction
extends Enum<ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction>
implements PrivilegedAction<ByteBuddyAgent.AttachmentTypeEvaluator>
An installation action for creating an attachment type evaluator.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
The OpenJDK's property for specifying the legality of self-attachment. -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Field Details
-
JDK_ALLOW_SELF_ATTACH
The OpenJDK's property for specifying the legality of self-attachment.- See Also:
-
-
Constructor Details
-
InstallationAction
private InstallationAction()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
run
- Specified by:
run
in interfacePrivilegedAction<ByteBuddyAgent.AttachmentTypeEvaluator>
-