Attachment (PsiFile fileCopy, final PsiFile originalFile) { return new Attachment(originalFile.getViewProvider().getVirtualFile().getPath() + " syntactic tree.txt", DebugUtil.psiToString(fileCopy, true, true)); }