void (@NotNull MemberInfoChange memberInfoChange) { validateButtons(); myMember2CauseMap.clear(); if (extractAsEnum.isVisible()) { for (Object info : memberInfoChange.getChangedMembers()) { if (((MemberInfo)info).isToAbstract()) { if (!enumConstants.contains(info)) { enumConstants.add((MemberInfo)info); } } else { enumConstants.remove((MemberInfo)info); } } extractAsEnum.setEnabled(canExtractEnum()); } }