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