Package net.bytebuddy.agent.builder
Enum AgentBuilder.PoolStrategy.WithTypePoolCache.Simple.BootstrapMarkerAction
java.lang.Object
java.lang.Enum<AgentBuilder.PoolStrategy.WithTypePoolCache.Simple.BootstrapMarkerAction>
net.bytebuddy.agent.builder.AgentBuilder.PoolStrategy.WithTypePoolCache.Simple.BootstrapMarkerAction
- All Implemented Interfaces:
Serializable
,Comparable<AgentBuilder.PoolStrategy.WithTypePoolCache.Simple.BootstrapMarkerAction>
,java.lang.constant.Constable
,PrivilegedAction<ClassLoader>
- Enclosing class:
AgentBuilder.PoolStrategy.WithTypePoolCache.Simple
protected static enum AgentBuilder.PoolStrategy.WithTypePoolCache.Simple.BootstrapMarkerAction
extends Enum<AgentBuilder.PoolStrategy.WithTypePoolCache.Simple.BootstrapMarkerAction>
implements PrivilegedAction<ClassLoader>
An action that creates a class loader to mark the bootstrap loader without using
null
.-
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 AgentBuilder.PoolStrategy.WithTypePoolCache.Simple.BootstrapMarkerAction INSTANCEThe singleton instance.
-
-
Constructor Details
-
BootstrapMarkerAction
private BootstrapMarkerAction()
-
-
Method Details
-
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 AgentBuilder.PoolStrategy.WithTypePoolCache.Simple.BootstrapMarkerAction 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<ClassLoader>
-