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 classA byte code appender for the type initializer of any enumeration type.protected static classA byte code appender for thevaluesmethod of any enumeration type.protected static classA 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 classAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation.AppenderAn appender for implementing a bridge method for a lambda expression.protected static classAn appender to implement the executing transformer.protected static classAn appender for a lambda expression factory.protected static classAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.AppenderAn appender for a lambda expression's functional method.protected static enumA factory for rewriting the JDK'sjava.lang.invoke.LambdaMetafactorymethods 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 ByteCodeAppenderAgentBuilder.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 classA byte code appender for implementingAdvice.protected static classA method to wrap anAttribute.protected static classA method to translate an array of constants from one namespace to another.protected static classA method to translate aConstantDynamicfrom one namespace to another.protected static classA method to translate a constant value from one namespace to another.protected static classA method to translate a stack map frame array from one namespace to another.protected static classA method to translate aHandlefrom one namespace to another.protected static classA method to translate an array ofLabels from one namespace to another.protected static classA method to translate aLabelfrom one namespace to another.protected static classAn appender that performs anull-checked construction.protected static classA method to translate aTypePathtype from one namespace to another.Fields in net.bytebuddy.asm declared as ByteCodeAppenderModifier and TypeFieldDescriptionprivate final ByteCodeAppenderAdvice.Appender.delegateThe delegate byte code appender.private final ByteCodeAppenderAdvice.Appender.EmulatingMethodVisitor.delegateThe 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 ByteCodeAppenderModifierConstructorDescriptionprotectedAppender(Advice advice, Implementation.Target implementationTarget, ByteCodeAppender delegate) Creates a new appender for an advice component.protectedEmulatingMethodVisitor(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 classA byte code appender to create an initializer segment that determines if thejava.security.AccessControlleris available.protected static classAn initializer that always uses the access controller if it is available.protected static classAn initializer that uses a property to determine if the access controller should be actually used even if it is available.protected static classA byte code appender for the exit advice. -
Uses of ByteCodeAppender in net.bytebuddy.dynamic
Classes in net.bytebuddy.dynamic that implement ByteCodeAppenderModifier and TypeClassDescriptionstatic classAn 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 TypeInterfaceDescriptioninterfaceA type initializer is responsible for defining a type's static initialization block.Classes in net.bytebuddy.dynamic.scaffold that implement ByteCodeAppenderModifier and TypeClassDescriptionstatic enumCanonical implementation of a non-defined type initializer.static classA simple, defined type initializer that executes a givenByteCodeAppender.static classA record for a visibility bridge.Fields in net.bytebuddy.dynamic.scaffold declared as ByteCodeAppenderModifier and TypeFieldDescriptionprivate final ByteCodeAppenderMethodRegistry.Handler.ForImplementation.Compiled.byteCodeAppenderThe byte code appender to apply.private final ByteCodeAppenderTypeInitializer.Simple.byteCodeAppenderThe byte code appender to apply as the type initializer.private final ByteCodeAppenderTypeWriter.MethodPool.Record.ForDefinedMethod.WithBody.byteCodeAppenderThe 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 ByteCodeAppenderModifierConstructorDescriptionprotectedCompiled(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 classThe appender for implementing aDefaultMethodCall.protected static classA byte code appender to implement theEqualsMethod.classThis implementation causes aThrowableto be thrown when the instrumented method is invoked.protected classAn byte code appender for an field accessor implementation.protected classAn appender to implement a field setter.protected static classA fixed value implementation that returns a method's argument.protected static classA fixed value implementation that represents its fixed value as a constant pool value or a byte code instruction.protected static enumA fixed value ofnull.protected classAn appender for writing the origin type.protected static classA byte code appender for returningthis.private classA byte code appender for returning the fixed value that was stored in a static field.protected static classA byte code appender to implement a hash code method.protected static classAn implementation of aTypeWriter.MethodPool.Recordfor implementing an accessor method.protected static classAn abstract method pool entry that delegates the implementation of a method to itself.protected static classAn implementation for a field getter.protected static classAn implementation for a field setter.protected classAn appender for a dispatcher-based simple implementation.protected classAn appender for implementing theInvocationHandlerAdapter.ForField.protected classAn appender for implementing theInvocationHandlerAdapter.ForInstance.protected classThe byte code appender to be used by theInvokeDynamicimplementation.protected classThe appender being used to implement aMethodCall.protected static enumA byte code appender to implement a field-setting method call.protected static classThe appender for implementing aMethodDelegation.enumThis implementation creates a method stub which does nothing but returning the default value of the return type of the method.protected static classAn appender for implementing aSuperMethodCall.protected static classAn appender to implementToStringMethod.Fields in net.bytebuddy.implementation declared as ByteCodeAppenderModifier and TypeFieldDescriptionprivate final ByteCodeAppenderImplementation.Simple.byteCodeAppenderThe 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.ForConstantValue.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.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 ByteCodeAppenderImplementation.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 classThe appender for implementing theMethodCallProxy.ConstructorCall.protected classThe appender for implementing theMethodCallProxy.MethodCall.protected classImplementation of a byte code appender for aTypeProxy.MethodCall.protected static classThe 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 classA byte code appender for a getter method.protected classA byte code appender for a setter method.protected static classAn appender for implementing anFieldProxy.Binder.InstanceFieldConstructor.protected static classThe byte code appender that implements the constructor.protected classThe byte code appender to implement the method.private static classThe appender for implementing thePipe.Binder.RedirectionProxy.ConstructorCall.private classThe 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 classA compound appender that combines a given number of other byte code appenders.static classA simple byte code appender that only represents a given array ofStackManipulations.Fields in net.bytebuddy.implementation.bytecode with type parameters of type ByteCodeAppenderModifier and TypeFieldDescriptionprivate final List<ByteCodeAppender> ByteCodeAppender.Compound.byteCodeAppendersThe 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.