if (stateObject.isDecorated()) {
toText(stateObject);
}
else {
EmptyCollectionComparisonExpression expression = stateObject.getExpression();
stateObject.getStateObject().accept(this);
writer.append(SPACE);
// 'IS'
appendIdentifier((expression != null) ? expression.getActualIsIdentifier() : IS, IS);
writer.append(SPACE);
// 'NOT'
if (stateObject.hasNot()) {
appendIdentifier((expression != null) ? expression.getActualNotIdentifier() : NOT, NOT);
writer.append(SPACE);
}
// 'EMPTY'
appendIdentifier((expression != null) ? expression.getActualEmptyIdentifier() : EMPTY, EMPTY);
}
}