Package net.bytebuddy.implementation
Interface FieldAccessor.FieldLocation
-
- All Known Implementing Classes:
FieldAccessor.FieldLocation.Absolute,FieldAccessor.FieldLocation.Relative
- Enclosing class:
- FieldAccessor
protected static interface FieldAccessor.FieldLocationA 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 classFieldAccessor.FieldLocation.AbsoluteAn absolute field description representing a previously resolved field.static interfaceFieldAccessor.FieldLocation.PreparedA prepared field location.static classFieldAccessor.FieldLocation.RelativeA relative field location where a field is located dynamically.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldAccessor.FieldLocation.Preparedprepare(TypeDescription instrumentedType)A prepared field location.FieldAccessor.FieldLocationwith(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.
-
-