Package net.bytebuddy.agent.builder
Enum ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction
java.lang.Object
java.lang.Enum<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction>
net.bytebuddy.agent.builder.ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction
- All Implemented Interfaces:
Serializable
,Comparable<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction>
,java.lang.constant.Constable
,PrivilegedAction<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory>
- Enclosing interface:
ResettableClassFileTransformer.WithDelegation.Substitutable.Factory
public static enum ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction
extends Enum<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction>
implements PrivilegedAction<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory>
An action to create a suitable factory.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
INSTANCE
public static final ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction INSTANCEThe singleton instance.
-
-
Constructor Details
-
CreationAction
private CreationAction()
-
-
Method Details
-
values
public static ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction[] values()Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
run
- Specified by:
run
in interfacePrivilegedAction<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory>
-