@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiElement element) {
    if (super.getPresentation(context, element) == null) return null;
    if (!(element instanceof PsiIdentifier)) return null;

    PsiElement parent = PsiTreeUtil.getParentOfType(element, PsiField.class, PsiMethod.class);
    boolean available = false;
    if (parent instanceof PsiField) {
      available = Stream.of(findGetterMethodToReplace((PsiField)parent), findSetterMethodToReplace((PsiField)parent))
        .anyMatch(Optional::isPresent);
    }
    else if (parent instanceof PsiMethod) {
      available = Stream.of(findAnchorFieldForGetter((PsiMethod)parent), findAnchorFieldForSetter((PsiMethod)parent))
        .anyMatch(Optional::isPresent);
    }
    if (!available) return null;
    return Presentation.of(LombokBundle.message("intention.name.replace.with.lombok"));
  }
@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiElement element)