Package net.bytebuddy.implementation
Enum Class Implementation.Context.Disabled.Factory
java.lang.Object
java.lang.Enum<Implementation.Context.Disabled.Factory>
net.bytebuddy.implementation.Implementation.Context.Disabled.Factory
- All Implemented Interfaces:
Serializable
,Comparable<Implementation.Context.Disabled.Factory>
,Constable
,Implementation.Context.Factory
- Enclosing class:
Implementation.Context.Disabled
public static enum Implementation.Context.Disabled.Factory
extends Enum<Implementation.Context.Disabled.Factory>
implements Implementation.Context.Factory
A factory for creating a
Implementation.Context.Disabled
.-
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
Modifier and TypeMethodDescriptionmake
(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion) Deprecated.make
(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion, Implementation.Context.FrameGeneration frameGeneration) Creates a new implementation context.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
Factory
private Factory()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
make
@Deprecated public Implementation.Context.ExtractableView make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion) Deprecated.Creates a new implementation context.- Specified by:
make
in interfaceImplementation.Context.Factory
- Parameters:
instrumentedType
- The description of the type that is currently subject of creation.auxiliaryTypeNamingStrategy
- The naming strategy for naming an auxiliary type.typeInitializer
- The type initializer of the created instrumented type.classFileVersion
- The class file version of the created class.auxiliaryClassFileVersion
- The class file version of any auxiliary classes.- Returns:
- An implementation context in its extractable view.
-
make
public Implementation.Context.ExtractableView make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion, Implementation.Context.FrameGeneration frameGeneration) Creates a new implementation context.- Specified by:
make
in interfaceImplementation.Context.Factory
- Parameters:
instrumentedType
- The description of the type that is currently subject of creation.auxiliaryTypeNamingStrategy
- The naming strategy for naming an auxiliary type.typeInitializer
- The type initializer of the created instrumented type.classFileVersion
- The class file version of the created class.auxiliaryClassFileVersion
- The class file version of any auxiliary classes.frameGeneration
- Indicates the frame generation being applied.- Returns:
- An implementation context in its extractable view.
-