public static interface FieldAccessor.OwnerTypeLocatable extends FieldAccessor.AssignerConfigurable
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.TargetInstrumentedType.Prepareable.NoOp| Modifier and Type | Method and Description |
|---|---|
FieldAccessor.AssignerConfigurable |
in(Class<?> type)
Determines that a field should only be considered when it was defined in a given type.
|
FieldAccessor.AssignerConfigurable |
in(FieldLocator.Factory fieldLocatorFactory)
Determines that a field should only be considered when it was identified by a field locator that is
produced by the given factory.
|
FieldAccessor.AssignerConfigurable |
in(TypeDescription typeDescription)
Determines that a field should only be considered when it was defined in a given type.
|
withAssignersetsArgumentAt, setsDefaultValue, setsFieldValueOf, setsFieldValueOf, setsFieldValueOf, setsFieldValueOf, setsReference, setsReference, setsValue, setsValue, setsValue, setsValue, setsValue, setsValueappenderprepareFieldAccessor.AssignerConfigurable in(Class<?> type)
type - The type to be considered.FieldAccessor.AssignerConfigurable in(TypeDescription typeDescription)
typeDescription - A description of the type to be considered.FieldAccessor.AssignerConfigurable in(FieldLocator.Factory fieldLocatorFactory)
fieldLocatorFactory - A factory that will produce a field locator that will be used to find locate
a field to be accessed.Copyright © 2014–2025. All rights reserved.