def METHOD_NAME(self, target, location):
    """Return a callable registered for resolving a location for the
    given target and location.
    This is an implementation for an abstract method.
    Parameters
    ----------
    target : any
        The UI target being operated on.
    location : subclass of type
        The location to be resolved on the target.
    Raises
    ------
    LocationNotSupported
        If the given locator and target types are not supported.
    """
    raise LocationNotSupported(
        target_class=target.__class__,
        locator_class=location.__class__,
        supported=[],
    )