Module Statement
Provides classes and predicates for working with Java statements.
Import path
import semmle.code.java.StatementImports
| Expr | Provides classes for working with Java expressions. |
| MetricStmt | Provides classes and predicates for computing metrics on Java statements. |
Classes
| AssertStmt | An |
| BlockStmt | A block of statements. |
| BreakStmt | A |
| CatchClause | A |
| ConditionalStmt | A conditional statement, including |
| ConstCase | A constant |
| ContinueStmt | A |
| DefaultCase | A |
| DoStmt | A |
| EmptyStmt | The empty statement. |
| EnhancedForStmt | An enhanced |
| ErrorStmt | An error statement. |
| ExprStmt | An expression statement. |
| ForStmt | A |
| IfStmt | An |
| JumpStmt | A |
| LabeledStmt | A labeled statement. |
| LocalTypeDeclStmt | A statement that declares a local class or interface. |
| LocalVariableDeclStmt | A statement that declares one or more local variables. |
| LoopStmt | A loop statement, including |
| NullDefaultCase | A |
| PatternCase | A pattern case of a |
| ReturnStmt | A |
| SingletonBlock | A block with only a single statement. |
| Stmt | A common super-class of all statements. |
| StmtParent | A statement parent is any element that can have a statement as its child. |
| SuperConstructorInvocationStmt | An explicit |
| SwitchBlock | A |
| SwitchCase | A case of a |
| SwitchStmt | A |
| SynchronizedStmt | A |
| ThisConstructorInvocationStmt | An explicit |
| ThrowStmt | A |
| TryStmt | A |
| WhileStmt | A |
| YieldStmt | A |