while (localIterator.hasNext())
{
Map.Entry localEntry = (Map.Entry)localIterator.next();
Set localSet = getHandlersForEventType((Class)localEntry.getKey());
Collection localCollection = (Collection)localEntry.getValue();
if ((localSet == null) || (!localSet.containsAll((Collection)localEntry.getValue())))
throw new IllegalArgumentException("missing event handler for an annotated method. Is " + paramObject + " registered?");
localSet.removeAll(localCollection);
}
}