ullable
  public Configuration findConfigurationByName(String name) {
    Configuration projectConfiguration = myProjectState.get(name); // project overrides local
    if (projectConfiguration != null) return projectConfiguration;
    final Configuration ideConfiguration = myIdeState.get(name);
    if (ideConfiguration != null) return ideConfiguration;
    return ContainerUtil.find(StructuralSearchUtil.getPredefinedTemplates(), config -> config.getRefName().equals(name));
  }


ullable
  public Configuration findConfigurationByName(String name) {