@HashCodeAndEqualsPlugin.Enhance public static class FieldProxy.Binder.FieldResolver.Factory.Simplex 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 MethodDescription.InDefinedShape |
setterMethod
The setter method.
|
Modifier | Constructor and Description |
---|---|
protected |
Simplex(MethodDescription.InDefinedShape getterMethod,
MethodDescription.InDefinedShape setterMethod)
Creates a simplex factory.
|
Modifier and Type | Method and Description |
---|---|
FieldProxy.Binder.FieldResolver |
resolve(TypeDescription parameterType,
FieldDescription fieldDescription)
Creates a field resolver.
|
private final MethodDescription.InDefinedShape getterMethod
private final MethodDescription.InDefinedShape setterMethod
protected Simplex(MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod)
getterMethod
- The getter method.setterMethod
- The setter method.public FieldProxy.Binder.FieldResolver resolve(TypeDescription parameterType, FieldDescription fieldDescription)
resolve
in interface FieldProxy.Binder.FieldResolver.Factory
parameterType
- The type of the annotated parameter.fieldDescription
- The field being proxied.