static public @Nullable Navigatable getNavigatable(@Nullable PsiSymbolDeclaration symbolDeclaration) {
    if (symbolDeclaration == null) {
      LOG.debug("No symbol declaration for navigation");
      return null;
    }
    var declaringElement = symbolDeclaration.getDeclaringElement();
    var virtualFile = PsiUtilCore.getVirtualFile(declaringElement);
    if (virtualFile == null) {
      LOG.debug("Unable to find virtual file for: " + symbolDeclaration + "; " + declaringElement);
      return null;
    }

    return PsiNavigationSupport.getInstance().createNavigatable(
      declaringElement.getProject(),
      virtualFile,
      symbolDeclaration.getAbsoluteRange()
        .getStartOffset());
  }
static public @Nullable Navigatable getNavigatable(@Nullable PsiSymbolDeclaration symbolDeclaration)