for (int j=0; j<pmd.getNoOfClasses(); j++)
{
ClassMetaData cmd = (ClassMetaData)pmd.getClass(j);
// Enhance the class using the MetaData
ClassEnhancer enhancer = getClassEnhancer(cmd);
enhancer.enhance();
// Save the enhanced class
resultList.add(cl.getClass(cmd.getFullClassName(), enhancer.getBytes()));
}
}
result = (Class[])resultList.toArray(new Class[resultList.size()]);
return result;