@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiParameterListOwner owner) {
    if (PsiTreeUtil.getParentOfType(context.findLeaf(), PsiParameterListOwner.class, true, PsiCodeBlock.class) != owner) return null;
    if (!(owner.getBody() instanceof PsiCodeBlock block)) return null;
    PsiType returnType = PsiTypesUtil.getMethodReturnType(block);
    if (returnType == null || getNonTerminalReturn(block) == null) return null;
    return Presentation.of(getFamilyName());
  }
@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiParameterListOwner owner)