Template template;
final Loader loader = this.resourceLoader;
final String normalizedName = loader.normalize(name);
if (normalizedName == null) {
//if normalized-name is null means not found resource.
throw new ResourceNotFoundException("Illegal template path: ".concat(name));
}
template = this.templateCache.get(normalizedName);
if (template == null) {
//then create Template
template = new Template(this, normalizedName,