RefactoringEventData (final PsiClass subclassClass, final MemberInfo[] members) { RefactoringEventData data = new RefactoringEventData(); data.addElement(subclassClass); data.addMembers(members, info -> info.getMember()); return data; }