}
public String addInclude(String include, int lineNo) {
String tmplName = engine.testTemplate(include, templateClass);
if (null == tmplName) {
throw new ParseException(engine, templateClass, lineNo, "include template not found: %s", include);
}
TemplateBase includeTmpl = (TemplateBase) engine.getRegisteredTemplate(tmplName);
if (includeTmpl instanceof JavaTagBase) {
throw new ParseException(engine, templateClass, lineNo, "cannot include Java tag: %s", include);
}
TemplateClass includeTc = includeTmpl.__getTemplateClass(false);
includeTc.buildSourceCode(includingClassName());
merge(includeTc.codeBuilder);
templateClass.addIncludeTemplateClass(includeTc);