Interface FieldLocator

    • Method Detail

      • locate

        FieldLocator.Resolution locate​(java.lang.String name)
        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

        FieldLocator.Resolution locate​(java.lang.String name,
                                       TypeDescription type)
        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.