Interface FieldLocator

All Known Implementing Classes:
FieldLocator.AbstractBase, FieldLocator.ForClassHierarchy, FieldLocator.ForExactType, FieldLocator.ForTopLevelType, FieldLocator.NoOp

public interface FieldLocator
A field locator offers an interface for locating a field that is declared by a specified type.
  • Method Details

    • locate

      Locates a field with the given name and throws an exception if no such type exists.
      Parameters:
      name - The name of the field to locate.
      Returns:
      A resolution for a field lookup.
    • locate

      Locates a field with the given name and type and throws an exception if no such type exists.
      Parameters:
      name - The name of the field to locate.
      type - The type fo the field to locate.
      Returns:
      A resolution for a field lookup.