@Override
  protected void invoke(@NotNull ActionContext context, @NotNull PsiClass psiClass, @NotNull ModPsiUpdater updater) {
    PsiMethod method = createMethod(psiClass);
    if (method.getContainingFile().getOriginalFile() == context.file()) {
      GenerateMembersUtil.positionCaret(updater, method, true);
    }
  }
@Override
  protected void invoke(@NotNull ActionContext context, @NotNull PsiClass psiClass, @NotNull ModPsiUpdater updater)