DoWhileLoopTree (Compiler Tree API )
Keywords: com.sun.source.tree.DoWhileLoopTree interface
Date: 2016-12-09

com.sun.source.tree

## Interface DoWhileLoopTree

- All Superinterfaces:
    StatementTree, Tree

      @Exported
      public interface DoWhileLoopTree
      extends StatementTree

  A tree node for a 'do' statement. For example:

         do
             statement
         while ( expression );

  Since:
    1.6
  See The Java™ Language Specification:
    section 14.13

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.sun.source.tree.Tree

      `Tree.Kind`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ExpressionTree` | `getCondition()`
    `StatementTree` | `getStatement()`

    - ### Methods inherited from interface com.sun.source.tree.Tree

      `accept, getKind`

- - ### Method Detail

    - #### getCondition

          ExpressionTree getCondition()

    - #### getStatement

          StatementTree getStatement()

Copyright © 2005, 2016, Oracle and/or its affiliates. All rights reserved.