public static class FieldAccessor.FieldLocation.Absolute extends Object implements FieldAccessor.FieldLocation, FieldAccessor.FieldLocation.Prepared
FieldAccessor.FieldLocation.Absolute, FieldAccessor.FieldLocation.Prepared, FieldAccessor.FieldLocation.Relative
Modifier | Constructor and Description |
---|---|
protected |
Absolute(FieldDescription fieldDescription)
Creates an absolute field location.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
int |
hashCode() |
FieldAccessor.FieldLocation.Prepared |
prepare(TypeDescription instrumentedType)
A prepared field location.
|
FieldDescription |
resolve(MethodDescription instrumentedMethod)
Resolves the field description to use.
|
String |
toString() |
FieldAccessor.FieldLocation |
with(FieldLocator.Factory fieldLocatorFactory)
Specifies a field locator factory to use.
|
protected Absolute(FieldDescription fieldDescription)
fieldDescription
- The field description.public FieldAccessor.FieldLocation with(FieldLocator.Factory fieldLocatorFactory)
FieldAccessor.FieldLocation
with
in interface FieldAccessor.FieldLocation
fieldLocatorFactory
- The field locator factory to use.public FieldAccessor.FieldLocation.Prepared prepare(TypeDescription instrumentedType)
FieldAccessor.FieldLocation
prepare
in interface FieldAccessor.FieldLocation
instrumentedType
- The instrumented type.public FieldDescription resolve(MethodDescription instrumentedMethod)
FieldAccessor.FieldLocation.Prepared
resolve
in interface FieldAccessor.FieldLocation.Prepared
instrumentedMethod
- The instrumented method.Copyright © 2014–2017. All rights reserved.