void (@NotNull Project project) { Ref<VirtualFile> fileRef = myFileRef; if (fileRef == null) { VirtualFile file = WriteAction.compute(() -> VfsUtil.findFileByIoFile(myIoFile, true)); fileRef = Ref.create(file); myFileRef = fileRef; } if (fileRef.get() != null) { OpenFileHyperlinkInfo linkInfo = new OpenFileHyperlinkInfo(project, fileRef.get(), myDocumentLine, myDocumentColumn); linkInfo.navigate(project); } }