| 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.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 | This package contains helper types and implementations that are responsible for the actual writing of a byte array
 representing a Java class. | 
| net.bytebuddy.implementation | The implementation package contains any logic for intercepting method calls. | 
| net.bytebuddy.implementation.auxiliary | Auxiliary types describe helper types that aid as a supplementary to a given
  InstrumentedType. | 
| 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. | 
| net.bytebuddy.implementation.bytecode | 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | ByteBuddy.EnumerationImplementation.InitializationAppenderA byte code appender for the type initializer of any enumeration type. | 
| protected static class  | ByteBuddy.EnumerationImplementation.ValuesMethodAppenderA byte code appender for the  valuesmethod of any enumeration type. | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteCodeAppender | ByteBuddy.EnumerationImplementation. appender(Implementation.Target implementationTarget) | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteCodeAppender | AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.ConstructorImplementation. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.FactoryImplementation. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | AgentBuilder.InitializationStrategy.SelfInjection.NexusAccessor. identifiedBy(int identification)Creates a byte code appender for injecting a self-initializing type initializer block into the generated class. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | TypeInitializerA type initializer is responsible for defining a type's static initialization block. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | TypeInitializer.NoneCanonical implementation of a non-defined type initializer. | 
| static class  | TypeInitializer.SimpleA simple, defined type initializer that executes a given  ByteCodeAppender. | 
| static class  | TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridgeA record for a visibility bridge. | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteCodeAppender | TypeWriter.Default.ForInlining.RedefinitionClassVisitor.TypeInitializerInjection. getByteCodeAppender() | 
| ByteCodeAppender | TypeInitializer. withReturn()Returns this type initializer with an ending return statement. | 
| ByteCodeAppender | TypeInitializer.None. withReturn() | 
| ByteCodeAppender | TypeInitializer.Simple. withReturn() | 
| Modifier and Type | Method and Description | 
|---|---|
| TypeInitializer | TypeInitializer. expandWith(ByteCodeAppender byteCodeAppender)Expands this type initializer with another byte code appender. | 
| TypeInitializer | TypeInitializer.None. expandWith(ByteCodeAppender byteCodeAppenderFactory) | 
| TypeInitializer | TypeInitializer.Simple. expandWith(ByteCodeAppender byteCodeAppender) | 
| TypeWriter.MethodPool.Record | TypeWriter.MethodPool.Record. prepend(ByteCodeAppender byteCodeAppender)Prepends the given method appender to this entry. | 
| TypeWriter.MethodPool.Record | TypeWriter.MethodPool.Record.ForNonDefinedMethod. prepend(ByteCodeAppender byteCodeAppender) | 
| TypeWriter.MethodPool.Record | TypeWriter.MethodPool.Record.ForDefinedMethod.WithBody. prepend(ByteCodeAppender byteCodeAppender) | 
| TypeWriter.MethodPool.Record | TypeWriter.MethodPool.Record.ForDefinedMethod.WithoutBody. prepend(ByteCodeAppender byteCodeAppender) | 
| TypeWriter.MethodPool.Record | TypeWriter.MethodPool.Record.ForDefinedMethod.WithAnnotationDefaultValue. prepend(ByteCodeAppender byteCodeAppender) | 
| TypeWriter.MethodPool.Record | TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge. prepend(ByteCodeAppender byteCodeAppender) | 
| TypeWriter.MethodPool.Record | TypeWriter.MethodPool.Record.AccessBridgeWrapper. prepend(ByteCodeAppender byteCodeAppender) | 
| InstrumentedType | InstrumentedType. withInitializer(ByteCodeAppender byteCodeAppender)Creates a new instrumented type that executes the given initializer in the instrumented type's
 type initializer. | 
| InstrumentedType.WithFlexibleName | InstrumentedType.WithFlexibleName. withInitializer(ByteCodeAppender byteCodeAppender) | 
| InstrumentedType.WithFlexibleName | InstrumentedType.Default. withInitializer(ByteCodeAppender byteCodeAppender) | 
| Constructor and Description | 
|---|
| 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)Creates a new entry for a method that defines a method as byte code. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | DefaultMethodCall.AppenderThe appender for implementing a  DefaultMethodCall. | 
| class  | ExceptionMethodThis implementation causes a  Throwableto be thrown when the instrumented method is invoked. | 
| protected class  | FieldAccessor.AppenderAn byte code appender for an field accessor implementation. | 
| protected static class  | FixedValue.ForNullValueA fixed value of  null. | 
| protected class  | FixedValue.ForOriginType.AppenderAn appender for writing the origin type. | 
| protected static class  | FixedValue.ForPoolValueA fixed value implementation that represents its fixed value as a value that is written to the instrumented
 class's constant pool. | 
| protected class  | Forwarding.AppenderAn appender for implementing a  Forwardingoperation. | 
| protected static class  | Implementation.Context.Default.AbstractDelegationRecordAn abstract method pool entry that delegates the implementation of a method to itself. | 
| protected static class  | Implementation.Context.Default.AccessorMethodDelegationAn implementation of a  TypeWriter.MethodPool.Recordfor implementing
 an accessor method. | 
