void (@NotNull Project project) { VirtualFile file = getVirtualFile(); if (file == null || !file.isValid()) { Messages.showErrorDialog(project, ExecutionBundle.message("message.cannot.find.file.0", StringUtil.trimMiddle(myUrl, 150)), IdeBundle.message("title.cannot.open.file")); return; } super.navigate(project); }