| Package | Description | 
|---|---|
| net.bytebuddy.instrumentation | The instrumentation package contains any logic for intercepting method calls. | 
| net.bytebuddy.instrumentation.method.bytecode.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.instrumentation.method.bytecode.stack.assign.primitive | Assignerimplementations of this package
 are capable of handling primitive types or thevoidtype. | 
| net.bytebuddy.instrumentation.method.bytecode.stack.assign.reference | Assignerimplementations of this package
 are capable of assigning non-primitive types to each other. | 
| net.bytebuddy.instrumentation.type.auxiliary | Auxiliary types describe helper types that aid as a supplementary to a given
  InstrumentedType. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Assigner | InvocationHandlerAdapter. assignerThe assigner that is used for assigning the return invocation handler's return value to the
 intercepted method's return value. | 
| protected Assigner | FixedValue. assignerThe assigner that is used for assigning the fixed value to a method's return type. | 
| protected Assigner | FieldAccessor. assignerThe assigner to use. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDelegation | MethodDelegation. assigner(Assigner assigner)Applies an assigner to the method delegation that is used for assigning method return and parameter types. | 
| Instrumentation | FieldAccessor.AssignerConfigurable. assigner(Assigner assigner,
        boolean considerRuntimeType)Returns a field accessor that is identical to this field accessor but uses the given assigner
 and runtime type use configuration. | 
| Instrumentation | FieldAccessor.ForBeanProperty. assigner(Assigner assigner,
        boolean considerRuntimeType) | 
| Instrumentation | FieldAccessor.ForNamedField. assigner(Assigner assigner,
        boolean considerRuntimeType) | 
| Instrumentation | FixedValue.AssignerConfigurable. withAssigner(Assigner assigner,
            boolean considerRuntimeType)Defines an explicit assigner to this fixed value instrumentation. | 
| Instrumentation | FixedValue.ForPoolValue. withAssigner(Assigner assigner,
            boolean considerRuntimeType) | 
| Instrumentation | FixedValue.ForStaticField. withAssigner(Assigner assigner,
            boolean considerRuntimeType) | 
| Constructor and Description | 
|---|
| FieldAccessor(Assigner assigner,
             boolean considerRuntimeType)Creates a new field accessor. | 
| FixedValue(Assigner assigner,
          boolean considerRuntimeType)Creates a new fixed value instrumentation. | 
| ForBeanProperty(Assigner assigner,
               boolean considerRuntimeType)Creates a new field accessor instrumentation. | 
| ForBeanProperty(Assigner assigner,
               boolean considerRuntimeType,
               FieldAccessor.FieldLocator.Factory fieldLocatorFactory)Creates a new field accessor instrumentation. | 
| ForNamedField(String fieldName,
             Assigner assigner,
             boolean considerRuntimeType)Creates a field accessor instrumentation for a field of a given name. | 
| ForPoolValue(StackManipulation valueLoadInstruction,
            Class<?> loadedType,
            Assigner assigner,
            boolean considerRuntimeType)Creates a new constant pool fixed value instrumentation. | 
| ForStaticField(Object fixedValue,
              Assigner assigner,
              boolean considerRuntimeType)Creates a new static field fixed value instrumentation with a random name for the field containing the fixed
 value. | 
| ForStaticField(String fieldName,
              Object fixedValue,
              Assigner assigner,
              boolean considerRuntimeType)Creates a new static field fixed value instrumentation. | 
| MethodDelegation(MethodDelegation.InstrumentationDelegate instrumentationDelegate,
                List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
                TargetMethodAnnotationDrivenBinder.DefaultsProvider<?> defaultsProvider,
                MethodDelegationBinder.AmbiguityResolver ambiguityResolver,
                Assigner assigner,
                MethodList targetMethodCandidates)Creates a new method delegation. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDelegationBinder.ParameterBinding<?> | AllArguments.Binder. bind(AllArguments annotation,
    int targetParameterIndex,
    MethodDescription source,
    MethodDescription target,
    Instrumentation.Target instrumentationTarget,
    Assigner assigner) | 
| MethodDelegationBinder.ParameterBinding<?> | Argument.Binder. bind(Argument argument,
    int targetParameterIndex,
    MethodDescription source,
    MethodDescription target,
    Instrumentation.Target instrumentationTarget,
    Assigner assigner) | 
