CheckForIsNotNullConstraint check = new CheckForIsNotNullConstraint((QueryNode) newFirstOrderBy); ConstraintHelper.traverseConstraints(q.getConstraint(), check);
CheckForIsNotNullConstraint check = new CheckForIsNotNullConstraint((QueryNode) newFirstOrderBy); ConstraintHelper.traverseConstraints(q.getConstraint(), check);