public @NotNull CodeStyleSettingsToShow getFieldNamesAffectingCodeFragment(LanguageCodeStyleSettingsProvider.SettingsType... types) {
    Ref<CodeStyleSettingsToShow> settingsToShow = new Ref<>();
    CodeStyle.runWithLocalSettings(myProject,
                                   CodeStyle.getSettings(myFile),
                                   tempSettings -> settingsToShow.set(computeFieldsWithTempSettings(tempSettings, types)));
    return settingsToShow.get();
  }
public @NotNull CodeStyleSettingsToShow getFieldNamesAffectingCodeFragment(LanguageCodeStyleSettingsProvider.SettingsType... types)