Package net.bytebuddy.dynamic.loading
Enum ClassReloadingStrategy.BootstrapInjection.Disabled
- java.lang.Object
-
- java.lang.Enum<ClassReloadingStrategy.BootstrapInjection.Disabled>
-
- net.bytebuddy.dynamic.loading.ClassReloadingStrategy.BootstrapInjection.Disabled
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ClassReloadingStrategy.BootstrapInjection.Disabled>,ClassReloadingStrategy.BootstrapInjection
- Enclosing interface:
- ClassReloadingStrategy.BootstrapInjection
public static enum ClassReloadingStrategy.BootstrapInjection.Disabled extends java.lang.Enum<ClassReloadingStrategy.BootstrapInjection.Disabled> implements ClassReloadingStrategy.BootstrapInjection
A disabled bootstrap injection strategy.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.loading.ClassReloadingStrategy.BootstrapInjection
ClassReloadingStrategy.BootstrapInjection.Disabled, ClassReloadingStrategy.BootstrapInjection.Enabled
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCEThe singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description privateDisabled()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassInjectormake(java.lang.instrument.Instrumentation instrumentation)Creates a class injector to use.static ClassReloadingStrategy.BootstrapInjection.DisabledvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ClassReloadingStrategy.BootstrapInjection.Disabled[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final ClassReloadingStrategy.BootstrapInjection.Disabled INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static ClassReloadingStrategy.BootstrapInjection.Disabled[] 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 (ClassReloadingStrategy.BootstrapInjection.Disabled c : ClassReloadingStrategy.BootstrapInjection.Disabled.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClassReloadingStrategy.BootstrapInjection.Disabled 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 ClassInjector make(java.lang.instrument.Instrumentation instrumentation)
Creates a class injector to use.- Specified by:
makein interfaceClassReloadingStrategy.BootstrapInjection- Parameters:
instrumentation- The instrumentation of this instance.- Returns:
- A class injector for the bootstrap class loader.
-
-