Uses of Interface
net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy
-
Packages that use ConstructorStrategy Package Description net.bytebuddy Byte Buddy is a library for creating Java classes at runtime of a Java program.net.bytebuddy.dynamic.scaffold.subclass All classes and types in this package are related to creating aDynamicType
by creating a subclass of a given type. -
-
Uses of ConstructorStrategy in net.bytebuddy
Classes in net.bytebuddy that implement ConstructorStrategy Modifier and Type Class Description protected static class
ByteBuddy.RecordConstructorStrategy
A constructor strategy for implementing a Java record.Methods in net.bytebuddy with parameters of type ConstructorStrategy Modifier and Type Method Description <T> DynamicType.Builder<T>
ByteBuddy. subclass(java.lang.Class<T> superType, ConstructorStrategy constructorStrategy)
Creates a new builder for subclassing the provided type.DynamicType.Builder<?>
ByteBuddy. subclass(java.lang.reflect.Type superType, ConstructorStrategy constructorStrategy)
Creates a new builder for subclassing the provided type.DynamicType.Builder<?>
ByteBuddy. subclass(TypeDefinition superType, ConstructorStrategy constructorStrategy)
Creates a new builder for subclassing the provided type. -
Uses of ConstructorStrategy in net.bytebuddy.dynamic.scaffold.subclass
Classes in net.bytebuddy.dynamic.scaffold.subclass that implement ConstructorStrategy Modifier and Type Class Description static class
ConstructorStrategy.Default
Default implementations of constructor strategies.protected static class
ConstructorStrategy.Default.WithMethodAttributeAppenderFactory
A wrapper for a default constructor strategy which additionally applies a method attribute appender factory.static class
ConstructorStrategy.ForDefaultConstructor
A constructor strategy that creates a default constructor that invokes a super constructor with default arguments.Fields in net.bytebuddy.dynamic.scaffold.subclass declared as ConstructorStrategy Modifier and Type Field Description private ConstructorStrategy
SubclassDynamicTypeBuilder. constructorStrategy
The constructor strategy to apply onto the instrumented type.Methods in net.bytebuddy.dynamic.scaffold.subclass that return ConstructorStrategy Modifier and Type Method Description ConstructorStrategy
ConstructorStrategy.Default. with(MethodAttributeAppender.Factory methodAttributeAppenderFactory)
Returns a constructor strategy that supplies the supplied method attribute appender factory.ConstructorStrategy
ConstructorStrategy.Default. withInheritedAnnotations()
Applies this constructor strategy while retaining any of the base constructor's annotations.Constructors in net.bytebuddy.dynamic.scaffold.subclass with parameters of type ConstructorStrategy Constructor Description SubclassDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, ConstructorStrategy constructorStrategy)
Creates a new type builder for creating a subclass.SubclassDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, java.util.List<? extends DynamicType> auxiliaryTypes, ConstructorStrategy constructorStrategy)
Creates a new type builder for creating a subclass.
-