Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
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.
|
Class and Description |
---|
TargetMethodAnnotationDrivenBinder.ParameterBinder
A parameter binder is used as a delegate for binding a parameter according to a particular annotation type found
on this parameter.
|
Class and Description |
---|
AllArguments
Parameters that are annotated with this annotation will be assigned a collection (or an array) containing
all arguments of the source method.
|
AllArguments.Assignment
A directive for how an
AllArguments
annotation on an array is to be interpreted. |
AllArguments.Binder
A binder for handling the
AllArguments
annotation. |
Argument
Parameters that are annotated with this annotation will be assigned the value of the parameter of the source method
with the given parameter.
|
Argument.Binder
A binder for handling the
Argument
annotation. |
Argument.BindingMechanic
Determines if a parameter binding should be considered for resolving ambiguous method bindings.
|
BindingPriority.Resolver
An ambiguity resolver that considers the priority of a method as defined by the
BindingPriority
annotation. |
Default
Parameters that are annotated with this annotation are assigned an instance of an auxiliary proxy type that allows calling
any default method of an interface of the instrumented type where the parameter type must be an interface that is
directly implemented by the instrumented type.
|
Default.Binder
A binder for the
Default annotation. |
Default.Binder.TypeLocator
Locates the type which should be the base type of the created proxy.
|
Default.Binder.TypeLocator.ForParameterType
A type locator that yields the target parameter's type.
|
DefaultCall
A parameter with this annotation is assigned a proxy for invoking a default method that fits the intercepted method.
|
DefaultCall.Binder
A binder for handling the
DefaultCall
annotation. |
DefaultCall.Binder.DefaultMethodLocator
A default method locator is responsible for looking up a default method to a given source method.
|
DefaultCall.Binder.DefaultMethodLocator.Implicit
An implicit default method locator that only permits the invocation of a default method if the source
method itself represents a method that was defined on a default method interface.
|
DefaultMethod
A parameter with this annotation is assigned an instance of
Method which invokes a default method implementation of this method. |
DefaultMethod.Binder
A binder for the
DefaultMethod annotation. |
DefaultMethod.Binder.MethodLocator
A method locator is responsible for creating the super method call.
|
DefaultMethod.Binder.MethodLocator.ForImplicitType
A method locator for an implicit target type.
|
Empty
Binds the parameter type's default value to the annotated parameter, i.e.
|
Empty.Binder
A binder for the
Empty annotation. |
FieldProxy
Using this annotation it is possible to access fields by getter and setter types.
|
FieldProxy.Binder.FieldResolver
A resolver for creating an instrumentation for a field access.
|
FieldProxy.Binder.FieldResolver.Factory
A factory for creating a field resolver.
|
FieldProxy.Binder.FieldResolver.Unresolved
An unresolved field resolver.
|
FieldProxy.Binder.StaticFieldConstructor
Represents an implementation for implementing a proxy type constructor when a static field is accessed.
|
FieldValue
Assigns the value of a field of the instrumented type to the annotated parameter.
|
FieldValue.Binder
Binds a
FieldValue annotation. |
Morph
This annotation instructs Byte Buddy to inject a proxy class that calls a method's super method with
explicit arguments.
|
Morph.Binder.DefaultMethodLocator
A default method locator is responsible for looking up a default method to a given source method.
|
Morph.Binder.DefaultMethodLocator.Implicit
An implicit default method locator that only permits the invocation of a default method if the source
method itself represents a method that was defined on a default method interface.
|
Morph.Binder.RedirectionProxy.StaticFieldConstructor
Creates an instance of the proxy when instrumenting a static method.
|
Origin
The origin annotation provides some meta information about the source method that is bound to this method where
the binding is dependant of the parameter's type:
|
Origin.Binder
A binder for binding parameters that are annotated with
Origin . |
Pipe
A target method parameter that is annotated with this annotation allows to forward an intercepted method
invocation to another instance.
|
Pipe.Binder.Redirection.ConstructorCall
The implementation to implement a
Pipe.Binder.Redirection 's
constructor. |
StubValue
A stub value represents the (boxed) default value of the intercepted method's return type.
|
StubValue.Binder
Binds the
StubValue annotation. |
Super
Parameters that are annotated with this annotation are assigned an instance of an auxiliary proxy type that allows calling
any
super methods of the instrumented type where the parameter type must be a super type of the instrumented type. |
Super.Binder
A binder for handling the
Super
annotation. |
Super.Binder.TypeLocator
Locates the type which should be the base type of the created proxy.
|
Super.Binder.TypeLocator.ForInstrumentedType
A type locator that yields the instrumented type.
|
Super.Binder.TypeLocator.ForParameterType
A type locator that yields the target parameter's type.
|
Super.Instantiation
Determines the instantiation of the proxy type.
|
SuperCall
Parameters that are annotated with this annotation will be assigned a proxy for calling the instrumented method's
super implementation. |
SuperCall.Binder
A binder for handling the
SuperCall
annotation. |
SuperMethod
A parameter with this annotation is assigned an instance of
Method which invokes the super implementation of this method. |
SuperMethod.Binder
A binder for the
SuperMethod annotation. |
TargetMethodAnnotationDrivenBinder.DelegationProcessor
A delegation processor is a helper class for a
TargetMethodAnnotationDrivenBinder
for performing its actual logic. |
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
A handler is responsible for processing a parameter's binding.
|
TargetMethodAnnotationDrivenBinder.ParameterBinder
A parameter binder is used as a delegate for binding a parameter according to a particular annotation type found
on this parameter.
|
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFieldBinding
A parameter binder that binds a field's value.
|
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue
Implements a parameter binder that binds a fixed value to a parameter with a given annotation.
|
This
Parameters that are annotated with this annotation will be assigned a reference to the instrumented object, if
the instrumented method is not static.
|
This.Binder
A binder for handling the
This
annotation. |
Copyright © 2014–2020. All rights reserved.