List<Node> list = template.getNodes();
ChunkWriter chunkWriter = new ChunkWriter(4096);
PrintWriter writer = new PrintWriter(chunkWriter);
for(int index = 0, size = list.size(); index < size; index++) {
node = list.get(index);
<BUG>if(node.getNodeType() == NodeType.TEXT) {
writer.print("    protected static final char[] " + this.getVariableName(node, "_jsp_string_"));</BUG>
writer.print(" = \"");
<BUG>writer.print(StringUtil.escape(node.getTextContent()));
writer.println("\".toCharArray();");</BUG>
}

List<Node> list = template.getNodes();
ChunkWriter chunkWriter = new ChunkWriter(4096);
PrintWriter writer = new PrintWriter(chunkWriter);
for(int index = 0, size = list.size(); index < size; index++) {
node = list.get(index);
if(node.getNodeType() == NodeType.JSP_DIRECTIVE_PAGE) {
if(node.getOffset() == index && node.getAttribute("import") != null) {
writer.println("import " + node.getAttribute("import") + "; // jsp:directive.import: lineNumber: " + node.getLineNumber());
