void (@NotNull List<? super CustomCodeStyleSettings> list, @NotNull CodeStyleSettings rootSettings, @NotNull List<? extends CodeStyleSettingsProvider> providerList) { for (CodeStyleSettingsProvider provider : providerList) { if (provider.getLanguage() == myLanguage && isEnabled(provider)) { CustomCodeStyleSettings customSettingsTemplate = provider.createCustomSettings(rootSettings); if (customSettingsTemplate != null) { CustomCodeStyleSettings customSettings = rootSettings.getCustomSettings(customSettingsTemplate.getClass()); list.add(customSettings); } } } }