UnaryLogicOpTypeInfo unary = (UnaryLogicOpTypeInfo) logicOps;
if (unary.ifComparisonOps()) {
return "NOT " + toComparison(unary.getComparisonOps(), featureInfo);
} else if (unary.ifLogicOps()) {
return "NOT " + toLogic(unary.getLogicOps(), featureInfo);
} else if (unary.ifSpatialOps()) {
return "NOT " + toSpatial(unary.getSpatialOps());
}
} else if (logicOps instanceof BinaryLogicOpTypeInfo) {
BinaryLogicOpTypeInfo binary = (BinaryLogicOpTypeInfo) logicOps;