@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiIdentifier identifier) {
    if (!(identifier.getParent() instanceof PsiReferenceExpression ref)) return null;
    if (!(ref.getParent() instanceof PsiMethodCallExpression call)) return null;
    if (!isFilterCall(call) || getFilterToMerge(call) == null) return null;
    return Presentation.of(JavaBundle.message("intention.merge.filter.text"));
  }
@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiIdentifier identifier)