Top Description Inners Fields Constructors Methods
net.bytebuddy.implementation.bind.annotation

public Class TargetMethodAnnotationDrivenBinder

extends Object
implements MethodDelegationBinder
Class Inheritance
All Implemented Interfaces
net.bytebuddy.implementation.bind.MethodDelegationBinder
Annotations
@Enhance
Imports
edu.umd.cs.findbugs.annotations.SuppressFBWarnings, net.bytebuddy.build.HashCodeAndEqualsPlugin, net.bytebuddy.description.annotation.AnnotationDescription, net.bytebuddy.description.field.FieldDescription, net.bytebuddy.description.method.MethodDescription, .ParameterDescription, net.bytebuddy.description.type.TypeDescription, net.bytebuddy.dynamic.scaffold.FieldLocator, net.bytebuddy.implementation.Implementation, net.bytebuddy.implementation.bind.MethodDelegationBinder, net.bytebuddy.implementation.bytecode.StackManipulation, net.bytebuddy.implementation.bytecode.assign.Assigner, net.bytebuddy.implementation.bytecode.constant.DefaultValue, net.bytebuddy.utility.ConstantValue, .JavaConstant, net.bytebuddy.utility.nullability.MaybeNull, java.lang.annotation.Annotation, java.util.*

This net.bytebuddy.implementation.bind.MethodDelegationBinder binds method by analyzing annotations found on the target method that is subject to a method binding.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class
public static interface
TargetMethodAnnotationDrivenBinder.ParameterBinder<
The java.lang.annotation.Annotation#annotationType() handled by this parameter binder.
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.

protected static class
TargetMethodAnnotationDrivenBinder.Record

A compiled record of a target method annotation-driven binder.

Field Summary

Modifier and TypeField and Description
private final TargetMethodAnnotationDrivenBinder.DelegationProcessor
delegationProcessor

The processor for performing an actual method delegation.

Constructor Summary

AccessConstructor and Description
protected
TargetMethodAnnotationDrivenBinder(TargetMethodAnnotationDrivenBinder.DelegationProcessor
The delegation processor to use.
delegationProcessor
)

Creates a new target method annotation-driven binder.

Method Summary

Modifier and TypeMethod and Description
public MethodDelegationBinder.Record
compile(MethodDescription
The target method to bind.
candidate
)

Implements net.bytebuddy.implementation.bind.MethodDelegationBinder.compile.

Compiles this method delegation binder for a target method.
public static MethodDelegationBinder

Returns:

An appropriate method delegation binder.
of
(List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>>
A list of parameter binder delegates. Each such delegate is responsible for creating a net.bytebuddy.implementation.bind.MethodDelegationBinder.ParameterBinding for a specific annotation.
parameterBinders
)

Creates a new method delegation binder that binds method based on annotations found on the target method.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait