Interface FieldAccessor.OwnerTypeLocatable

All Superinterfaces:
FieldAccessor.AssignerConfigurable, FieldAccessor.PropertyConfigurable, Implementation, InstrumentedType.Prepareable
All Known Implementing Classes:
FieldAccessor.ForImplicitProperty
Enclosing class:
FieldAccessor

public static interface FieldAccessor.OwnerTypeLocatable extends FieldAccessor.AssignerConfigurable
A field accessor that can be configured to locate a field in a specific manner.
  • Method Details

    • in

      Determines that a field should only be considered when it was defined in a given type.
      Parameters:
      type - The type to be considered.
      Returns:
      This field accessor which will only considered fields that are defined in the given type.
    • in

      Determines that a field should only be considered when it was defined in a given type.
      Parameters:
      typeDescription - A description of the type to be considered.
      Returns:
      This field accessor which will only considered fields that are defined in the given type.
    • in

      Determines that a field should only be considered when it was identified by a field locator that is produced by the given factory.
      Parameters:
      fieldLocatorFactory - A factory that will produce a field locator that will be used to find locate a field to be accessed.
      Returns:
      This field accessor which will only considered fields that are defined in the given type.