@HashCodeAndEqualsPlugin.Enhance protected static class FieldProxy.Binder.FieldSetter extends Object implements Implementation
Modifier and Type | Class and Description |
---|---|
protected class |
FieldProxy.Binder.FieldSetter.Appender
A byte code appender for a setter method.
|
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Target
Modifier | Constructor and Description |
---|---|
protected |
FieldSetter(FieldDescription fieldDescription,
Assigner assigner,
MethodAccessorFactory methodAccessorFactory)
Creates a new setter implementation.
|
Modifier and Type | Method and Description |
---|---|
ByteCodeAppender |
appender(Implementation.Target implementationTarget)
Creates a byte code appender that determines the implementation of the instrumented type's methods.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.
|
protected FieldSetter(FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)
fieldDescription
- The field that is being accessed.assigner
- The assigner to use.methodAccessorFactory
- The accessed type's method accessor factory.public InstrumentedType prepare(InstrumentedType instrumentedType)
prepare
in interface InstrumentedType.Prepareable
instrumentedType
- The instrumented type in its current form.public ByteCodeAppender appender(Implementation.Target implementationTarget)
appender
in interface Implementation
implementationTarget
- The target of the current implementation.InstrumentedType.Prepareable.prepare(InstrumentedType)
.Copyright © 2014–2020. All rights reserved.