throw new IllegalArgumentException("Null component type: " + info);
Class<?> clazz = componentType.getType();
if (Object.class.equals(clazz))
throw new IllegalArgumentException("Component type too general - equals Object: " + info);
Class<? extends Collection<Object>> collectionType = (Class) info.getType();
CollectionCallbackItemFactory factory = getCollectionFactory();
return factory.createCollectionCallbackItem(collectionType, clazz, whenRequired, dependentState, cardinality, context, attribute);
}
else
throw new IllegalArgumentException("Unable to determine collection element class type: " + info);
}