private FileTemplateSettings getSettings() {
    return scheme == FileTemplatesScheme.DEFAULT ? defaultSettings : project.getService(FileTemplateSettings.class);
  }
private FileTemplateSettings getSettings()