code: public MetaClassRegistryChangeEventListener[] getMetaClassRegistryChangeEventListeners() {
          synchronized (changeListenerList) {
              ArrayList<MetaClassRegistryChangeEventListener> ret =
                      new ArrayList<MetaClassRegistryChangeEventListener>(changeListenerList.size()+nonRemoveableChangeListenerList.size());
              ret.addAll(nonRemoveableChangeListenerList);
              ret.addAll(changeListenerList);
              return ret.toArray(new MetaClassRegistryChangeEventListener[ret.size()]);
          }
      }
docs: Gets an array of of all registered ConstantMetaClassListener instances.