| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | ByteBuddy.EnumerationImplementationAn implementation fo the  valuesmethod of an enumeration type. | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteBuddy.MethodAnnotationTarget | ByteBuddy.MethodInterceptable. intercept(Implementation implementation)Intercepts the given method with the given implementations. | 
| ByteBuddy.MethodAnnotationTarget | ByteBuddy.OptionalMethodInterception. intercept(Implementation implementation) | 
| ByteBuddy.MethodAnnotationTarget | ByteBuddy.MatchedMethodInterception. intercept(Implementation implementation) | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AgentBuilder.Default.InitializationStrategy.SelfInjectionAn initialization strategy that adds a code block to an instrumented type's type initializer which
 then calls a specific class that is responsible for the explicit initialization. | 
| Modifier and Type | Method and Description | 
|---|---|
| DynamicType.Builder.MethodAnnotationTarget<S> | DynamicType.Builder.MatchedMethodInterception. intercept(Implementation implementation)Intercepts the currently selected method by a given implementation. | 
| DynamicType.Builder.MethodAnnotationTarget<S> | DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception. intercept(Implementation implementation) | 
| DynamicType.Builder.MethodAnnotationTarget<S> | DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception. intercept(Implementation implementation) | 
| DynamicType.Builder.MethodAnnotationTarget<S> | DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception. intercept(Implementation implementation) | 
| Constructor and Description | 
|---|
| ForImplementation(Implementation implementation)Creates a new handler for implementing a method with byte code. | 
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | FieldAccessor.AssignerConfigurableA field accessor that can be configured to use a given assigner and runtime type use configuration. | 
| static interface  | FieldAccessor.FieldDefinableDetermines a field accessor that accesses a field of a given name which might not yet be
 defined. | 
| static interface  | FieldAccessor.OwnerTypeLocatableA field accessor that can be configured to locate a field in a specific manner. | 
| static interface  | FixedValue.AssignerConfigurableRepresents a fixed value implementation that is using a default assigner for attempting to assign
 the fixed value to the return type of the instrumented method. | 
| protected static interface  | InvocationHandlerAdapter.AssignerConfigurableAllows for the configuration of an  Assignerof anInvocationHandlerAdapter. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultMethodCallThis  Implementationinvokes a default method for the methods it instruments. | 
| class  | ExceptionMethodThis implementation causes a  Throwableto be thrown when the instrumented method is invoked. | 
| class  | FieldAccessorDefines a method to access a given field by following the Java bean conventions for getters and setters:
 
 Getter: A method named  getFoo()will be instrumented to read and return the value of a fieldfooor another field if one was specified explicitly. | 
| protected static class  | FieldAccessor.ForNamedFieldImplementation of a field accessor implementation where the field name is given explicitly. | 
| protected static class  | FieldAccessor.ForUnnamedFieldImplementation of a field accessor implementation where a field is identified by a method's name following
 the Java specification for bean properties. | 
| class  | FixedValueThis implementation returns a fixed value for a method. | 
| 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 static class  | FixedValue.ForStaticFieldA fixed value implementation that represents its fixed value as a static field of the instrumented class. | 
| class  | ForwardingThis implementation forwards method invocations to another instance. | 
| static class  | Implementation.CompoundA compound implementation that allows to combine several implementations. | 
| static class  | Implementation.SimpleA simple implementation that does not register any members with the instrumented type. | 
| class  | InvocationHandlerAdapterAn adapter for adapting an  InvocationHandler. | 
| protected static class  | InvocationHandlerAdapter.ForInstanceDelegationAn implementation of an  InvocationHandlerAdapterthat delegates method
 invocations to an adapter that is stored in an instance field. | 
| protected static class  | InvocationHandlerAdapter.ForStaticDelegationAn implementation of an  InvocationHandlerAdapterthat delegates method
 invocations to an adapter that is stored in a static field. | 
| class  | InvokeDynamicAn implementation that applies a
 dynamic method invocation. | 
| protected static class  | InvokeDynamic.AbstractDelegatorAn abstract delegator that allows to specify a configuration for any specification of an argument. | 
| static class  | InvokeDynamic.WithImplicitArgumentsRepresentation of an  InvokeDynamicimplementation where the bootstrapped
 method is passed athisreference, if available, and any arguments of the instrumented method. | 
