DocumentContent (@Nullable Project project, @NotNull String text, @Nullable VirtualFile highlightFile) { return readOnlyDocumentContent(project) .contextByHighlightFile(highlightFile) .buildFromText(text, true); }