void (@NotNull ColorAndFontDescriptorsProvider provider, @NotNull List<? super EditorSchemeAttributeDescriptor> descriptions, @NotNull MyColorScheme scheme) { String className = provider.getClass().getName(); String group = provider.getDisplayName(); List<AttributesDescriptor> attributeDescriptors = ColorSettingsUtil.getAllAttributeDescriptors(provider); if (provider instanceof RainbowColorSettingsPage) { RainbowAttributeDescriptor d = new RainbowAttributeDescriptor( ((RainbowColorSettingsPage)provider).getLanguage(), group, ApplicationBundle.message("rainbow.option.panel.display.name"), scheme, scheme.myRainbowState); descriptions.add(d); } for (AttributesDescriptor descriptor : attributeDescriptors) { if (descriptor == null) { LOG.warn("Null attribute descriptor in " + className); continue; } SchemeTextAttributesDescription d = new SchemeTextAttributesDescription( descriptor.getDisplayName(), group, descriptor.getKey(), scheme, null, null); descriptions.add(d); } for (ColorDescriptor descriptor : provider.getColorDescriptors()) { if (descriptor == null) { LOG.warn("Null color descriptor in " + className); continue; } EditorSettingColorDescription d = new EditorSettingColorDescription( descriptor.getDisplayName(), group, descriptor.getKey(), descriptor.getKind(), scheme); descriptions.add(d); } }