@Override
  public @Nullable Presentation getPresentation(@NotNull ActionContext context) {
    PsiFile file = context.file();
    if (!(file instanceof PsiJavaFile)) return null;

    PsiElement element = findElement(file, context.offset());
    if (element == null) return null;
    
    return Presentation.of(QuickFixBundle.message("add.catch.clause.text"));
  }
@Override
  public @Nullable Presentation getPresentation(@NotNull ActionContext context)