private @NotNull List<Path> getSettingsFiles() {
    if (settingsFiles == null) {
      if (dir == null) {
        settingsFiles = Collections.emptyList();
      }
      else {
        settingsFiles = getSettingsXmlFiles(dir);
      }
    }
    return settingsFiles;
  }
private @NotNull List<Path> getSettingsFiles()