void (final PropertyChangeListener l) { final PropertyChangeListener[] propertyChangeListeners = myChangeSupport.getPropertyChangeListeners(); for (PropertyChangeListener listener : propertyChangeListeners) { assert listener != l; } myChangeSupport.addPropertyChangeListener(l); }