See: Description
Interface | Description |
---|---|
Default.Binder.TypeLocator |
Locates the type which should be the base type of the created proxy.
|
DefaultCall.Binder.DefaultMethodLocator |
A default method locator is responsible for looking up a default method to a given source method.
|
FieldProxy.Binder.FieldResolver |
A resolver for creating an instrumentation for a field access.
|
FieldProxy.Binder.FieldResolver.Factory |
A factory for creating a field resolver.
|
Morph.Binder.DefaultMethodLocator |
A default method locator is responsible for looking up a default method to a given source method.
|
Super.Binder.TypeLocator |
Locates the type which should be the base type of the created proxy.
|
TargetMethodAnnotationDrivenBinder.DefaultsProvider |
Implementations of the defaults provider interface create annotations for parameters that are not annotated with
a known annotation.
|
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler |
A handler is responsible for processing a parameter's binding.
|
TargetMethodAnnotationDrivenBinder.ParameterBinder<T extends Annotation> |
A parameter binder is used as a delegate for binding a parameter according to a particular annotation type found
on this parameter.
|
Class | Description |
---|---|
Argument.NextUnboundAsDefaultsProvider.NextUnboundArgumentIterator |
An iterator that creates
Argument
annotations for any non-referenced index of the source method. |
Argument.NextUnboundAsDefaultsProvider.NextUnboundArgumentIterator.DefaultArgument |
A default implementation of an
Argument
annotation. |
Default.Binder.TypeLocator.ForType |
A type locator that returns a given type.
|
DefaultCall.Binder.DefaultMethodLocator.Explicit |
An explicit default method locator attempts to look up a default method in the specified interface type.
|
FieldProxy.Binder |
A binder for the
FieldProxy annotation. |
FieldProxy.Binder.FieldGetter |
Implementation for a getter method.
|
FieldProxy.Binder.FieldResolver.Factory.Duplex |
A duplex factory for a type that both sets and gets a field value.
|
FieldProxy.Binder.FieldResolver.Factory.Simplex |
A simplex factory where field getters and setters both have their own type.
|
FieldProxy.Binder.FieldResolver.ForGetter |
A field resolver for a getter accessor.
|
FieldProxy.Binder.FieldResolver.ForGetterSetterPair |
A field resolver for an accessor that both gets and sets a field value.
|
FieldProxy.Binder.FieldResolver.ForSetter |
A field resolver for a setter accessor.
|
FieldProxy.Binder.FieldSetter |
Implementation for a setter method.
|
FieldProxy.Binder.InstanceFieldConstructor |
Represents an implementation for implementing a proxy type constructor when a non-static field is accessed.
|
FieldProxy.Binder.InstanceFieldConstructor.Appender |
An appender for implementing an
FieldProxy.Binder.InstanceFieldConstructor . |
FieldValue.Binder.Delegate |
A delegate implementation for the
FieldValue.Binder . |
IgnoreForBinding.Verifier |
A non-instantiable type that allows to check if a method should be ignored for binding.
|
Morph.Binder |
A binder for the
Morph annotation. |
Morph.Binder.DefaultMethodLocator.Explicit |
An explicit default method locator attempts to look up a default method in the specified interface type.
|
Morph.Binder.RedirectionProxy |
A proxy that implements the installed interface in order to allow for a morphed super method invocation.
|
Morph.Binder.RedirectionProxy.InstanceFieldConstructor |
Creates an instance of the proxy when instrumenting an instance method.
|
Morph.Binder.RedirectionProxy.InstanceFieldConstructor.Appender |
The byte code appender that implements the constructor.
|
Morph.Binder.RedirectionProxy.MethodCall |
Implements a the method call of the morphing method.
|
Pipe.Binder |
A
TargetMethodAnnotationDrivenBinder.ParameterBinder
for binding the Pipe annotation. |
Pipe.Binder.Redirection |
An auxiliary type for performing the redirection of a method invocation as requested by the
Pipe annotation. |
Pipe.Binder.Redirection.MethodCall |
The implementation to implement a
Pipe.Binder.Redirection 's
forwarding method. |
RuntimeType.Verifier |
A non-instantiable type that allows to check if a method or parameter should consider a runtime type.
|
Super.Binder.TypeLocator.ForType |
A type locator that returns a given type.
|
TargetMethodAnnotationDrivenBinder |
This
MethodDelegationBinder binds
method by analyzing annotations found on the target method that is subject to a method binding. |
TargetMethodAnnotationDrivenBinder.DelegationProcessor |
A delegation processor is a helper class for a
TargetMethodAnnotationDrivenBinder
for performing its actual logic. |
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound<T extends Annotation> |
A bound handler represents an unambiguous parameter binder that was located for a given array of
annotations.
|
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFieldBinding<S extends Annotation> |
A parameter binder that binds a field's value.
|
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue<S extends Annotation> |
Implements a parameter binder that binds a fixed value to a parameter with a given annotation.
|
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.OfConstant<U extends Annotation> |
A parameter binder that binds a fixed value to a parameter annotation when using a
MethodDelegation . |
Enum | Description |
---|---|
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.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. a target method
bar(Object, String) would be equivalent to a bar(@Argument(0) Object, @Argument(1) String) . |
BindingPriority.Resolver |
An ambiguity resolver that considers the priority of a method as defined by the
BindingPriority
annotation. |
Default.Binder |
A binder for the
Default annotation. |
Default.Binder.TypeLocator.ForParameterType |
A type locator that yields the target parameter's type.
|
DefaultCall.Binder |
A binder for handling the
DefaultCall
annotation. |
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.
|
Empty.Binder |
A binder for the
Empty annotation. |
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.Binder |
Binds a
FieldValue annotation. |
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.Binder |
A binder for binding parameters that are annotated with
Origin . |
Pipe.Binder.Redirection.ConstructorCall |
The implementation to implement a
Pipe.Binder.Redirection 's
constructor. |
StubValue.Binder |
Binds the
StubValue annotation. |
Super.Binder |
A binder for handling the
Super
annotation. |
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.Binder |
A binder for handling the
SuperCall
annotation. |
TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty |
A defaults provider that does not supply any defaults.
|
TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty.EmptyIterator |
A trivial iterator without any elements.
|
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound |
An unbound handler is a fallback for returning an illegal binding for parameters for which no parameter
binder could be located.
|
TargetMethodAnnotationDrivenBinder.TerminationHandler |
Responsible for creating a
StackManipulation
that is applied after the interception method is applied. |
This.Binder |
A binder for handling the
This
annotation. |
Annotation Type | Description |
---|---|
AllArguments |
Parameters that are annotated with this annotation will be assigned a collection (or an array) containing
all arguments of the source method.
|
Argument |
Parameters that are annotated with this annotation will be assigned the value of the parameter of the source method
with the given parameter.
|
BindingPriority |
Defines a binding priority for a target method.
|
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.
|
DefaultCall |
A parameter with this annotation is assigned a proxy for invoking a default method that fits the intercepted method.
|
Empty |
Binds the parameter type's default value to the annotated parameter, i.e.
|
FieldProxy |
Using this annotation it is possible to access fields by getter and setter types.
|
FieldValue |
Assigns the value of a field of the instrumented type to the annotated parameter.
|
IgnoreForBinding |
Indicates that a given target method should never be considered for binding to a source method.
|
Morph |
This annotation instructs Byte Buddy to inject a proxy class that calls a method's super method with
explicit arguments.
|
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 , Constructor or
java.lang.reflect.Executable , the parameter is assigned a reference to the method or constructor it
instruments. |
Pipe |
A target method parameter that is annotated with this annotation allows to forward an intercepted method
invocation to another instance.
|
RuntimeType |
Parameters that are annotated with this annotation will be assigned by also considering the runtime type of the
target parameter.
|
StubValue |
A stub value represents the (boxed) default value of the intercepted method's return type.
|
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. |
SuperCall |
Parameters that are annotated with this annotation will be assigned a proxy for calling the instrumented method's
super implementation. |
This |
Parameters that are annotated with this annotation will be assigned a reference to the instrumented object, if
the instrumented method is not static.
|
Copyright © 2014–2016. All rights reserved.