void (@NotNull Project project, @NotNull Editor editor, @NotNull List<? extends TextRange> readUsages, @NotNull List<? extends TextRange> writeUsages, boolean clearHighlights) { HighlightManager highlightManager = HighlightManager.getInstance(project); setupFindModel(project); highlightRanges(highlightManager, editor, EditorColors.SEARCH_RESULT_ATTRIBUTES, clearHighlights, readUsages); highlightRanges(highlightManager, editor, EditorColors.WRITE_SEARCH_RESULT_ATTRIBUTES, clearHighlights, writeUsages); }