Interface NodeWithBody<N extends Node>

All Known Implementing Classes:
DoStmt, ForEachStmt, ForStmt, WhileStmt

public interface NodeWithBody<N extends Node>
  • Method Details

    • getBody

      Statement getBody()
    • setBody

      N setBody(Statement body)
    • createBlockStatementAsBody

      default BlockStmt createBlockStatementAsBody()
    • hasEmptyBody

      default boolean hasEmptyBody()
      Returns:
      true if the body is an EmptyStmt or an empty BlockStmt