Class JStmtWhile


  • public class JStmtWhile
    extends JStmt
    A Java statement for WhileStatement.
    • Field Detail

      • conditional

        public JExpr conditional
      • statement

        public JStmt statement
    • Constructor Detail

      • JStmtWhile

        public JStmtWhile()
    • Method Detail

      • getConditional

        public JExpr getConditional()
        Returns the conditional.
      • setConditional

        public void setConditional​(JExpr aCond)
        Sets the conditional.
      • getStatement

        public JStmt getStatement()
        Returns the statement.
      • setStatement

        public void setStatement​(JStmt aStmt)
        Sets the statement.
      • isBlock

        public boolean isBlock()
        Returns whether statement has a block associated with it.
        Overrides:
        isBlock in class JNode