@HashCodeAndEqualsPlugin.Enhance protected static class FieldAccessor.ForSetter.OfParameterValue extends FieldAccessor.ForSetter<Void>
FieldAccessor.ForSetter.Appender, FieldAccessor.ForSetter.OfConstantValue, FieldAccessor.ForSetter.OfDefaultValue, FieldAccessor.ForSetter.OfFieldValue, FieldAccessor.ForSetter.OfParameterValue, FieldAccessor.ForSetter.OfReferenceValue, FieldAccessor.ForSetter.TerminationHandlerFieldAccessor.AssignerConfigurable, FieldAccessor.FieldLocation, FieldAccessor.FieldNameExtractor, FieldAccessor.ForImplicitProperty, FieldAccessor.ForSetter<T>, FieldAccessor.OwnerTypeLocatable, FieldAccessor.PropertyConfigurableImplementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.TargetInstrumentedType.Prepareable.NoOpassigner, fieldLocation, typing| Modifier | Constructor and Description | 
|---|---|
protected  | 
OfParameterValue(FieldAccessor.FieldLocation fieldLocation,
                Assigner assigner,
                Assigner.Typing typing,
                FieldAccessor.ForSetter.TerminationHandler terminationHandler,
                int index)
Creates a new setter instrumentation for a parameter value. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Implementation.Composable | 
andThen(Implementation.Composable implementation)
Appends the supplied composable implementation to this implementation. 
 | 
Implementation | 
andThen(Implementation implementation)
Appends the supplied implementation to this implementation. 
 | 
protected Void | 
initialize(TypeDescription instrumentedType)
Initializes a value to be used during method instrumentation. 
 | 
InstrumentedType | 
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type. 
 | 
protected StackManipulation | 
resolve(Void unused,
       FieldDescription fieldDescription,
       TypeDescription instrumentedType,
       MethodDescription instrumentedMethod)
Resolves the stack manipulation to load the value being set. 
 | 
appenderof, of, of, of, of, ofBeanProperty, ofFieldprotected OfParameterValue(FieldAccessor.FieldLocation fieldLocation, Assigner assigner, Assigner.Typing typing, FieldAccessor.ForSetter.TerminationHandler terminationHandler, int index)
fieldLocation - The field's location.assigner - The assigner to use.typing - Indicates if dynamic type castings should be attempted for incompatible assignments.terminationHandler - The termination handler to apply.index - The parameter's index.public InstrumentedType prepare(InstrumentedType instrumentedType)
instrumentedType - The instrumented type in its current form.@AlwaysNull protected Void initialize(TypeDescription instrumentedType)
initialize in class FieldAccessor.ForSetter<Void>instrumentedType - The instrumented type.protected StackManipulation resolve(@MaybeNull Void unused, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
resolve in class FieldAccessor.ForSetter<Void>unused - The method that was initialized for the instrumented type.fieldDescription - The field to set the value for.instrumentedType - The instrumented type.instrumentedMethod - The instrumented method.public Implementation andThen(Implementation implementation)
implementation - The subsequent implementation.public Implementation.Composable andThen(Implementation.Composable implementation)
implementation - The subsequent composable implementation.Copyright © 2014–2024. All rights reserved.