Skip to main content

Module stmt

Module stmt 

Source
Expand description

Statement types.

Structs§

AssertStmt
An assert statement.
Block
A block: { stmt1; stmt2; ... }.
CatchClause
A catch clause.
CatchParam
The parameter of a catch clause.
CatchType
The type in a catch parameter (can be a union type with |).
DoWhileStmt
A do-while statement.
EnhancedForStmt
An enhanced for statement: for (Type var : iterable) body.
ExprStmt
An expression statement: expr;.
ForStmt
A for statement: for (init; cond; update) body.
IfStmt
An if statement.
JumpStmt
A break or continue statement.
LabeledStmt
A labeled statement: label: stmt.
LocalVarDeclStmt
A local variable declaration statement: int x = 5, y = 10;.
ReturnStmt
A return statement.
SwitchCaseGroup
A group of case labels and statements in a switch statement (colon-style).
SwitchStmt
A switch statement.
SynchronizedStmt
A synchronized statement.
ThrowStmt
A throw statement.
VariableDeclarator
A variable declarator: name [= initializer].
WhileStmt
A while statement.
YieldStmt
A yield statement (in switch expressions).

Enums§

ForInit
The initialization part of a for statement.
LocalVarType
The type of a local variable declaration.
Stmt
A Java statement.
TryResource
A resource in a try-with-resources statement.
TryStmt
A try statement.