protected static interface FieldProxy.Binder.FieldResolver
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FieldProxy.Binder.FieldResolver.Factory
A factory for creating a field resolver.
|
static class |
FieldProxy.Binder.FieldResolver.ForGetter
A field resolver for a getter accessor.
|
static class |
FieldProxy.Binder.FieldResolver.ForGetterSetterPair
A field resolver for an accessor that both gets and sets a field value.
|
static class |
FieldProxy.Binder.FieldResolver.ForSetter
A field resolver for a setter accessor.
|
static class |
FieldProxy.Binder.FieldResolver.Unresolved
An unresolved field resolver.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder<?> |
apply(DynamicType.Builder<?> builder,
FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory)
Applies this field resolver to a dynamic type.
|
TypeDescription |
getProxyType()
Returns the type of the field access proxy.
|
boolean |
isResolved()
Returns
true if the field access can be established. |
boolean isResolved()
true if the field access can be established.true if the field access can be established.TypeDescription getProxyType()
DynamicType.Builder<?> apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)
builder - The dynamic type builder to use.fieldDescription - The accessed field.assigner - The assigner to use.methodAccessorFactory - The method accessor factory to use.Copyright © 2014–2025. All rights reserved.