@HashCodeAndEqualsPlugin.Enhance protected static class FieldAccessor.FieldLocation.Relative.Prepared extends Object implements FieldAccessor.FieldLocation.Prepared
Modifier | Constructor and Description |
---|---|
protected |
Prepared(FieldAccessor.FieldNameExtractor fieldNameExtractor,
FieldLocator fieldLocator)
Creates a new relative field location.
|
Modifier and Type | Method and Description |
---|---|
FieldDescription |
resolve(MethodDescription instrumentedMethod)
Resolves the field description to use.
|
protected Prepared(FieldAccessor.FieldNameExtractor fieldNameExtractor, FieldLocator fieldLocator)
fieldNameExtractor
- The field name extractor to use.fieldLocator
- The field locator to use.public FieldDescription resolve(MethodDescription instrumentedMethod)
resolve
in interface FieldAccessor.FieldLocation.Prepared
instrumentedMethod
- The instrumented method.Copyright © 2014–2019. All rights reserved.