@HashCodeAndEqualsPlugin.Enhance protected static class FieldAccessor.FieldLocation.Relative.Prepared extends Object implements FieldAccessor.FieldLocation.Prepared
Modifier | Constructor and Description |
---|---|
protected |
Prepared(List<? extends FieldAccessor.FieldNameExtractor> fieldNameExtractors,
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(List<? extends FieldAccessor.FieldNameExtractor> fieldNameExtractors, FieldLocator fieldLocator)
fieldNameExtractors
- The field name extractors to use in their application order.fieldLocator
- The field locator to use.public FieldDescription resolve(MethodDescription instrumentedMethod)
resolve
in interface FieldAccessor.FieldLocation.Prepared
instrumentedMethod
- The instrumented method.Copyright © 2014–2024. All rights reserved.