| MethodDelegationBinder.ParameterBinding<?> | DefaultCall.Binder. bind(DefaultCall annotation,
    int targetParameterIndex,
    MethodDescription source,
    MethodDescription target,
    Instrumentation.Target instrumentationTarget,
    Assigner assigner) | 
| MethodDelegationBinder.ParameterBinding<?> | Origin.Binder. bind(Origin annotation,
    int targetParameterIndex,
    MethodDescription source,
    MethodDescription target,
    Instrumentation.Target instrumentationTarget,
    Assigner assigner) | 
| MethodDelegationBinder.ParameterBinding<?> | Pipe.Binder. bind(Pipe annotation,
    int targetParameterIndex,
    MethodDescription source,
    MethodDescription target,
    Instrumentation.Target instrumentationTarget,
    Assigner assigner) | 
| MethodDelegationBinder.ParameterBinding<?> | SuperCall.Binder. bind(SuperCall annotation,
    int targetParameterIndex,
    MethodDescription source,
    MethodDescription target,
    Instrumentation.Target instrumentationTarget,
    Assigner assigner) | 
| MethodDelegationBinder.ParameterBinding<?> | Super.Binder. bind(Super annotation,
    int targetParameterIndex,
    MethodDescription source,
    MethodDescription target,
    Instrumentation.Target instrumentationTarget,
    Assigner assigner) | 
| MethodDelegationBinder.ParameterBinding<?> | This.Binder. bind(This annotation,
    int targetParameterIndex,
    MethodDescription source,
    MethodDescription target,
    Instrumentation.Target instrumentationTarget,
    Assigner assigner) | 
| MethodDelegationBinder.ParameterBinding<?> | TargetMethodAnnotationDrivenBinder.ParameterBinder. bind(T annotation,
    int targetParameterIndex,
    MethodDescription source,
    MethodDescription target,
    Instrumentation.Target instrumentationTarget,
    Assigner assigner)Creates a parameter binding for the given target parameter. | 
| protected abstract MethodDelegationBinder.ParameterBinding<?> | Argument.BindingMechanic. makeBinding(TypeDescription sourceType,
           TypeDescription targetType,
           int sourceParameterIndex,
           Assigner assigner,
           boolean considerRuntimeType,
           int parameterOffset)Creates a binding that corresponds to this binding mechanic. | 
| Constructor and Description | 
|---|
| Redirection(TypeDescription forwardingType,
           MethodDescription sourceMethod,
           Assigner assigner,
           boolean serializableProxy,
           MethodLookupEngine.Factory methodLookupEngineFactory)Creates a new redirection. | 
| TargetMethodAnnotationDrivenBinder(List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
                                  TargetMethodAnnotationDrivenBinder.DefaultsProvider<?> defaultsProvider,
                                  Assigner assigner,
                                  MethodDelegationBinder.MethodInvoker methodInvoker)Creates a new method delegation binder that binds method based on annotations found on the target method. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PrimitiveTypeAwareAssignerThis assigner is able to handle non- void, primitive types. | 
| class  | VoidAwareAssignerThis assigner is able to handle the  voidtype. | 
| Modifier and Type | Method and Description | 
|---|---|
| StackManipulation | PrimitiveBoxingDelegate. assignBoxedTo(TypeDescription targetType,
             Assigner chainedAssigner,
             boolean considerRuntimeType)Creates a stack manipulation that boxes the represented primitive type and applies a chained assignment
 to the result of this boxing operation. | 
| StackManipulation | PrimitiveUnboxingDelegate.UnboxingResponsible. assignUnboxedTo(TypeDescription targetType,
               Assigner assigner,
               boolean considerRuntimeType)Attempts to unbox the represented type in order to assign the unboxed value to the given target type
 while using the assigner that is provided by the method call. | 
| Constructor and Description | 
|---|
| PrimitiveTypeAwareAssigner(Assigner referenceTypeAwareAssigner)Creates a new assigner with the given delegate. | 
| VoidAwareAssigner(Assigner nonVoidAwareAssigner,
                 boolean returnDefaultValue)Creates a new assigner that is capable of handling void types. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ReferenceTypeAwareAssignerA simple assigner that is capable of handling the casting of reference types. | 
| Constructor and Description | 
|---|
| MethodCallProxy(Instrumentation.SpecialMethodInvocation specialMethodInvocation,
               boolean serializableProxy,
               Assigner assigner)Creates a new method call proxy for a given method. | 
Copyright © 2014. All rights reserved.