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, String operator)  
    • Constructor Detail

      • JCompoundAssignment

        public JCompoundAssignment​(com.sun.codemodel.JAssignmentTarget leftHandSide,
                                   com.sun.codemodel.JExpression rightHandSide,
                                   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