| static class  | InvokeDynamic.WithImplicitArgumentTypeAn invoke dynamic implementation where the last argument is an implicitly typed method argument. | 
| static class  | InvokeDynamic.WithImplicitFieldTypeA step in the invoke dynamic domain specific language that allows to explicitly specify a field type for a reference value. | 
| static class  | InvokeDynamic.WithImplicitTargetRepresentation of an  InvokeDynamicimplementation where the bootstrapped
 method is passed athisreference, if available, and any arguments of the instrumented method and
 where the invocation target is implicit. | 
| class  | MethodCallThis  Implementationallows the invocation of a specified method while
 providing explicit arguments to this method. | 
| static class  | MethodCall.WithoutSpecifiedTargetRepresents a  MethodCallthat invokes a method without specifying
 an invocation method. | 
| class  | MethodDelegationThis implementation delegates an method call to another method which can either be  staticby providing
 a reference to aClassor an instance method when another object is provided. | 
| class  | StubMethodThis implementation creates a method stub which does nothing but returning the default value of the return
 type of the method. | 
| class  | SuperMethodCallThis implementation will create a new method which simply calls its super method. | 
| protected static class  | SuperMethodCall.WithoutReturnA super method invocation where the return value is dropped instead of returning from the method. | 
| Modifier and Type | Method and Description | 
|---|---|
| Implementation | SuperMethodCall. andThen(Implementation implementation)Appends another implementation to a super method call. | 
| Implementation | MethodDelegation. andThen(Implementation implementation)Appends another  Implementationto a method delegation. | 
| Implementation | MethodCall. andThen(Implementation implementation)Applies another implementation after invoking this method call. | 
| Implementation | InvokeDynamic. andThen(Implementation implementation)Applies this invoke dynamic implementation and removes the return value of the bootstrapped method from
 the operand stack before applying the provided implementation. | 
| Implementation | InvokeDynamic.WithImplicitFieldType. andThen(Implementation implementation) | 
| Implementation | InvokeDynamic.WithImplicitArgumentType. andThen(Implementation implementation) | 
| static Implementation | FixedValue. nullValue()Creates a fixed value implementation that returns  nullas a fixed value. | 
| static Implementation | DefaultMethodCall. prioritize(Class<?>... prioritizedInterface)Creates a  DefaultMethodCallimplementation which searches the given list
 of interface types for a suitable default method in their order. | 
| static Implementation | DefaultMethodCall. prioritize(Collection<? extends TypeDescription> prioritizedInterfaces)Creates a  DefaultMethodCallimplementation which searches the given list
 of interface types for a suitable default method in their order. | 
| static Implementation | DefaultMethodCall. prioritize(TypeDescription... prioritizedInterface)Creates a  DefaultMethodCallimplementation which searches the given list
 of interface types for a suitable default method in their order. | 
| static Implementation | ExceptionMethod. throwing(Class<? extends Throwable> exceptionType)Creates an implementation that creates a new instance of the given isThrowable type on each method invocation
 which is then thrown immediately. | 
| static Implementation | ExceptionMethod. throwing(Class<? extends Throwable> exceptionType,
        String message)Creates an implementation that creates a new instance of the given isThrowable type on each method invocation
 which is then thrown immediately. | 
| static Implementation | ExceptionMethod. throwing(TypeDescription exceptionType)Creates an implementation that creates a new instance of the given isThrowable type on each method invocation
 which is then thrown immediately. | 
| static Implementation | ExceptionMethod. throwing(TypeDescription exceptionType,
        String message)Creates an implementation that creates a new instance of the given isThrowable type on each method invocation
 which is then thrown immediately. | 
| static Implementation | Forwarding. to(Object delegate)Forwards all intercepted method invocations to the given instance which is stored in a  staticfield
 of the instrumented class. | 
| static Implementation | Forwarding. to(Object delegate,
  String fieldName)Forwards all intercepted method invocations to the given instance which is stored in a  staticfield
 of the instrumented class. | 
| static Implementation | Forwarding. toInstanceField(String fieldName,
               Class<?> fieldType)Forwards all intercepted method invocations to an instance field of the instrumented class. | 
| static Implementation | Forwarding. toInstanceField(String fieldName,
               TypeDescription fieldType)Forwards all intercepted method invocations to an instance field of the instrumented class. | 
| static Implementation | Forwarding. toStaticField(String fieldName,
             Class<?> fieldType)Forwards all intercepted method invocations to a  staticfield of the instrumented class. | 
| static Implementation | Forwarding. toStaticField(String fieldName,
             TypeDescription fieldType)Forwards all intercepted method invocations to a  staticfield of the instrumented class. | 
