void (Collection<M> changedMembers) { Object[] list = listenerList.getListenerList(); MemberInfoChange<T, M> event = new MemberInfoChange<>(changedMembers); for (Object element : list) { if (element instanceof MemberInfoChangeListener) { @SuppressWarnings("unchecked") final MemberInfoChangeListener<T, M> changeListener = (MemberInfoChangeListener<T, M>)element; changeListener.memberInfoChanged(event); } } }