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.
|
Class and Description |
---|
TargetMethodAnnotationDrivenBinder.DefaultsProvider
Implementations of the defaults provider interface create annotations for parameters that are not annotated with
a known annotation.
|
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.
|
Argument.NextUnboundAsDefaultsProvider
If this defaults provider is active, a non-annotated parameter is assumed to be implicitly bound to the next
source method parameter that is not bound by any other target method parameter, i.e.
|
BindingPriority.Resolver
An ambiguity resolver that considers the priority of a method as defined by the
BindingPriority
annotation. |
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. |
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:
If the annotated parameter is of type
Method , the parameter is assigned a reference
to the method it intercepts.
If the annotated parameter is of type Class , the parameter is assigned a reference of the
type of the instrumented type.
If the annotated parameter is of type String , the parameter is assigned a string describing
a unique method signature of the method it intercepts. |
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.
|
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.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. |
TargetMethodAnnotationDrivenBinder.DefaultsProvider
Implementations of the defaults provider interface create annotations for parameters that are not annotated with
a known annotation.
|
TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty
A defaults provider that does not supply any defaults.
|
TargetMethodAnnotationDrivenBinder.ParameterBinder
A parameter binder is used as a delegate for binding a parameter according to a particular annotation type found
on this parameter.
|
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. All rights reserved.