Uses of Interface
net.bytebuddy.implementation.bytecode.ByteCodeAppender
Packages that use ByteCodeAppender
Package
Description
Byte Buddy is a library for creating Java classes at runtime of a Java program.
An agent builder is used to easily implement load-time class-transformations using a Java agent.
The ASM package contains classes that are meant for direct interaction with the ASM API.
A package for types that allow for applying Byte Buddy transformation during a build process.
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.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
All classes and types in this package are related to creating a
DynamicType
by
enhancing a given type.The implementation package contains any logic for intercepting method calls.
Auxiliary types describe helper types that aid as a supplementary to a given
InstrumentedType
.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.
Types and classes in this package are responsible for creating Java byte code for a given byte code target
which is represented by a
MethodDescription
.-
Uses of ByteCodeAppender in net.bytebuddy
Classes in net.bytebuddy that implement ByteCodeAppenderModifier and TypeClassDescriptionprotected static class
A byte code appender for the type initializer of any enumeration type.protected static class
A byte code appender for thevalues
method of any enumeration type.protected static class
A byte code appender for accessors and the record constructor.Methods in net.bytebuddy that return ByteCodeAppenderModifier and TypeMethodDescriptionByteBuddy.EnumerationImplementation.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.ByteBuddy.RecordConstructorStrategy.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.ByteBuddy.RecordObjectMethod.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods. -
Uses of ByteCodeAppender in net.bytebuddy.agent.builder
Classes in net.bytebuddy.agent.builder that implement ByteCodeAppenderModifier and TypeClassDescriptionprotected static class
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation.Appender
An appender for implementing a bridge method for a lambda expression.protected static class
An appender to implement the executing transformer.protected static class
An appender for a lambda expression factory.protected static class
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender
An appender for a lambda expression's functional method.protected static enum
A factory for rewriting the JDK'sjava.lang.invoke.LambdaMetafactory
methods for use with Byte Buddy.Methods in net.bytebuddy.agent.builder that return ByteCodeAppenderModifier and TypeMethodDescriptionAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.ConstructorImplementation.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.FactoryImplementation.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.protected static ByteCodeAppender
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.of
(MethodDescription targetMethod, JavaConstant.MethodType specializedLambdaMethod, List<FieldDescription.InDefinedShape> declaredFields, JavaConstant.MethodHandle.HandleType handleType, TypeDescription targetType) Resolves an appropriate appender for this lambda expression. -
Uses of ByteCodeAppender in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement ByteCodeAppenderModifier and TypeClassDescriptionprotected static class
A byte code appender for implementingAdvice
.Fields in net.bytebuddy.asm declared as ByteCodeAppenderModifier and TypeFieldDescriptionprivate final ByteCodeAppender
Advice.Appender.delegate
The delegate byte code appender.private final ByteCodeAppender
Advice.Appender.EmulatingMethodVisitor.delegate
The delegate byte code appender.Methods in net.bytebuddy.asm that return ByteCodeAppenderModifier and TypeMethodDescriptionAdvice.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Constructors in net.bytebuddy.asm with parameters of type ByteCodeAppenderModifierConstructorDescriptionprotected
Appender
(Advice advice, Implementation.Target implementationTarget, ByteCodeAppender delegate) Creates a new appender for an advice component.protected
EmulatingMethodVisitor
(org.objectweb.asm.MethodVisitor methodVisitor, ByteCodeAppender delegate) Creates a new emulating method visitor. -
Uses of ByteCodeAppender in net.bytebuddy.build
Classes in net.bytebuddy.build that implement ByteCodeAppenderModifier and TypeClassDescriptionprotected static class
A byte code appender to create an initializer segment that determines if thejava.security.AccessController
is available.protected static class
An initializer that always uses the access controller if it is available.protected static class
An initializer that uses a property to determine if the access controller should be actually used even if it is available. -
Uses of ByteCodeAppender in net.bytebuddy.dynamic
Classes in net.bytebuddy.dynamic that implement ByteCodeAppenderModifier and TypeClassDescriptionstatic class
An initialization appender that looks up a loaded type initializer from Byte Buddy'sNexus
.Methods in net.bytebuddy.dynamic with parameters of type ByteCodeAppenderModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.Adapter.initializer
(ByteCodeAppender byteCodeAppender) Executes the supplied byte code appender within the beginning of the instrumented type's type initializer.DynamicType.Builder.AbstractBase.Delegator.initializer
(ByteCodeAppender byteCodeAppender) Executes the supplied byte code appender within the beginning of the instrumented type's type initializer.DynamicType.Builder.initializer
(ByteCodeAppender byteCodeAppender) Executes the supplied byte code appender within the beginning of the instrumented type's type initializer. -
Uses of ByteCodeAppender in net.bytebuddy.dynamic.scaffold
Subinterfaces of ByteCodeAppender in net.bytebuddy.dynamic.scaffoldModifier and TypeInterfaceDescriptioninterface
A type initializer is responsible for defining a type's static initialization block.Classes in net.bytebuddy.dynamic.scaffold that implement ByteCodeAppenderModifier and TypeClassDescriptionstatic enum
Canonical implementation of a non-defined type initializer.static class
A simple, defined type initializer that executes a givenByteCodeAppender
.static class
A record for a visibility bridge.Fields in net.bytebuddy.dynamic.scaffold declared as ByteCodeAppenderModifier and TypeFieldDescriptionprivate final ByteCodeAppender
MethodRegistry.Handler.ForImplementation.Compiled.byteCodeAppender
The byte code appender to apply.private final ByteCodeAppender
TypeInitializer.Simple.byteCodeAppender
The byte code appender to apply as the type initializer.private final ByteCodeAppender
TypeWriter.MethodPool.Record.ForDefinedMethod.WithBody.byteCodeAppender
The byte code appender to apply.Methods in net.bytebuddy.dynamic.scaffold with parameters of type ByteCodeAppenderModifier and TypeMethodDescriptionTypeInitializer.expandWith
(ByteCodeAppender byteCodeAppender) Expands this type initializer with another byte code appender.TypeInitializer.None.expandWith
(ByteCodeAppender byteCodeAppenderFactory) Expands this type initializer with another byte code appender.TypeInitializer.Simple.expandWith
(ByteCodeAppender byteCodeAppender) Expands this type initializer with another byte code appender.TypeWriter.MethodPool.Record.AccessBridgeWrapper.prepend
(ByteCodeAppender byteCodeAppender) Prepends the given method appender to this entry.TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.prepend
(ByteCodeAppender byteCodeAppender) Prepends the given method appender to this entry.TypeWriter.MethodPool.Record.ForDefinedMethod.WithAnnotationDefaultValue.prepend
(ByteCodeAppender byteCodeAppender) Prepends the given method appender to this entry.TypeWriter.MethodPool.Record.ForDefinedMethod.WithBody.prepend
(ByteCodeAppender byteCodeAppender) Prepends the given method appender to this entry.TypeWriter.MethodPool.Record.ForDefinedMethod.WithoutBody.prepend
(ByteCodeAppender byteCodeAppender) Prepends the given method appender to this entry.TypeWriter.MethodPool.Record.ForNonImplementedMethod.prepend
(ByteCodeAppender byteCodeAppender) Prepends the given method appender to this entry.TypeWriter.MethodPool.Record.prepend
(ByteCodeAppender byteCodeAppender) Prepends the given method appender to this entry.InstrumentedType.Default.withInitializer
(ByteCodeAppender byteCodeAppender) Creates a new instrumented type that executes the given initializer in the instrumented type's type initializer.InstrumentedType.Frozen.withInitializer
(ByteCodeAppender byteCodeAppender) Creates a new instrumented type that executes the given initializer in the instrumented type's type initializer.InstrumentedType.WithFlexibleName.withInitializer
(ByteCodeAppender byteCodeAppender) Creates a new instrumented type that executes the given initializer in the instrumented type's type initializer.InstrumentedType.withInitializer
(ByteCodeAppender byteCodeAppender) Creates a new instrumented type that executes the given initializer in the instrumented type's type initializer.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type ByteCodeAppenderModifierConstructorDescriptionprotected
Compiled
(ByteCodeAppender byteCodeAppender) Creates a new compiled handler for a method implementation.Simple
(ByteCodeAppender byteCodeAppender) Creates a new simple type initializer.WithBody
(MethodDescription methodDescription, ByteCodeAppender byteCodeAppender) Creates a new record for an implemented method without attributes or a modifier resolver.WithBody
(MethodDescription methodDescription, ByteCodeAppender byteCodeAppender, MethodAttributeAppender methodAttributeAppender, Visibility visibility) Creates a new entry for a method that defines a method as byte code. -
Uses of ByteCodeAppender in net.bytebuddy.dynamic.scaffold.inline
Methods in net.bytebuddy.dynamic.scaffold.inline with parameters of type ByteCodeAppenderModifier and TypeMethodDescriptionDecoratingDynamicTypeBuilder.initializer
(ByteCodeAppender byteCodeAppender) Executes the supplied byte code appender within the beginning of the instrumented type's type initializer. -
Uses of ByteCodeAppender in net.bytebuddy.implementation
Classes in net.bytebuddy.implementation that implement ByteCodeAppenderModifier and TypeClassDescriptionprotected static class
The appender for implementing aDefaultMethodCall
.protected static class
A byte code appender to implement theEqualsMethod
.class
This implementation causes aThrowable
to be thrown when the instrumented method is invoked.protected class
An byte code appender for an field accessor implementation.protected class
An appender to implement a field setter.protected static class
A fixed value implementation that returns a method's argument.protected static enum
A fixed value ofnull
.protected class
An appender for writing the origin type.protected static class
A fixed value implementation that represents its fixed value as a value that is written to the instrumented class's constant pool.protected static class
A byte code appender for returningthis
.private class
A byte code appender for returning the fixed value that was stored in a static field.protected static class
A byte code appender to implement a hash code method.protected static class
An implementation of aTypeWriter.MethodPool.Record
for implementing an accessor method.protected static class
An abstract method pool entry that delegates the implementation of a method to itself.protected static class
An implementation for a field getter.protected static class
An implementation for a field setter.protected class
An appender for a dispatcher-based simple implementation.protected class
An appender for implementing theInvocationHandlerAdapter.ForField
.protected class
An appender for implementing theInvocationHandlerAdapter.ForInstance
.protected class
The byte code appender to be used by theInvokeDynamic
implementation.protected class
The appender being used to implement aMethodCall
.protected static enum
A byte code appender to implement a field-setting method call.protected static class
The appender for implementing aMethodDelegation
.enum
This implementation creates a method stub which does nothing but returning the default value of the return type of the method.protected static class
An appender for implementing aSuperMethodCall
.protected static class
An appender to implementToStringMethod
.Fields in net.bytebuddy.implementation declared as ByteCodeAppenderModifier and TypeFieldDescriptionprivate final ByteCodeAppender
Implementation.Simple.byteCodeAppender
The byte code appender to emmit.Methods in net.bytebuddy.implementation that return ByteCodeAppenderModifier and TypeMethodDescriptionDefaultMethodCall.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.EqualsMethod.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.ExceptionMethod.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FieldAccessor.ForImplicitProperty.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FieldAccessor.ForSetter.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FixedValue.ForArgument.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FixedValue.ForNullValue.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FixedValue.ForOriginType.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FixedValue.ForPoolValue.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FixedValue.ForThisValue.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FixedValue.ForValue.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.HashCodeMethod.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Implementation.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Implementation.Compound.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Implementation.Compound.Composable.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Implementation.Simple.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Implementation.Simple.ForDispatcher.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.InvocationHandlerAdapter.ForField.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.InvocationHandlerAdapter.ForInstance.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.InvokeDynamic.AbstractDelegator.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.InvokeDynamic.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.MethodCall.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.MethodCall.FieldSetting.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.MethodDelegation.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.StubMethod.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.SuperMethodCall.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.SuperMethodCall.WithoutReturn.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.protected ByteCodeAppender
Implementation.Context.Default.FieldCacheEntry.storeIn
(FieldDescription fieldDescription) Returns a stack manipulation where the represented value is stored in the given field.Methods in net.bytebuddy.implementation with parameters of type ByteCodeAppenderModifier and TypeMethodDescriptionImplementation.Context.Default.DelegationRecord.prepend
(ByteCodeAppender byteCodeAppender) Prepends the given method appender to this entry.Constructors in net.bytebuddy.implementation with parameters of type ByteCodeAppenderModifierConstructorDescriptionSimple
(ByteCodeAppender... byteCodeAppender) Creates a new simple implementation for the given byte code appenders. -
Uses of ByteCodeAppender in net.bytebuddy.implementation.auxiliary
Classes in net.bytebuddy.implementation.auxiliary that implement ByteCodeAppenderModifier and TypeClassDescriptionprotected static class
The appender for implementing theMethodCallProxy.ConstructorCall
.protected class
The appender for implementing theMethodCallProxy.MethodCall
.protected class
Implementation of a byte code appender for aTypeProxy.MethodCall
.protected static class
The appender for implementing aTypeProxy.SilentConstruction
.Methods in net.bytebuddy.implementation.auxiliary that return ByteCodeAppenderModifier and TypeMethodDescriptionMethodCallProxy.ConstructorCall.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.MethodCallProxy.MethodCall.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.TypeProxy.MethodCall.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.TypeProxy.SilentConstruction.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods. -
Uses of ByteCodeAppender in net.bytebuddy.implementation.bind.annotation
Classes in net.bytebuddy.implementation.bind.annotation that implement ByteCodeAppenderModifier and TypeClassDescriptionprotected class
A byte code appender for a getter method.protected class
A byte code appender for a setter method.protected static class
An appender for implementing anFieldProxy.Binder.InstanceFieldConstructor
.protected static class
The byte code appender that implements the constructor.protected class
The byte code appender to implement the method.private static class
The appender for implementing thePipe.Binder.RedirectionProxy.ConstructorCall
.private class
The appender for implementing thePipe.Binder.RedirectionProxy.MethodCall
.Methods in net.bytebuddy.implementation.bind.annotation that return ByteCodeAppenderModifier and TypeMethodDescriptionFieldProxy.Binder.FieldGetter.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FieldProxy.Binder.FieldSetter.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FieldProxy.Binder.InstanceFieldConstructor.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.FieldProxy.Binder.StaticFieldConstructor.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Morph.Binder.RedirectionProxy.InstanceFieldConstructor.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Morph.Binder.RedirectionProxy.MethodCall.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Morph.Binder.RedirectionProxy.StaticFieldConstructor.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Pipe.Binder.RedirectionProxy.ConstructorCall.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods.Pipe.Binder.RedirectionProxy.MethodCall.appender
(Implementation.Target implementationTarget) Creates a byte code appender that determines the implementation of the instrumented type's methods. -
Uses of ByteCodeAppender in net.bytebuddy.implementation.bytecode
Classes in net.bytebuddy.implementation.bytecode that implement ByteCodeAppenderModifier and TypeClassDescriptionstatic class
A compound appender that combines a given number of other byte code appenders.static class
A simple byte code appender that only represents a given array ofStackManipulation
s.Fields in net.bytebuddy.implementation.bytecode with type parameters of type ByteCodeAppenderModifier and TypeFieldDescriptionprivate final List<ByteCodeAppender>
ByteCodeAppender.Compound.byteCodeAppenders
The byte code appenders that are represented by this compound appender in their application order.Constructors in net.bytebuddy.implementation.bytecode with parameters of type ByteCodeAppenderModifierConstructorDescriptionCompound
(ByteCodeAppender... byteCodeAppender) Creates a new compound byte code appender.Constructor parameters in net.bytebuddy.implementation.bytecode with type arguments of type ByteCodeAppenderModifierConstructorDescriptionCompound
(List<? extends ByteCodeAppender> byteCodeAppenders) Creates a new compound byte code appender.