public static interface FieldAccessor.OwnerTypeLocatable extends FieldAccessor.AssignerConfigurable
Instrumentation.Compound, Instrumentation.Context, Instrumentation.ForAbstractMethod
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(FieldAccessor.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.
|
assigner
appender, prepare
FieldAccessor.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(FieldAccessor.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. All rights reserved.