void (@NotNull JComponent speedSearchEnabledComponent, @NotNull @NlsContexts.Label String text, @NotNull SimpleTextAttributes attributes, boolean selected, @NotNull SimpleColoredComponent simpleColoredComponent) { final SpeedSearchSupply speedSearch = SpeedSearchSupply.getSupply(speedSearchEnabledComponent); if (speedSearch != null) { final Iterable<TextRange> fragments = speedSearch.matchingFragments(text); if (fragments != null) { appendSpeedSearchColoredFragments(simpleColoredComponent, text, fragments, attributes, selected); return; } } simpleColoredComponent.append(text, attributes); }