@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.TargetHandler.ForField.Location.ForExplicitField extends java.lang.Object implements MethodCall.TargetHandler.ForField.Location
MethodCall.TargetHandler.ForField.Location.ForExplicitField, MethodCall.TargetHandler.ForField.Location.ForImplicitField
Modifier and Type | Field and Description |
---|---|
private FieldDescription |
fieldDescription
The field to resolve.
|
Modifier | Constructor and Description |
---|---|
protected |
ForExplicitField(FieldDescription fieldDescription)
Creates an explicit field location.
|
Modifier and Type | Method and Description |
---|---|
FieldDescription |
resolve(TypeDescription instrumentedType)
Resolves the field to invoke the method upon.
|
private final FieldDescription fieldDescription
protected ForExplicitField(FieldDescription fieldDescription)
fieldDescription
- The field to resolve.public FieldDescription resolve(TypeDescription instrumentedType)
resolve
in interface MethodCall.TargetHandler.ForField.Location
instrumentedType
- The instrumented type.