public static boolean navigateToPsiElement(@NotNull PsiElement element) {
    Navigatable descriptor = getDescriptor(element);
    if (descriptor != null && descriptor.canNavigate()) {
      descriptor.navigate(true);
    }
    return true;
  }
public static boolean navigateToPsiElement(@NotNull PsiElement element)