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.FieldNameExtractor, FieldAccessor.ForImplicitProperty, FieldAccessor.ForParameterSetter, FieldAccessor.OwnerTypeLocatable, FieldAccessor.PropertyConfigurableImplementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Targetassigner, fieldLocatorFactory, fieldNameExtractor, typing| Modifier | Constructor and Description |
|---|---|
protected |
ForParameterSetter(FieldAccessor.FieldNameExtractor fieldNameExtractor,
FieldLocator.Factory fieldLocatorFactory,
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, ofBeanProperty, ofField, prepare, setterclone, finalize, getClass, notify, notifyAll, wait, wait, waitprepareprotected ForParameterSetter(FieldAccessor.FieldNameExtractor fieldNameExtractor, FieldLocator.Factory fieldLocatorFactory, Assigner assigner, Assigner.Typing typing, int index)
fieldLocatorFactory - The field name extractor to be used.fieldNameExtractor - A factory for creating a field locator for implementing this field accessor.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)
Implementationappender in interface ImplementationimplementationTarget - The target of the current implementation.InstrumentedType.Prepareable.prepare(InstrumentedType).public Implementation andThen(Implementation implementation)
Implementation.ComposableandThen in interface Implementation.Composableimplementation - The subsequent implementation.public boolean equals(Object object)
equals in class FieldAccessorpublic int hashCode()
hashCode in class FieldAccessorCopyright © 2014–2016. All rights reserved.