@Override
  protected @NotNull RefactoringEventData getBeforeData() {
    RefactoringEventData data = new RefactoringEventData();
    data.addElements(new PsiElement[]{myMethod, myTargetClass});
    return data;
  }
@Override
  protected @NotNull RefactoringEventData getBeforeData()