Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Class<FieldProxy> |
FieldProxy.Binder.getHandledType() |
static TargetMethodAnnotationDrivenBinder.ParameterBinder<FieldProxy> |
FieldProxy.Binder.install(Class<?> type)
Creates a binder by installing a single proxy type where annotating a parameter with
FieldProxy allows
getting and setting values for a given field. |
static TargetMethodAnnotationDrivenBinder.ParameterBinder<FieldProxy> |
FieldProxy.Binder.install(Class<?> getterType,
Class<?> setterType)
Creates a binder by installing two proxy types which are implemented by this binder if a field getter
or a field setter is requested by using the
FieldProxy annotation. |
static TargetMethodAnnotationDrivenBinder.ParameterBinder<FieldProxy> |
FieldProxy.Binder.install(TypeDescription typeDescription)
Creates a binder by installing a single proxy type where annotating a parameter with
FieldProxy allows
getting and setting values for a given field. |
static TargetMethodAnnotationDrivenBinder.ParameterBinder<FieldProxy> |
FieldProxy.Binder.install(TypeDescription getterType,
TypeDescription setterType)
Creates a binder by installing two proxy types which are implemented by this binder if a field getter
or a field setter is requested by using the
FieldProxy annotation. |
Modifier and Type | Method and Description |
---|---|
protected MethodDelegationBinder.ParameterBinding<?> |
FieldProxy.Binder.bind(FieldDescription fieldDescription,
AnnotationDescription.Loadable<FieldProxy> annotation,
MethodDescription source,
ParameterDescription target,
Implementation.Target implementationTarget,
Assigner assigner) |
protected TypeDescription |
FieldProxy.Binder.declaringType(AnnotationDescription.Loadable<FieldProxy> annotation) |
protected String |
FieldProxy.Binder.fieldName(AnnotationDescription.Loadable<FieldProxy> annotation) |
Copyright © 2014–2017. All rights reserved.