DocumentContent (@NotNull Document document, @Nullable PsiFile dominantContentFile) { return dominantContentFile != null && dominantContentFile.getViewProvider().getModificationStamp() > document.getModificationStamp() ? new PsiContent(document, dominantContentFile) : new AuthenticContent(document); }