void (boolean requestFocus) { final int offset = getTextOffset(); final VirtualFile virtualFile = PsiUtilCore.getVirtualFile(myElement); if (virtualFile != null && virtualFile.isValid()) { PsiNavigationSupport.getInstance().createNavigatable(myElement.getProject(), virtualFile, offset).navigate(requestFocus); } }