root = this;
name = templateResource.getSuggestedClassName() + CN_SUFFIX;
if (engine.conf().typeInferenceEnabled()) {
name += ParamTypeInferencer.uuid();
}
ITemplateResourceLoader loader = engine().resourceManager().whichLoader(templateResource);
if (null != loader) {
Object k = templateResource.getKey();
tagName = toCanonicalName(k.toString(), loader.getResourceLoaderRoot());
}
//name = templateResource.getSuggestedClassName();
engine.registerTemplateClass(this);
}