@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.TargetHandler.ForField extends Object implements MethodCall.TargetHandler, MethodCall.TargetHandler.Resolved
| Modifier and Type | Class and Description | 
|---|---|
protected static class  | 
MethodCall.TargetHandler.ForField.Factory
A factory for a field access. 
 | 
protected static interface  | 
MethodCall.TargetHandler.ForField.Location
A location of a field. 
 | 
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  | 
ForField(FieldDescription fieldDescription)
Creates a new target handler for a field description. 
 | 
| 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 ForField(FieldDescription fieldDescription)
fieldDescription - A description of the field that is the target.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–2021. All rights reserved.