@Override
  public void move(MemberInfo info, PsiSubstitutor substitutor) {
    if (info.getMember() instanceof PsiMethod) {
      doMoveMethod(substitutor, info);
    }
    else if (info.getMember() instanceof PsiField) {
      doMoveField(substitutor, info);
    }
    else if (info.getMember() instanceof PsiClass) {
      doMoveClass(substitutor, info);
    }
    else if (info.getMember() instanceof PsiClassInitializer initializer) {
      PsiClassInitializer copy = (PsiClassInitializer)initializer.copy();
      final PsiMember movedElement = (PsiMember)myTargetSuperClass.add(copy);
      myMembersAfterMove.add(movedElement);
      initializer.delete();
    }
  }
@Override
  public void move(MemberInfo info, PsiSubstitutor substitutor)