@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiClass myClass) {
    PsiMethod methodPrototype = myMethodPrototype.getElement();

    if (methodPrototype == null || !methodPrototype.isValid() ||
        MethodSignatureUtil.findMethodBySignature(myClass, methodPrototype, false) != null) {
      return null;
    }
    return Presentation.of(QuickFixBundle.message("add.method.text", methodPrototype.getName(), myClass.getName()));
  }
@Override
  protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiClass myClass)