@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.TargetHandler.ForValue extends Object implements MethodCall.TargetHandler, MethodCall.TargetHandler.Resolved
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | MethodCall.TargetHandler.ForValue.FactoryA factory for a target handler that loads a specific value. | 
MethodCall.TargetHandler.ForConstructingInvocation, MethodCall.TargetHandler.ForField, MethodCall.TargetHandler.ForMethodCall, MethodCall.TargetHandler.ForMethodParameter, MethodCall.TargetHandler.ForSelfOrStaticInvocation, MethodCall.TargetHandler.ForValue, MethodCall.TargetHandler.Resolved, MethodCall.TargetHandler.Simple| Modifier | Constructor and Description | 
|---|---|
| protected  | ForValue(FieldDescription.InDefinedShape fieldDescription)Creates a new target handler for a field value. | 
| Modifier and Type | Method and Description | 
|---|---|
| TypeDescription | getTypeDescription()Returns the target's type description. | 
| MethodCall.TargetHandler.Resolved | resolve(MethodDescription instrumentedMethod)Resolves this target handler. | 
| StackManipulation | toStackManipulation(MethodDescription invokedMethod,
                   Assigner assigner,
                   Assigner.Typing typing)Creates a stack manipulation to represent this resolved target handler. | 
protected ForValue(FieldDescription.InDefinedShape fieldDescription)
fieldDescription - A description of the field that contains the value.public MethodCall.TargetHandler.Resolved resolve(MethodDescription instrumentedMethod)
resolve in interface MethodCall.TargetHandlerinstrumentedMethod - The instrumented method.public TypeDescription getTypeDescription()
getTypeDescription in interface MethodCall.TargetHandler.Resolvedpublic StackManipulation toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)
toStackManipulation in interface MethodCall.TargetHandler.ResolvedinvokedMethod - The invoked method.assigner - The assigner to use.typing - The typing to apply.Copyright © 2014–2024. All rights reserved.