List<ColorDescriptor> (@NotNull ColorAndFontDescriptorsProvider provider) { List<ColorDescriptor> result = new ArrayList<>(); Collections.addAll(result, provider.getColorDescriptors()); return result; }