@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.TargetHandler.ForField.Location.ForImplicitField extends Object implements MethodCall.TargetHandler.ForField.Location
MethodCall.TargetHandler.ForField.Location.ForExplicitField, MethodCall.TargetHandler.ForField.Location.ForImplicitField
Modifier | Constructor and Description |
---|---|
protected |
ForImplicitField(String name,
FieldLocator.Factory fieldLocatorFactory)
Creates an implicit field location.
|
Modifier and Type | Method and Description |
---|---|
FieldDescription |
resolve(TypeDescription instrumentedType)
Resolves the field to invoke the method upon.
|
protected ForImplicitField(String name, FieldLocator.Factory fieldLocatorFactory)
name
- The name of the field.fieldLocatorFactory
- The field locator factory to use.public FieldDescription resolve(TypeDescription instrumentedType)
resolve
in interface MethodCall.TargetHandler.ForField.Location
instrumentedType
- The instrumented type.Copyright © 2014–2020. All rights reserved.