ASTComparisonCondition extends AbstractPLSQLNode { public String getOperator() { return this.operator; } @Deprecated @InternalApi  ASTComparisonCondition(int id); @Deprecated @InternalApi  ASTComparisonCondition(PLSQLParser p, int id); String getOperator(); @Override Object jjtAccept(PLSQLParserVisitor visitor, Object data);  }
@Test public void testOperator() { ASTInput input = plsql.parse("BEGIN SELECT COUNT(1) INTO MY_TABLE FROM USERS_TABLE WHERE user_id = 1; END;"); List<ASTComparisonCondition> conditions = input.findDescendantsOfType(ASTComparisonCondition.class); Assert.assertEquals(1, conditions.size()); Assert.assertEquals("=", conditions.get(0).getOperator()); }