@Override
  public void insert(@NotNull PsiClass aClass, PsiElement anchor, boolean before) throws IncorrectOperationException {
    PsiMethod member = Objects.requireNonNull(getPsiMember());
    setElement((PsiMethod)GenerateMembersUtil.insert(aClass, member, anchor, before));
  }
@Override
  public void insert(@NotNull PsiClass aClass, PsiElement anchor, boolean before)