use of org.eclipse.persistence.jpa.jpql.parser.NotExpression in project eclipselink by eclipse-ee4j.
the class AbstractActualJPQLQueryFormatter method visit.
@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);
}
}
}
Aggregations