| protected static class  | Implementation.Context.Default.FieldGetterDelegationAn implementation for a field getter. | 
| protected static class  | Implementation.Context.Default.FieldSetterDelegationAn implementation for a field setter. | 
| protected class  | InvocationHandlerAdapter.ForInstanceDelegation.AppenderAn appender for implementing the  InvocationHandlerAdapter.ForInstanceDelegation. | 
| protected class  | InvocationHandlerAdapter.ForStaticDelegation.AppenderAn appender for implementing the  InvocationHandlerAdapter.ForStaticDelegation. | 
| protected class  | InvokeDynamic.AppenderThe byte code appender to be used by the  InvokeDynamicimplementation. | 
| protected class  | MethodCall.AppenderThe appender being used to implement a  MethodCall. | 
| protected static class  | MethodDelegation.AppenderThe appender for implementing a  MethodDelegation. | 
| class  | StubMethodThis implementation creates a method stub which does nothing but returning the default value of the return
 type of the method. | 
| protected static class  | SuperMethodCall.AppenderAn appender for implementing a  SuperMethodCall. | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteCodeAppender | Implementation. appender(Implementation.Target implementationTarget)Creates a byte code appender that determines the implementation of the instrumented type's methods. | 
| ByteCodeAppender | Implementation.Compound. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | Implementation.Simple. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | StubMethod. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | FieldAccessor.ForUnnamedField. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | FieldAccessor.ForNamedField. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | MethodCall. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | ExceptionMethod. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | Forwarding. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | DefaultMethodCall. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | InvocationHandlerAdapter.ForStaticDelegation. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | InvocationHandlerAdapter.ForInstanceDelegation. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | FixedValue.ForOriginType. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | FixedValue.ForNullValue. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | FixedValue.ForPoolValue. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | FixedValue.ForStaticField. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | MethodDelegation. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | InvokeDynamic. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | InvokeDynamic.WithImplicitFieldType. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | InvokeDynamic.WithImplicitArgumentType. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | SuperMethodCall. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | SuperMethodCall.WithoutReturn. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | Implementation.Context.ExtractableView.InjectedCode. getByteCodeAppender()Returns a byte code appender for appending the injected code. | 
| ByteCodeAppender | Implementation.Context.ExtractableView.InjectedCode.None. getByteCodeAppender() | 
| Modifier and Type | Method and Description | 
|---|---|
| TypeWriter.MethodPool.Record | Implementation.Context.Default.AbstractDelegationRecord. prepend(ByteCodeAppender byteCodeAppender) | 
| Constructor and Description | 
|---|
| Simple(ByteCodeAppender... byteCodeAppender)Creates a new simple implementation for the given byte code appenders. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | MethodCallProxy.ConstructorCall.AppenderThe appender for implementing the  MethodCallProxy.ConstructorCall. | 
| protected class  | MethodCallProxy.MethodCall.AppenderThe appender for implementing the  MethodCallProxy.MethodCall. | 
| protected class  | TypeProxy.MethodCall.AppenderImplementation of a byte code appender for a  TypeProxy.MethodCall. | 
| protected static class  | TypeProxy.SilentConstruction.AppenderThe appender for implementing a  TypeProxy.SilentConstruction. | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteCodeAppender | MethodCallProxy.ConstructorCall. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | MethodCallProxy.MethodCall. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | TypeProxy.SilentConstruction. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | TypeProxy.MethodCall. appender(Implementation.Target implementationTarget) | 
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | FieldProxy.Binder.AccessType.Getter.AppenderA byte code appender for a getter method. | 
| protected class  | FieldProxy.Binder.AccessType.Setter.AppenderA byte code appender for a setter method. | 
| protected static class  | FieldProxy.Binder.InstanceFieldConstructor.AppenderAn appender for implementing an
  FieldProxy.Binder.InstanceFieldConstructor. | 
| protected static class  | Morph.Binder.RedirectionProxy.InstanceFieldConstructor.AppenderThe byte code appender that implements the constructor. | 
| protected class  | Morph.Binder.RedirectionProxy.MethodCall.AppenderThe byte code appender to implement the method. | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteCodeAppender | FieldProxy.Binder.StaticFieldConstructor. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | FieldProxy.Binder.AccessType.Getter. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | FieldProxy.Binder.AccessType.Setter. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | FieldProxy.Binder.InstanceFieldConstructor. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | Morph.Binder.RedirectionProxy.StaticFieldConstructor. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | Morph.Binder.RedirectionProxy.InstanceFieldConstructor. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | Morph.Binder.RedirectionProxy.MethodCall. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | Pipe.Binder.Redirection.ConstructorCall. appender(Implementation.Target implementationTarget) | 
| ByteCodeAppender | Pipe.Binder.Redirection.MethodCall. appender(Implementation.Target implementationTarget) | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ByteCodeAppender.CompoundA compound appender that combines a given number of other byte code appenders. | 
| static class  | ByteCodeAppender.SimpleA simple byte code appender that only represents a given array of
  StackManipulations. | 
| Constructor and Description | 
|---|
| Compound(ByteCodeAppender... byteCodeAppender)Creates a new compound byte code appender. | 
| Constructor and Description | 
|---|
| Compound(List<? extends ByteCodeAppender> byteCodeAppenders)Creates a new compound byte code appender. | 
Copyright © 2014–2016. All rights reserved.