void (boolean requestFocus) { if (canNavigate()) { final PsiNamedElement value = (PsiNamedElement)getValue(); if (requestFocus) { NavigationUtil.activateFileWithPsiElement(value, true); } else if (value instanceof NavigationItem navigationItem) { navigationItem.navigate(false); } } }