{
name = cl.getName().replace('/', '.');
MergePath mergePath = new MergePath();
mergePath.addClassPath(cl.getClassLoader());
Path destClass = mergePath.lookup(name.replace('.', '/') + ".class");
// technically, need to resort to dynamic. This is a cheat.
if (! destClass.exists() && cl.getInterfaces().length > 0) {
cl = cl.getInterfaces()[0];
name = cl.getName().replace('/', '.');