if (stateObject.isDecorated()) {
toText(stateObject);
}
else {
NullComparisonExpression expression = stateObject.getExpression();
// Expression
if (stateObject.hasStateObject()) {
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);
}
// 'NULL'
appendIdentifier((expression != null) ? expression.getActualNullIdentifier() : NULL, NULL);
}
}