Package org.codehaus.groovy.ast.stmt
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
Base class for any statement.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStatementLabel
(String label) void
copyStatementLabels
(Statement that) Deprecated.boolean
isEmpty()
void
setStatementLabel
(String label) Methods inherited from class org.codehaus.groovy.ast.ASTNode
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.codehaus.groovy.ast.NodeMetaDataHandler
copyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, newMetaDataMap, putNodeMetaData, removeNodeMetaData, setNodeMetaData
-
Constructor Details
-
Statement
public Statement()
-
-
Method Details
-
getStatementLabels
-
getStatementLabel
Deprecated. -
setStatementLabel
-
addStatementLabel
-
copyStatementLabels
-
isEmpty
public boolean isEmpty()
-