Node topNode = node.jjtGetChild(1);
if(overrideNode == null) {
return topNode.render(context, writer);
}else {
Utils.setParentForTop(new OverrideNodeWrapper(topNode),overrideNode);
return overrideNode.render(context, writer);
}
}
private OverrideNodeWrapper getOverrideNode(InternalContextAdapter context,String name) {
return (OverrideNodeWrapper)context.get(Utils.getOverrideVariableName(name));