Class Statement

java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.stmt.Statement
All Implemented Interfaces:
NodeMetaDataHandler
Direct Known Subclasses:
AssertStatement, BlockStatement, BreakStatement, BytecodeSequence, CaseStatement, CatchStatement, ContinueStatement, DoWhileStatement, EmptyStatement, ExpressionStatement, ForStatement, IfStatement, ReturnStatement, SwitchStatement, SynchronizedStatement, ThrowStatement, TryCatchStatement, WhileStatement

public class Statement
extends ASTNode
Base class for any statement.
  • Constructor Details

    • Statement

      public Statement()
  • Method Details

    • getStatementLabels

      public java.util.List<java.lang.String> getStatementLabels()
    • getStatementLabel

      @Deprecated public java.lang.String getStatementLabel()
      Deprecated.
    • setStatementLabel

      public void setStatementLabel​(java.lang.String label)
    • addStatementLabel

      public void addStatementLabel​(java.lang.String label)
    • copyStatementLabels

      public void copyStatementLabels​(Statement that)
    • isEmpty

      public boolean isEmpty()