/** * {@inheritDoc} */ @Override public void visit(NotExpressionStateObject stateObject) { if (stateObject.isDecorated()) { toText(stateObject); } else { NotExpression expression = stateObject.getExpression(); // 'NOT' appendIdentifier((expression != null) ? expression.getActualIdentifier() : NOT, NOT); if (shouldOutput(expression) || expression.hasSpaceAfterNot()) { writer.append(SPACE); } // Expression if (stateObject.hasStateObject()) { stateObject.getStateObject().accept(this); } } }