Top Description Fields Constructors Methods
org.codehaus.groovy.ast.stmt

public Class Statement

extends ASTNode
Class Inheritance
Known Direct Subclasses
org.codehaus.groovy.ast.stmt.SwitchStatement, org.codehaus.groovy.ast.stmt.SynchronizedStatement, org.codehaus.groovy.ast.stmt.ThrowStatement, org.codehaus.groovy.ast.stmt.TryCatchStatement, org.codehaus.groovy.ast.stmt.WhileStatement, org.codehaus.groovy.classgen.BytecodeSequence, org.apache.groovy.parser.antlr4.AstBuilder.DeclarationListStatement, org.codehaus.groovy.ast.stmt.AssertStatement, org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.stmt.BreakStatement, org.codehaus.groovy.ast.stmt.CaseStatement, org.codehaus.groovy.ast.stmt.CatchStatement, org.codehaus.groovy.ast.stmt.ContinueStatement, org.codehaus.groovy.ast.stmt.DoWhileStatement, org.codehaus.groovy.ast.stmt.EmptyStatement, org.codehaus.groovy.ast.stmt.ExpressionStatement, org.codehaus.groovy.ast.stmt.ForStatement, org.codehaus.groovy.ast.stmt.IfStatement, org.codehaus.groovy.ast.stmt.ReturnStatement
Imports
org.codehaus.groovy.ast.ASTNode, java.util.LinkedList, .List, .Objects, .Optional

Base class for any statement.

Field Summary

Modifier and TypeField and Description
private List<String>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public String
getStatementLabel()

Deprecated
public List<String>
public boolean
public void
Inherited from org.codehaus.groovy.ast.ASTNode:
copyNodeMetaDatagetColumnNumbergetLastColumnNumbergetLastLineNumbergetLineNumbergetMetaDataMapgetTextsetColumnNumbersetLastColumnNumbersetLastLineNumbersetLineNumbersetMetaDataMapsetSourcePositionvisit

Field Detail

statementLabelsback to summary
private List<String> statementLabels

Constructor Detail

Statementback to summary
public Statement()

Method Detail

addStatementLabelback to summary
public void addStatementLabel(final String label)
copyStatementLabelsback to summary
public void copyStatementLabels(final Statement that)
getStatementLabelback to summary
public String getStatementLabel()

Deprecated

Annotations
@Deprecated
getStatementLabelsback to summary
public List<String> getStatementLabels()
isEmptyback to summary
public boolean isEmpty()
setStatementLabelback to summary
public void setStatementLabel(final String label)