List<RangeHighlighter> (int startOffset, int endOffset, @NotNull Editor editor) { List<RangeHighlighter> result = new ArrayList<>(); CommonProcessors.CollectProcessor<RangeHighlighter> processor = new CommonProcessors.CollectProcessor<>(result); processHyperlinks(startOffset, endOffset, editor, processor); return result; }