@Override
  protected @Nullable RefactoringEventData getBeforeData() {
    RefactoringEventData eventData = new RefactoringEventData();
    eventData.addElement(sourceClass);
    List<PsiMember> members = new ArrayList<>();
    members.addAll(methods);
    members.addAll(fields);
    members.addAll(innerClasses);
    eventData.addMembers(members.toArray(PsiElement.EMPTY_ARRAY), e -> e);
    return eventData;
  }
@Override
  protected @Nullable RefactoringEventData getBeforeData()