List<AttributesDescriptor> (@NotNull ColorAndFontDescriptorsProvider provider) { List<AttributesDescriptor> result = new ArrayList<>(); Collections.addAll(result, provider.getAttributeDescriptors()); if (isInspectionColorsPage(provider)) { addInspectionSeverityAttributes(result); } return result; }