*/
@SuppressWarnings("unchecked")
public void enhance(final ClassLoaderResolver clr)
{
// define the generated class in the classloader so we populate the metadata
final EnhancerClassLoader loader = new EnhancerClassLoader();
loader.defineClass(fullClassName, getBytes(), clr);
// Create MetaData for implementation of interface
final ClassLoaderResolver genclr = new JDOClassLoaderResolver(loader);
final ClassMetaData implementationCmd;
if (inputCmd instanceof InterfaceMetaData)