| static Implementation | DefaultMethodCall. unambiguousOnly()Creates a  DefaultMethodCallimplementation without prioritizing any
 interface. | 
| Implementation | InvocationHandlerAdapter.AssignerConfigurable. withAssigner(Assigner assigner)Configures an assigner to use with this invocation handler adapter. | 
| Implementation | InvocationHandlerAdapter.ForStaticDelegation. withAssigner(Assigner assigner) | 
| Implementation | InvocationHandlerAdapter.ForInstanceDelegation. withAssigner(Assigner assigner) | 
| Implementation | FixedValue.AssignerConfigurable. withAssigner(Assigner assigner,
            boolean dynamicallyTyped)Defines an explicit assigner to this fixed value implementation. | 
| Implementation | FixedValue.ForPoolValue. withAssigner(Assigner assigner,
            boolean dynamicallyTyped) | 
| Implementation | FixedValue.ForStaticField. withAssigner(Assigner assigner,
            boolean dynamicallyTyped) | 
| Implementation | FieldAccessor.AssignerConfigurable. withAssigner(Assigner assigner,
            boolean dynamicallyTyped)Returns a field accessor that is identical to this field accessor but uses the given assigner
 and runtime type use configuration. | 
| Implementation | FieldAccessor.ForUnnamedField. withAssigner(Assigner assigner,
            boolean dynamicallyTyped) | 
| Implementation | FieldAccessor.ForNamedField. withAssigner(Assigner assigner,
            boolean dynamicallyTyped) | 
| Modifier and Type | Method and Description | 
|---|---|
| Implementation | SuperMethodCall. andThen(Implementation implementation)Appends another implementation to a super method call. | 
| Implementation | MethodDelegation. andThen(Implementation implementation)Appends another  Implementationto a method delegation. | 
| Implementation | MethodCall. andThen(Implementation implementation)Applies another implementation after invoking this method call. | 
| Implementation | InvokeDynamic. andThen(Implementation implementation)Applies this invoke dynamic implementation and removes the return value of the bootstrapped method from
 the operand stack before applying the provided implementation. | 
| Implementation | InvokeDynamic.WithImplicitFieldType. andThen(Implementation implementation) | 
| Implementation | InvokeDynamic.WithImplicitArgumentType. andThen(Implementation implementation) | 
| Constructor and Description | 
|---|
| Compound(Implementation... implementation)Creates a new immutable compound implementation. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | MethodCallProxy.ConstructorCallAn implementation for a constructor of a  MethodCallProxy. | 
| protected static class  | MethodCallProxy.MethodCallAn implementation for a method of a  MethodCallProxy. | 
| protected class  | TypeProxy.MethodCallAn implementation for a method call of a  TypeProxy. | 
| protected static class  | TypeProxy.SilentConstructionAn implementation of a silent construction of a given type by using the non-standardized
  ReflectionFactory. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | FieldProxy.Binder.AccessType.GetterImplementation for a getter method. | 
| protected static class  | FieldProxy.Binder.AccessType.SetterImplementation for a setter method. | 
| protected static class  | FieldProxy.Binder.InstanceFieldConstructorRepresents an implementation for implementing a proxy type constructor when a non-static field is accessed. | 
| protected static class  | FieldProxy.Binder.StaticFieldConstructorRepresents an implementation for implementing a proxy type constructor when a static field is accessed. | 
| protected static class  | Morph.Binder.RedirectionProxy.InstanceFieldConstructorCreates an instance of the proxy when instrumenting an instance method. | 
| protected static class  | Morph.Binder.RedirectionProxy.MethodCallImplements a the method call of the morphing method. | 
| protected static class  | Morph.Binder.RedirectionProxy.StaticFieldConstructorCreates an instance of the proxy when instrumenting a static method. | 
| protected static class  | Pipe.Binder.Redirection.ConstructorCallThe implementation to implement a
  Pipe.Binder.Redirection's
 constructor. | 
| protected static class  | Pipe.Binder.Redirection.MethodCallThe implementation to implement a
  Pipe.Binder.Redirection's
 forwarding method. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract Implementation | FieldProxy.Binder.AccessType. access(FieldDescription fieldDescription,
      Assigner assigner,
      AuxiliaryType.MethodAccessorFactory methodAccessorFactory)Returns an implementation that implements the sort of accessor implementation that is represented by
 this instance. | 
Copyright © 2014–2015. All rights reserved.