public static enum Implementation.Context.Default.Factory extends Enum<Implementation.Context.Default.Factory> implements Implementation.Context.Factory
Implementation.Context.Default
that uses a random suffix for accessors.Modifier and Type | Class and Description |
---|---|
static class |
Implementation.Context.Default.Factory.WithFixedSuffix
A factory for creating a
Implementation.Context.Default
that uses a given suffix for accessors. |
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
Implementation.Context.ExtractableView |
make(TypeDescription instrumentedType,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
TypeInitializer typeInitializer,
ClassFileVersion classFileVersion,
ClassFileVersion auxiliaryClassFileVersion)
Deprecated.
|
Implementation.Context.ExtractableView |
make(TypeDescription instrumentedType,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
TypeInitializer typeInitializer,
ClassFileVersion classFileVersion,
ClassFileVersion auxiliaryClassFileVersion,
Implementation.Context.FrameGeneration frameGeneration)
Creates a new implementation context.
|
static Implementation.Context.Default.Factory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Implementation.Context.Default.Factory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Implementation.Context.Default.Factory INSTANCE
public static Implementation.Context.Default.Factory[] values()
for (Implementation.Context.Default.Factory c : Implementation.Context.Default.Factory.values()) System.out.println(c);
public static Implementation.Context.Default.Factory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public Implementation.Context.ExtractableView make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion)
make
in interface Implementation.Context.Factory
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.public Implementation.Context.ExtractableView make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion, Implementation.Context.FrameGeneration frameGeneration)
make
in interface Implementation.Context.Factory
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.Copyright © 2014–2025. All rights reserved.