@Override
  public @Nls String generateDoc(final PsiElement element, final @Nullable PsiElement originalElement) {
    // Process PydevConsoleElement case
    if (element instanceof PydevConsoleElement pydevElement) {
      return PydevConsoleElement.generateDoc(pydevElement).toString();
    }
    return null;
  }
@Override
  public @Nls String generateDoc(final PsiElement element, final @Nullable PsiElement originalElement)