if (stateObject.isDecorated()) {
toText(stateObject);
}
else {
ConcatExpression expression = stateObject.getExpression();
// 'CONCAT'
appendIdentifier((expression != null) ? expression.getActualIdentifier() : CONCAT, CONCAT);
// '('
if (shouldOutput(expression) || expression.hasLeftParenthesis()) {
writer.append(LEFT_PARENTHESIS);
}
toStringChildren(stateObject, true);
// ')'
if (shouldOutput(expression) || expression.hasRightParenthesis()) {
writer.append(RIGHT_PARENTHESIS);
}
}
}