public static @Nullable RunnerAndConfigurationSettings createConfiguration(@NotNull Location location, @NotNull ConfigurationContext context) {
    List<ConfigurationFromContext> configsFromContext = getConfigurationsFromContext(location, context, true, true);
    ConfigurationFromContext fromContext = !ContainerUtil.isEmpty(configsFromContext) ? configsFromContext.get(0) : null;
    return fromContext != null ? fromContext.getConfigurationSettings() : null;
  }
public static @Nullable RunnerAndConfigurationSettings createConfiguration(@NotNull Location location, @NotNull ConfigurationContext context)