@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.FieldSetting extends Object implements Implementation.Composable
MethodCall that sets the call's result as the value of a field.| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | MethodCall.FieldSetting.AppenderA byte code appender to implement a field-setting method call. | 
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.TargetInstrumentedType.Prepareable.NoOp| Modifier | Constructor and Description | 
|---|---|
| protected  | FieldSetting(MethodCall methodCall)Creates a new field setting method call. | 
| 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. | 
| 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. | 
| Implementation.Composable | withAssigner(Assigner assigner,
            Assigner.Typing typing)Defines an assigner to be used for assigning values to the parameters of the invoked method. | 
protected FieldSetting(MethodCall methodCall)
methodCall - The represented method call.public Implementation.Composable withAssigner(Assigner assigner, Assigner.Typing typing)
assigner - The assigner to use.typing - Indicates if dynamic type castings should be attempted for incompatible assignments.public InstrumentedType prepare(InstrumentedType instrumentedType)
prepare in interface InstrumentedType.PrepareableinstrumentedType - The instrumented type in its current form.public ByteCodeAppender appender(Implementation.Target implementationTarget)
appender in interface ImplementationimplementationTarget - The target of the current implementation.InstrumentedType.Prepareable.prepare(InstrumentedType).public Implementation andThen(Implementation implementation)
andThen in interface Implementation.Composableimplementation - The subsequent implementation.public Implementation.Composable andThen(Implementation.Composable implementation)
andThen in interface Implementation.Composableimplementation - The subsequent composable implementation.Copyright © 2014–2024. All rights reserved.