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