ASTAssignmentOperator extends AbstractJavaNode { public boolean isCompound() { return this.isCompound; } @InternalApi @Deprecated  ASTAssignmentOperator(int id); @InternalApi @Deprecated  ASTAssignmentOperator(JavaParser p, int id); @InternalApi @Deprecated void setCompound(); boolean isCompound(); @Override Object jjtAccept(JavaParserVisitor visitor, Object data);  }
@Test public void testSimpleAssignmentRecognized() { List<ASTAssignmentOperator> ops = java.getNodes(ASTAssignmentOperator.class, TEST1); assertFalse(ops.get(0).isCompound()); }
@Test public void testCompoundAssignmentPlusRecognized() { List<ASTAssignmentOperator> ops = java.getNodes(ASTAssignmentOperator.class, TEST2); assertTrue(ops.get(0).isCompound()); }
@Test public void testCompoundAssignmentMultRecognized() { List<ASTAssignmentOperator> ops = java.getNodes(ASTAssignmentOperator.class, TEST3); assertTrue(ops.get(0).isCompound()); }