public static @NotNull SemanticEditorPosition createEditorPosition(@NotNull Editor editor, int offset,
                                                                     @NotNull BiFunction<? super Editor, ? super Integer, ? extends HighlighterIterator> createHighlighterIteratorAtOffset,
                                                                     @NotNull Function<? super IElementType, ? extends SyntaxElement> typeMapper) {
    return new SemanticEditorPosition(editor, offset, createHighlighterIteratorAtOffset, typeMapper);
  }
public static @NotNull SemanticEditorPosition createEditorPosition(@NotNull Editor editor, int offset,
                                                                     @NotNull BiFunction<? super Editor, ? super Integer, ? extends HighlighterIterator> createHighlighterIteratorAtOffset,
                                                                     @NotNull Function<? super IElementType, ? extends SyntaxElement> typeMapper)