public static interface FieldAccessor.OwnerTypeLocatable extends FieldAccessor.AssignerConfigurable
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Target
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 factory)
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.
|
withAssigner
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(FieldLocator.Factory factory)
factory
- A factory that will produce a field locator that will be used to find locate
a field to be accessed.Copyright © 2014–2016. All rights reserved.