@Nullable
  public static String getSourceName(Location location, @Nullable String defaultName) {
    return getSourceName(location, e -> defaultName);
  }
@Nullable
  public static String getSourceName(Location location, @Nullable String defaultName)