protected static class FieldAccessor.ForParameterSetter extends FieldAccessor implements Implementation.Composable
ofBeanProperty
Modifier and Type | Class and Description |
---|---|
protected class |
FieldAccessor.ForParameterSetter.Appender
An appender for a field accessor that sets a parameter of a given index.
|
protected static class |
FieldAccessor.ForParameterSetter.TerminationHandler
A termination handler is responsible for handling a field accessor's return.
|
FieldAccessor.AssignerConfigurable, FieldAccessor.FieldLocation, FieldAccessor.FieldNameExtractor, FieldAccessor.ForImplicitProperty, FieldAccessor.ForParameterSetter, FieldAccessor.OwnerTypeLocatable, FieldAccessor.PropertyConfigurable
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Target
assigner, fieldLocation, typing
Modifier | Constructor and Description |
---|---|
protected |
ForParameterSetter(FieldAccessor.FieldLocation fieldLocation,
Assigner assigner,
Assigner.Typing typing,
int index)
Creates a new field accessor.
|
Modifier and Type | Method and Description |
---|---|
Implementation |
andThen(Implementation implementation)
Appends the supplied implementation to this implementation.
|
ByteCodeAppender |
appender(Implementation.Target implementationTarget)
Creates a byte code appender that determines the implementation of the instrumented type's methods.
|
boolean |
equals(Object object) |
int |
hashCode() |
String |
toString() |
getter, of, of, of, ofBeanProperty, ofField, prepare, setter
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
prepare
protected ForParameterSetter(FieldAccessor.FieldLocation fieldLocation, Assigner assigner, Assigner.Typing typing, int index)
fieldLocation
- The field's location.assigner
- The assigner to use.typing
- Indicates if dynamic type castings should be attempted for incompatible assignments.index
- The targeted parameter index.public ByteCodeAppender appender(Implementation.Target implementationTarget)
Implementation
appender
in interface Implementation
implementationTarget
- The target of the current implementation.InstrumentedType.Prepareable.prepare(InstrumentedType)
.public Implementation andThen(Implementation implementation)
Implementation.Composable
andThen
in interface Implementation.Composable
implementation
- The subsequent implementation.public boolean equals(Object object)
equals
in class FieldAccessor
public int hashCode()
hashCode
in class FieldAccessor
Copyright © 2014–2017. All rights reserved.