void () { PsiFile file = getPsiFile(); VirtualFile virtualFile = file == null ? null : file.getVirtualFile(); Document document = file == null ? null : file.getViewProvider().getDocument(); ProblemsView.toggleCurrentFileProblems(getProject(), virtualFile, document); }