Package com.github.javaparser.ast.stmt
package com.github.javaparser.ast.stmt
-
Class SummaryClassDescriptionA usage of the keyword "assert"
Inassert dead : "Wasn't expecting to be dead here";
the check is "dead" and the message is the string.Statements in between { and }.The break statementThe catch part of a try-catch-finally.A continue statement with an optional label;continue brains;
continue;
A do-while.An empty statement is a ";" where a statement is expected.A call to super or this in a constructor or initializer.Used to wrap an expression so that it can take the place of a statement.A for-each statement.The classic for statementAn if-then-else statement.A statement that is labeled, likelabel123: println("continuing");
A class declaration inside a method.A record declaration inside a method.The return statement, with an optional expression to return.A base class for all statements.One case in a switch statementThe switch statementUsage of the synchronized keyword.Usage of the throw statement.The try statementA statement that had parse errors.A while statement.The yield statement -
Enum Summary