# Uses of Class
org.codehaus.janino.Java.Statement

Packages that use Java.Statement
Package
Description
org.codehaus.janino
The core of the Janino Java compiler.
org.codehaus.janino.util
Application-independent helper classes.

## Uses of Java.Statement in org.codehaus.janino

Subclasses of Java.Statement in org.codehaus.janino
Modifier and Type
Class
Description
`static final class`
`Java.AssertStatement`
Representation of the JLS7 14.10 ASSERT statement.
`static final class`
`Java.Block`
Representation of a Java "block" (JLS7 14.2).
`static class`
`Java.BreakableStatement`
Base class for statements that can be terminated abnormally with a `break` statement.
`static final class`
`Java.BreakStatement`
Representation of the JLS7 14.15 BREAK statement.
`static class`
`Java.ContinuableStatement`
Base class for statements that support the "continue" statement.
`static final class`
`Java.ContinueStatement`
Representation of the JLS7 14.16 CONTINUE statement.
`static final class`
`Java.DoStatement`
Representation of a JLS7 14.13 DO statement.
`static final class`
`Java.EmptyStatement`
Representation of the "empty statement", i.e.
`static final class`
`Java.ExpressionStatement`
Representation of the JLS7 14.8 "expression statement".
`static final class`
`Java.FieldDeclaration`
This class is derived from "Statement", because it provides for the initialization of the field.
`static final class`
`Java.ForEachStatement`
Representation of a JLS7 14.14.2 "enhanced FOR statement".
`static final class`
`Java.ForStatement`
Representation of a JLS7 14.14.1 "basic FOR statement".
`static final class`
`Java.IfStatement`
Representation of a JLS7 14.9 IF statement.
`static final class`
`Java.LabeledStatement`
Representation of a JLS7 14.7 "labeled statement".
`static final class`
`Java.LocalClassDeclarationStatement`
Representation of the JLS7 14.3 "local class declaration statement".
`static final class`
`Java.LocalVariableDeclarationStatement`
Representation of a JLS7 14.4 "local variable declaration statement".
`static final class`
`Java.ReturnStatement`
Representation of the JLS7 14.17 RETURN statement.
`static final class`
`Java.SwitchStatement`
The JLS7 14.10 `switch` Statement.
`static final class`
`Java.SynchronizedStatement`
Representation of a JLS7 14.9 SYNCHRONIZED statement.
`static final class`
`Java.ThrowStatement`
Representation of a JLS7 14.18 THROW statement.
`static final class`
`Java.TryStatement`
Representation of a JLS7 14.20 TRY statement.
`static final class`
`Java.WhileStatement`
Representation of the JLS7 14.2 WHILE statement.
Fields in org.codehaus.janino declared as Java.Statement
Modifier and Type
Field
Description
`final Java.Statement`
Java.LabeledStatement.`body`
The labeled block.
Methods in org.codehaus.janino that return Java.Statement
Modifier and Type
Method
Description
`Java.Statement`
Parser.`parseAssertStatement()`
AssertStatement := 'assert' Expression [ ':' Expression ] ';'
`Java.Statement`
Parser.`parseBreakStatement()`
BreakStatement := 'break' [ Identifier ] ';'
`Java.Statement`
Parser.`parseContinueStatement()`
ContinueStatement := 'continue' [ Identifier ] ';'
`Java.Statement`
Parser.`parseDoStatement()`
DoStatement := 'do' Statement 'while' '(' Expression ')' ';'
`Java.Statement`
Parser.`parseEmptyStatement()`
EmptyStatement := ';'
`Java.Statement`
Parser.`parseExpressionStatement()`
ExpressionStatement := Expression ';'
`Java.Statement`
Parser.`parseForStatement()`
ForStatement := 'for' '(' [ ForInit ] ';' [ Expression ] ';' [ ExpressionList ] ')' Statement | 'for' '(' FormalParameter ':' Expression ')' Statement ForInit := Modifiers Type VariableDeclarators | ModifiersOpt PrimitiveType VariableDeclarators | Expression VariableDeclarators (1) | Expression { ',' Expression }
`Java.Statement`
Parser.`parseIfStatement()`
IfStatement := 'if' '(' Expression ')' Statement [ 'else' Statement ]
`Java.Statement`
Parser.`parseLabeledStatement()`
LabeledStatement := Identifier ':' Statement
`Java.Statement`
Parser.`parseReturnStatement()`
ReturnStatement := 'return' [ Expression ] ';'
`Java.Statement`
Parser.`parseStatement()`
Statement := LabeledStatement | Block | IfStatement | ForStatement | WhileStatement | DoStatement | TryStatement | 'switch' ...
`Java.Statement`
Parser.`parseSwitchStatement()`
SwitchStatement := 'switch' '(' Expression ')' '{' { SwitchLabels BlockStatements } '}' SwitchLabels := SwitchLabels { SwitchLabels } SwitchLabel := 'case' Expression ':' | 'default' ':'
`Java.Statement`
Parser.`parseSynchronizedStatement()`
SynchronizedStatement := 'synchronized' '(' expression ')' Block
`Java.Statement`
Parser.`parseThrowStatement()`
ThrowStatement := 'throw' Expression ';'
`Java.Statement`
Parser.`parseTryStatement()`
TryStatement := 'try' Block Catches [ Finally ] | 'try' Block Finally Catches := CatchClause { CatchClause } CatchClause := 'catch' '(' FormalParameter ')' Block Finally := 'finally' Block
`Java.Statement`
Parser.`parseWhileStatement()`
WhileStatement := 'while' '(' Expression ')' Statement
Constructors in org.codehaus.janino with parameters of type Java.Statement
Modifier
Constructor
Description
``
`LabeledStatement(Location location, String label, Java.Statement body)`

## Uses of Java.Statement in org.codehaus.janino.util

Methods in org.codehaus.janino.util that return Java.Statement
Modifier and Type
Method
Description
`Java.Statement`
DeepCopier.`copyStatement(Java.Statement subject)`
Methods in org.codehaus.janino.util with parameters of type Java.Statement
Modifier and Type
Method
Description
`Java.Statement`
DeepCopier.`copyStatement(Java.Statement subject)`
`void`
AbstractTraverser.`traverseStatement(Java.Statement s)`
`void`
Traverser.`traverseStatement(Java.Statement s)`