Package | Description |
---|---|
net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
net.bytebuddy.build |
A package for types that allow for applying Byte Buddy transformation during a build process.
|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
net.bytebuddy.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
net.bytebuddy.dynamic.scaffold.subclass |
All classes and types in this package are related to creating a
DynamicType by
creating a subclass of a given type. |
net.bytebuddy.implementation.bind.annotation |
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<? extends Annotation> |
ByteBuddy.makeAnnotation()
Creates a new
Annotation type. |
DynamicType.Builder<? extends Enum<?>> |
ByteBuddy.makeEnumeration(Collection<? extends String> values)
Creates a new
Enum type. |
DynamicType.Builder<? extends Enum<?>> |
ByteBuddy.makeEnumeration(String... value)
Creates a new
Enum type. |
DynamicType.Builder<?> |
ByteBuddy.makeInterface()
Creates a new, plain interface type.
|
<T> DynamicType.Builder<T> |
ByteBuddy.makeInterface(Class<T> interfaceType)
Creates a new interface type that extends the provided interface.
|
DynamicType.Builder<?> |
ByteBuddy.makeInterface(Collection<? extends TypeDefinition> interfaceTypes)
Creates a new interface type that extends the provided interface.
|
DynamicType.Builder<?> |
ByteBuddy.makeInterface(List<? extends Type> interfaceTypes)
Creates a new interface type that extends the provided interface.
|
DynamicType.Builder<?> |
ByteBuddy.makeInterface(Type... interfaceType)
Creates a new interface type that extends the provided interface.
|
DynamicType.Builder<?> |
ByteBuddy.makeInterface(TypeDefinition... interfaceType)
Creates a new interface type that extends the provided interface.
|
DynamicType.Builder<?> |
ByteBuddy.makePackage(String name)
Creates a new package definition.
|
<T> DynamicType.Builder<T> |
ByteBuddy.rebase(Class<T> type)
Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the
rebased type's class such that the class's original can be invoked from the new method implementations.
|
<T> DynamicType.Builder<T> |
ByteBuddy.rebase(Class<T> type,
ClassFileLocator classFileLocator)
Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the
rebased type's class such that the class's original can be invoked from the new method implementations.
|
<T> DynamicType.Builder<T> |
ByteBuddy.rebase(Class<T> type,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer)
Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the
rebased type's class such that the class's original can be invoked from the new method implementations.
|
DynamicType.Builder<?> |
ByteBuddy.rebase(Package aPackage,
ClassFileLocator classFileLocator)
Rebases a package.
|
DynamicType.Builder<?> |
ByteBuddy.rebase(PackageDescription aPackage,
ClassFileLocator classFileLocator)
Rebases a package.
|
<T> DynamicType.Builder<T> |
ByteBuddy.rebase(TypeDescription type,
ClassFileLocator classFileLocator)
Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the
rebased type's class such that the class's original can be invoked from the new method implementations.
|
<T> DynamicType.Builder<T> |
ByteBuddy.rebase(TypeDescription type,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer)
Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the
rebased type's class such that the class's original can be invoked from the new method implementations.
|
<T> DynamicType.Builder<T> |
ByteBuddy.redefine(Class<T> type)
Redefines the given type where any intercepted method that is declared by the redefined type is fully replaced
by the new implementation.
|
<T> DynamicType.Builder<T> |
ByteBuddy.redefine(Class<T> type,
ClassFileLocator classFileLocator)
Redefines the given type where any intercepted method that is declared by the redefined type is fully replaced
by the new implementation.
|
<T> DynamicType.Builder<T> |
ByteBuddy.redefine(TypeDescription type,
ClassFileLocator classFileLocator)
Redefines the given type where any intercepted method that is declared by the redefined type is fully replaced
by the new implementation.
|
<T> DynamicType.Builder<T> |
ByteBuddy.subclass(Class<T> superType)
Creates a new builder for subclassing the provided type.
|
<T> DynamicType.Builder<T> |
ByteBuddy.subclass(Class<T> superType,
ConstructorStrategy constructorStrategy)
Creates a new builder for subclassing the provided type.
|
DynamicType.Builder<?> |
ByteBuddy.subclass(Type superType)
Creates a new builder for subclassing the provided type.
|
DynamicType.Builder<?> |
ByteBuddy.subclass(Type superType,
ConstructorStrategy constructorStrategy)
Creates a new builder for subclassing the provided type.
|
DynamicType.Builder<?> |
ByteBuddy.subclass(TypeDefinition superType)
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.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<?> |
AgentBuilder.InitializationStrategy.Dispatcher.apply(DynamicType.Builder<?> builder)
Transforms the instrumented type to implement an appropriate initialization strategy.
|
DynamicType.Builder<?> |
AgentBuilder.InitializationStrategy.NoOp.apply(DynamicType.Builder<?> builder) |
DynamicType.Builder<?> |
AgentBuilder.InitializationStrategy.Minimal.apply(DynamicType.Builder<?> builder) |
DynamicType.Builder<?> |
AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.apply(DynamicType.Builder<?> builder) |
DynamicType.Builder<?> |
AgentBuilder.TypeStrategy.builder(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain)
Creates a type builder for a given type.
|
DynamicType.Builder<?> |
AgentBuilder.TypeStrategy.ForBuildEntryPoint.builder(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain) |
DynamicType.Builder<?> |
AgentBuilder.Transformer.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module)
Allows for a transformation of a
DynamicType.Builder . |
DynamicType.Builder<?> |
AgentBuilder.Transformer.NoOp.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module) |
DynamicType.Builder<?> |
AgentBuilder.Transformer.ForBuildPlugin.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module) |
DynamicType.Builder<?> |
AgentBuilder.Transformer.ForAdvice.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module) |
DynamicType.Builder<?> |
AgentBuilder.Transformer.Compound.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module) |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<?> |
AgentBuilder.InitializationStrategy.Dispatcher.apply(DynamicType.Builder<?> builder)
Transforms the instrumented type to implement an appropriate initialization strategy.
|
DynamicType.Builder<?> |
AgentBuilder.InitializationStrategy.NoOp.apply(DynamicType.Builder<?> builder) |
DynamicType.Builder<?> |
AgentBuilder.InitializationStrategy.Minimal.apply(DynamicType.Builder<?> builder) |
DynamicType.Builder<?> |
AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.apply(DynamicType.Builder<?> builder) |
DynamicType.Builder<?> |
AgentBuilder.Transformer.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module)
Allows for a transformation of a
DynamicType.Builder . |
DynamicType.Builder<?> |
AgentBuilder.Transformer.NoOp.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module) |
DynamicType.Builder<?> |
AgentBuilder.Transformer.ForBuildPlugin.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module) |
DynamicType.Builder<?> |
AgentBuilder.Transformer.ForAdvice.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module) |
DynamicType.Builder<?> |
AgentBuilder.Transformer.Compound.transform(DynamicType.Builder<?> builder,
TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module) |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<?> |
ToStringPlugin.apply(DynamicType.Builder<?> builder,
TypeDescription typeDescription) |
DynamicType.Builder<?> |
Plugin.apply(DynamicType.Builder<?> builder,
TypeDescription typeDescription)
Applies this plugin.
|
DynamicType.Builder<?> |
HashCodeAndEqualsPlugin.apply(DynamicType.Builder<?> builder,
TypeDescription typeDescription) |
DynamicType.Builder<?> |
EntryPoint.transform(TypeDescription typeDescription,
ByteBuddy byteBuddy,
ClassFileLocator classFileLocator,
MethodNameTransformer methodNameTransformer)
Applies a transformation.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<?> |
ToStringPlugin.apply(DynamicType.Builder<?> builder,
TypeDescription typeDescription) |
DynamicType.Builder<?> |
Plugin.apply(DynamicType.Builder<?> builder,
TypeDescription typeDescription)
Applies this plugin.
|
DynamicType.Builder<?> |
HashCodeAndEqualsPlugin.apply(DynamicType.Builder<?> builder,
TypeDescription typeDescription) |
Modifier and Type | Interface and Description |
---|---|
static interface |
DynamicType.Builder.FieldDefinition.Optional<U>
A builder for an optional field definition.
|
static interface |
DynamicType.Builder.FieldDefinition.Optional.Valuable<V>
A builder for an optional field definition that allows for defining a value.
|
static interface |
DynamicType.Builder.MethodDefinition<S>
A builder for a method definition.
|
static interface |
DynamicType.Builder.MethodDefinition.ImplementationDefinition.Optional<V>
A builder for optionally defining an implementation of a method.
|
static interface |
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>
A builder for a method definition with a receiver type.
|
static interface |
DynamicType.Builder.TypeVariableDefinition<S>
A builder for a type variable definition.
|
Modifier and Type | Class and Description |
---|---|
static class |
DynamicType.Builder.AbstractBase<S>
An abstract base implementation of a dynamic type builder.
|
static class |
DynamicType.Builder.AbstractBase.Adapter<U>
An adapter implementation of a dynamic type builder.
|
protected class |
DynamicType.Builder.AbstractBase.Adapter.FieldDefinitionAdapter
An adapter for defining a new field.
|
protected class |
DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter
An adapter for matching an existing field.
|
protected class |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter
An annotation adapter for a method definition.
|
protected class |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter
An annotation adapter for implementing annotations during a method definition.
|
protected class |
DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter
An adapter for optionally matching methods defined by declared interfaces.
|
protected class |
DynamicType.Builder.AbstractBase.Adapter.TypeVariableDefinitionAdapter
An adapter for defining a new type variable for the instrumented type.
|
static class |
DynamicType.Builder.AbstractBase.Delegator<U>
A delegator for a dynamic type builder delegating all invocations to another dynamic type builder.
|
static class |
DynamicType.Builder.FieldDefinition.Optional.AbstractBase<U>
An abstract base implementation for an optional field definition.
|
static class |
DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase<U>
An abstract base implementation of an optional field definition that allows for defining a value.
|
static class |
DynamicType.Builder.MethodDefinition.AbstractBase<U>
An abstract base implementation of a method definition.
|
protected static class |
DynamicType.Builder.MethodDefinition.AbstractBase.Adapter<V>
An adapter implementation of a method definition.
|
static class |
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.AbstractBase<V>
An abstract base implementation of a method definition that can accept a receiver type.
|
static class |
DynamicType.Builder.TypeVariableDefinition.AbstractBase<U>
An abstract base implementation of a type variable definition.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<T> |
DynamicType.Builder.annotateType(Annotation... annotation)
Annotates the instrumented type with the supplied annotations.
|
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.annotateType(Annotation... annotation) |
DynamicType.Builder<T> |
DynamicType.Builder.annotateType(AnnotationDescription... annotation)
Annotates the instrumented type with the supplied annotations.
|
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.annotateType(AnnotationDescription... annotation) |
DynamicType.Builder<T> |
DynamicType.Builder.annotateType(Collection<? extends AnnotationDescription> annotations)
Annotates the instrumented type with the supplied annotations.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.annotateType(Collection<? extends AnnotationDescription> annotations) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.annotateType(Collection<? extends AnnotationDescription> annotations) |
DynamicType.Builder<T> |
DynamicType.Builder.annotateType(List<? extends Annotation> annotations)
Annotates the instrumented type with the supplied annotations.
|
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.annotateType(List<? extends Annotation> annotations) |
DynamicType.Builder<T> |
DynamicType.Builder.attribute(TypeAttributeAppender typeAttributeAppender)
Applies the given type attribute appender onto the instrumented type.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.attribute(TypeAttributeAppender typeAttributeAppender) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.attribute(TypeAttributeAppender typeAttributeAppender) |
DynamicType.Builder<T> |
DynamicType.Builder.ignoreAlso(ElementMatcher<? super MethodDescription> ignoredMethods)
Specifies to exclude any method that is matched by the supplied matcher from instrumentation.
|
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.ignoreAlso(ElementMatcher<? super MethodDescription> ignoredMethods) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.ignoreAlso(ElementMatcher<? super MethodDescription> ignoredMethods) |
DynamicType.Builder<T> |
DynamicType.Builder.ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods)
Specifies to exclude any method that is matched by the supplied matcher from instrumentation.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods) |
DynamicType.Builder<T> |
DynamicType.Builder.initializer(ByteCodeAppender byteCodeAppender)
Executes the supplied byte code appender within the beginning of the instrumented type's type initializer.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.initializer(ByteCodeAppender byteCodeAppender) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.initializer(ByteCodeAppender byteCodeAppender) |
DynamicType.Builder<T> |
DynamicType.Builder.initializer(LoadedTypeInitializer loadedTypeInitializer)
Executes the supplied loaded type initializer when loading the created instrumented type.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.initializer(LoadedTypeInitializer loadedTypeInitializer) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.initializer(LoadedTypeInitializer loadedTypeInitializer) |
protected abstract DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.materialize()
Creates a new builder that realizes the current state of the builder.
|
protected DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.TypeVariableDefinitionAdapter.materialize() |
protected DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.FieldDefinitionAdapter.materialize() |
protected DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter.materialize() |
protected DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.materialize() |
protected DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.materialize() |
protected DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter.materialize() |
protected abstract DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.materialize(InstrumentedType.WithFlexibleName instrumentedType,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
ClassFileVersion classFileVersion,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
Implementation.Context.Factory implementationContextFactory,
MethodGraph.Compiler methodGraphCompiler,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
LatentMatcher<? super MethodDescription> ignoredMethods)
Materializes the supplied state of a dynamic type builder.
|
DynamicType.Builder<T> |
DynamicType.Builder.merge(Collection<? extends ModifierContributor.ForType> modifierContributors)
Merges the supplied modifier contributors with the modifiers of the instrumented type and defines them as the instrumented
type's new modifiers.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.merge(Collection<? extends ModifierContributor.ForType> modifierContributors) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.merge(Collection<? extends ModifierContributor.ForType> modifierContributors) |
DynamicType.Builder<T> |
DynamicType.Builder.merge(ModifierContributor.ForType... modifierContributor)
Merges the supplied modifier contributors with the modifiers of the instrumented type and defines them as the instrumented
type's new modifiers.
|
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.merge(ModifierContributor.ForType... modifierContributor) |
DynamicType.Builder<T> |
DynamicType.Builder.modifiers(Collection<? extends ModifierContributor.ForType> modifierContributors)
Defines the supplied modifiers as the modifiers of the instrumented type.
|
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.modifiers(Collection<? extends ModifierContributor.ForType> modifierContributors) |
DynamicType.Builder<T> |
DynamicType.Builder.modifiers(int modifiers)
Defines the supplied modifiers as the modifiers of the instrumented type.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.modifiers(int modifiers) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.modifiers(int modifiers) |
DynamicType.Builder<T> |
DynamicType.Builder.modifiers(ModifierContributor.ForType... modifierContributor)
Defines the supplied modifiers as the modifiers of the instrumented type.
|
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.modifiers(ModifierContributor.ForType... modifierContributor) |
DynamicType.Builder<T> |
DynamicType.Builder.name(String name)
Names the dynamic type by the supplied name.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.name(String name) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.name(String name) |
DynamicType.Builder<T> |
DynamicType.Builder.transform(ElementMatcher<? super TypeDescription.Generic> matcher,
Transformer<TypeVariableToken> transformer)
Transforms any type variable that is defined by this type if it is matched by the supplied matcher.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.transform(ElementMatcher<? super TypeDescription.Generic> matcher,
Transformer<TypeVariableToken> transformer) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.transform(ElementMatcher<? super TypeDescription.Generic> matcher,
Transformer<TypeVariableToken> transformer) |
DynamicType.Builder<T> |
DynamicType.Builder.visit(AsmVisitorWrapper asmVisitorWrapper)
Applies the supplied
AsmVisitorWrapper onto the ClassVisitor during building a dynamic type. |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.visit(AsmVisitorWrapper asmVisitorWrapper) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.visit(AsmVisitorWrapper asmVisitorWrapper) |
DynamicType.Builder<T> |
DynamicType.Builder.withHashCodeEquals()
Implements
Object.hashCode() and Object.equals(Object) methods for the instrumented type if those
methods are not declared as final by a super class. |
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.withHashCodeEquals() |
DynamicType.Builder<T> |
DynamicType.Builder.withToString()
Implements a
Object.toString() method for the instrumented type if such a method is not declared as final
by a super class. |
DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.withToString() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractInliningDynamicTypeBuilder<T>
An abstract base implementation of a dynamic type builder that alters an existing type.
|
class |
RebaseDynamicTypeBuilder<T>
A type builder that rebases an instrumented type.
|
class |
RedefinitionDynamicTypeBuilder<T>
A type builder that redefines an instrumented type.
|
Modifier and Type | Method and Description |
---|---|
protected DynamicType.Builder<T> |
RedefinitionDynamicTypeBuilder.materialize(InstrumentedType.WithFlexibleName instrumentedType,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
ClassFileVersion classFileVersion,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
Implementation.Context.Factory implementationContextFactory,
MethodGraph.Compiler methodGraphCompiler,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
LatentMatcher<? super MethodDescription> ignoredMethods) |
protected DynamicType.Builder<T> |
RebaseDynamicTypeBuilder.materialize(InstrumentedType.WithFlexibleName instrumentedType,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
ClassFileVersion classFileVersion,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
Implementation.Context.Factory implementationContextFactory,
MethodGraph.Compiler methodGraphCompiler,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
LatentMatcher<? super MethodDescription> ignoredMethods) |
Modifier and Type | Class and Description |
---|---|
class |
SubclassDynamicTypeBuilder<T>
A type builder that creates an instrumented type as a subclass, i.e.
|
Modifier and Type | Method and Description |
---|---|
protected DynamicType.Builder<T> |
SubclassDynamicTypeBuilder.materialize(InstrumentedType.WithFlexibleName instrumentedType,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
TypeAttributeAppender typeAttributeAppender,
AsmVisitorWrapper asmVisitorWrapper,
ClassFileVersion classFileVersion,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
AnnotationValueFilter.Factory annotationValueFilterFactory,
AnnotationRetention annotationRetention,
Implementation.Context.Factory implementationContextFactory,
MethodGraph.Compiler methodGraphCompiler,
TypeValidation typeValidation,
ClassWriterStrategy classWriterStrategy,
LatentMatcher<? super MethodDescription> ignoredMethods) |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<?> |
FieldProxy.Binder.FieldResolver.apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory)
Applies this field resolver to a dynamic type.
|
DynamicType.Builder<?> |
FieldProxy.Binder.FieldResolver.Unresolved.apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory) |
DynamicType.Builder<?> |
FieldProxy.Binder.FieldResolver.ForGetter.apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory) |
DynamicType.Builder<?> |
FieldProxy.Binder.FieldResolver.ForSetter.apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory) |
DynamicType.Builder<?> |
FieldProxy.Binder.FieldResolver.ForGetterSetterPair.apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory) |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<?> |
FieldProxy.Binder.FieldResolver.apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory)
Applies this field resolver to a dynamic type.
|
DynamicType.Builder<?> |
FieldProxy.Binder.FieldResolver.Unresolved.apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory) |
DynamicType.Builder<?> |
FieldProxy.Binder.FieldResolver.ForGetter.apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory) |
DynamicType.Builder<?> |
FieldProxy.Binder.FieldResolver.ForSetter.apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory) |
DynamicType.Builder<?> |
FieldProxy.Binder.FieldResolver.ForGetterSetterPair.apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory) |
Copyright © 2014–2018. All rights reserved.