@HashCodeAndEqualsPlugin.Enhance public static class FieldProxy.Binder.FieldResolver.Factory.Duplex extends java.lang.Object implements FieldProxy.Binder.FieldResolver.Factory
FieldProxy.Binder.FieldResolver.Factory.Duplex, FieldProxy.Binder.FieldResolver.Factory.Simplex| Modifier and Type | Field and Description |
|---|---|
private MethodDescription.InDefinedShape |
getterMethod
The getter method.
|
private TypeDescription |
proxyType
The type of the accessor proxy.
|
private MethodDescription.InDefinedShape |
setterMethod
The setter method.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Duplex(TypeDescription proxyType,
MethodDescription.InDefinedShape getterMethod,
MethodDescription.InDefinedShape setterMethod)
Creates a new duplex factory.
|
| Modifier and Type | Method and Description |
|---|---|
FieldProxy.Binder.FieldResolver |
resolve(TypeDescription parameterType,
FieldDescription fieldDescription)
Creates a field resolver.
|
private final TypeDescription proxyType
private final MethodDescription.InDefinedShape getterMethod
private final MethodDescription.InDefinedShape setterMethod
protected Duplex(TypeDescription proxyType, MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod)
proxyType - The type of the accessor proxy.getterMethod - The getter method.setterMethod - The setter method.public FieldProxy.Binder.FieldResolver resolve(TypeDescription parameterType, FieldDescription fieldDescription)
resolve in interface FieldProxy.Binder.FieldResolver.FactoryparameterType - The type of the annotated parameter.fieldDescription - The field being proxied.