if (! (this.children.size() == 0 && this.text == null)) { if (name != null) { writer.write("</"); writer.write(name); writer.write('>'); }
if (name != null) { writer.write("</"); writer.write(name); writer.write('>');
    protected void writeCloseTag(Writer writer, String indent) throws IOException {        if (this.children.size() > 0) {            writer.write(indent);        }                if (! (this.children.size() == 0 && this.text == null)) {            if (name != null) {                writer.write("</");                writer.write(name);                writer.write('>');            }        }            }    