Package net.bytebuddy.implementation
Interface FieldAccessor.FieldLocation
-
- All Known Implementing Classes:
FieldAccessor.FieldLocation.Absolute
,FieldAccessor.FieldLocation.Relative
- Enclosing class:
- FieldAccessor
protected static interface FieldAccessor.FieldLocation
A field location represents an identified field description which depends on the instrumented type and method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FieldAccessor.FieldLocation.Absolute
An absolute field description representing a previously resolved field.static interface
FieldAccessor.FieldLocation.Prepared
A prepared field location.static class
FieldAccessor.FieldLocation.Relative
A relative field location where a field is located dynamically.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldAccessor.FieldLocation.Prepared
prepare(TypeDescription instrumentedType)
A prepared field location.FieldAccessor.FieldLocation
with(FieldLocator.Factory fieldLocatorFactory)
Specifies a field locator factory to use.
-
-
-
Method Detail
-
with
FieldAccessor.FieldLocation with(FieldLocator.Factory fieldLocatorFactory)
Specifies a field locator factory to use.- Parameters:
fieldLocatorFactory
- The field locator factory to use.- Returns:
- An appropriate field location.
-
prepare
FieldAccessor.FieldLocation.Prepared prepare(TypeDescription instrumentedType)
A prepared field location.- Parameters:
instrumentedType
- The instrumented type.- Returns:
- A prepared field location.
-
-