public static @Nullable List<ConfigurationFromContext> getConfigurationsFromContext(Location location,
                                                                                      @NotNull ConfigurationContext context,
                                                                                      boolean strict,
                                                                                      boolean preferExisting) {
    if (location == null) {
      return null;
    }

    MultipleRunLocationsProvider.AlternativeLocationsInfo
      alternativeLocations = MultipleRunLocationsProvider.findAlternativeLocations(location);
    if (alternativeLocations == null) {
      return doGetConfigurationsFromContext(location, context, strict, preferExisting);
    }

    return getConfigurationsFromAlternativeLocations(alternativeLocations, location, strict, preferExisting);
  }
public static @Nullable List<ConfigurationFromContext> getConfigurationsFromContext(Location location,
                                                                                      @NotNull ConfigurationContext context,
                                                                                      boolean strict,
                                                                                      boolean preferExisting)