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:
java.io.Serializable
,java.lang.Comparable<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm>
,ResettableClassFileTransformer.WithDelegation.Substitutable.Factory
- Enclosing interface:
- ResettableClassFileTransformer.WithDelegation.Substitutable.Factory
public static enum ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm extends java.lang.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 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 Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
ForLegacyVm()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResettableClassFileTransformer.Substitutable
make(ResettableClassFileTransformer classFileTransformer)
Creates a new substitutable class file transformer.static ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm INSTANCE
The singleton instance.
-
-
Method Detail
-
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. This method may be used to iterate over the constants as follows:for (ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm c : ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.ForLegacyVm.values()) System.out.println(c);
- 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(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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.
-
-