Resource baseResource = new ClasspathResource(classname.replace(".", "/") + ".class");
ComponentModel parentModel = nameToComponentModel.get(parentClassname);
MutableComponentModel model = new MutableComponentModelImpl(classname, logger, baseResource, parentModel);
InternalClassTransformation transformation =
parentTransformation == null
? new InternalClassTransformationImpl(classFactory, ctClass, componentClassCache, model, classSource)
: parentTransformation.createChildTransformation(ctClass, model);