final String s = AstNode.tabString(tab);
final StringBuffer buff = new StringBuffer(s);
buff.append("{\n"); //$NON-NLS-1$
- if (this.statements == null) {
+ if (this.statements != null) {
for (int i = 0; i < statements.length; i++) {
buff.append(statements[i].toString(tab+1)).append(";\n");//$NON-NLS-1$
- buff.append(statements[i].getClass().getName()).append(";\n");//$NON-NLS-1$
}
}
buff.append("}\n"); //$NON-NLS-1$