for (String dataObject : dataNames)
{
try
{
Class<?> dataClass = Class.forName(dataObject);
DataObject annot = dataClass.getAnnotation(DataObject.class);
if (dataObjects.containsKey(annot.value()))
{
throw new CruxGeneratorException("Duplicated DataObject found: ["+annot.value()+"].");
}
dataObjects.put(annot.value(), dataClass.getCanonicalName());
dataObjectIdentifiers.put(annot.value(), extractIdentifiers(dataClass));
}
catch (ClassNotFoundException e)
{
logger.error("Error initializing DataObjects.",e);
}