Class JCompoundAssignment

  • All Implemented Interfaces:
    com.sun.codemodel.JExpression, com.sun.codemodel.JGenerable, com.sun.codemodel.JStatement

    public class JCompoundAssignment
    extends com.sun.codemodel.JExpressionImpl
    implements com.sun.codemodel.JStatement
    • Constructor Summary

      Constructors 
      Constructor Description
      JCompoundAssignment​(com.sun.codemodel.JAssignmentTarget leftHandSide, com.sun.codemodel.JExpression rightHandSide, java.lang.String operator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generate​(com.sun.codemodel.JFormatter formatter)  
      void state​(com.sun.codemodel.JFormatter formatter)  
      • Methods inherited from class com.sun.codemodel.JExpressionImpl

        _instanceof, band, bor, cand, complement, component, cor, decr, div, eq, gt, gte, incr, invoke, invoke, lt, lte, minus, minus, mod, mul, ne, not, plus, ref, ref, shl, shr, shrz, xor
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JCompoundAssignment

        public JCompoundAssignment​(com.sun.codemodel.JAssignmentTarget leftHandSide,
                                   com.sun.codemodel.JExpression rightHandSide,
                                   java.lang.String operator)
    • Method Detail

      • generate

        public void generate​(com.sun.codemodel.JFormatter formatter)
        Specified by:
        generate in interface com.sun.codemodel.JGenerable
      • state

        public void state​(com.sun.codemodel.JFormatter formatter)
        Specified by:
        state in interface com.sun.codemodel.JStatement