@HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields=true) protected class FieldAccess.AccessDispatcher extends java.lang.Object implements FieldAccess.Defined
| Modifier and Type | Class and Description |
|---|---|
private class |
FieldAccess.AccessDispatcher.AbstractFieldInstruction
An abstract base implementation for accessing a field value.
|
protected class |
FieldAccess.AccessDispatcher.FieldGetInstruction
A reading field access operation.
|
protected class |
FieldAccess.AccessDispatcher.FieldPutInstruction
A writing field access operation.
|
| Modifier and Type | Field and Description |
|---|---|
private FieldDescription.InDefinedShape |
fieldDescription
A description of the accessed field.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AccessDispatcher(FieldDescription.InDefinedShape fieldDescription)
Creates a new access dispatcher.
|
| Modifier and Type | Method and Description |
|---|---|
StackManipulation |
read()
Creates a getter representation for a given field.
|
StackManipulation |
write()
Creates a setter representation for a given field.
|
private final FieldDescription.InDefinedShape fieldDescription
protected AccessDispatcher(FieldDescription.InDefinedShape fieldDescription)
fieldDescription - A description of the accessed field.public StackManipulation read()
read in interface FieldAccess.Definedpublic StackManipulation write()
write in interface FieldAccess.Defined