java.lang.Object
type and takes no arguments. The setter interface
must similarly return void
and take a single java.lang.Object
argument. After installing these
interfaces with the FieldProxy.Binder
, this
binder needs to be registered with a net.bytebuddy.implementation.MethodDelegation
before it can be used.
net.bytebuddy.implementation.MethodDelegation
, net.bytebuddy.implementation.bind.annotation.TargetMethodAnnotationDrivenBinder
Modifier and Type | Class and Description |
---|---|
public static class | FieldProxy.Binder
A binder for the |
Modifier and Type | Method and Description |
---|---|
public Class | Returns: The type that defines the accessed field.Determines which type defines the field that is to be accessed. |
public boolean | Returns: true if the proxy should be serializable.Determines if the proxy should be serializable. |
public String | Returns: The name of the field to be accessed.Determines the name of the field that is to be accessed. |