List<IntOption> (@NotNull @NlsContexts.BorderTitle String groupName, @NotNull List<? extends CodeStyleSettingPresentation> settings) { final List<IntOption> groupOptions = new SmartList<>(); for (CodeStyleSettingPresentation setting: settings) { if (myAllOptionsAllowed || myAllowedOptions.contains(setting.getFieldName())) { groupOptions.add(new IntOption(setting.getUiName(), setting.getFieldName())); } } groupOptions.addAll(myCustomOptions.get(groupName)); myOptions.addAll(groupOptions); return sortOptions(groupOptions); }