Package net.bytebuddy.agent.builder
Enum ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm
java.lang.Object
java.lang.Enum<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm>
net.bytebuddy.agent.builder.ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm
- All Implemented Interfaces:
Serializable
,Comparable<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm>
,java.lang.constant.Constable
,ResettableClassFileTransformer.WithDelegation.Substitutable.Factory
- Enclosing interface:
ResettableClassFileTransformer.WithDelegation.Substitutable.Factory
public static enum ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm
extends Enum<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm>
implements ResettableClassFileTransformer.WithDelegation.Substitutable.Factory
A factory for a substitutable class file transformer when the module system is not supported.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.ResettableClassFileTransformer.WithDelegation.Substitutable.Factory
ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction, ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForJava9CapableVm, ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmake
(ResettableClassFileTransformer classFileTransformer) Creates a new substitutable class file transformer.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
public static final ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm INSTANCEThe singleton instance.
-
-
Constructor Details
-
ForLegacyVm
private ForLegacyVm()
-
-
Method Details
-
values
public static ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm[] 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.ForLegacyVm 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
-
make
public ResettableClassFileTransformer.Substitutable make(ResettableClassFileTransformer classFileTransformer) Creates a new substitutable class file transformer.- Specified by:
make
in interfaceResettableClassFileTransformer.WithDelegation.Substitutable.Factory
- Parameters:
classFileTransformer
- The class file transformer to wrap.- Returns:
- The wrapping class file transformer.
-