Java Language Specification 24 / Chapter 14
- Chapter 14. Blocks, Statements, and Patterns
- §14.1 . Normal and Abrupt Completion of Statements
- §14.10 . The assert Statement
- §14.11 . The switch Statement
- §14.11.1 . Switch Blocks
- §14.11.1.1 . Exhaustive Switch Blocks
- §14.11.1.2 . Determining which Switch Label Applies at Run Time
- §14.11.2 . The Switch Block of a switch Statement
- §14.11.3 . Execution of a switch Statement
- §14.12 . The while Statement
- §14.12.1 . Abrupt Completion of while Statement
- §14.13 . The do Statement
- §14.13.1 . Abrupt Completion of do Statement
- §14.14 . The for Statement
- §14.14.1 . The basic for Statement
- §14.14.1.1 . Initialization of for Statement
- §14.14.1.2 . Iteration of for Statement
- §14.14.1.3 . Abrupt Completion of for Statement
- §14.14.2 . The enhanced for statement
- §14.15 . The break Statement
- §14.16 . The continue Statement
- §14.17 . The return Statement
- §14.18 . The throw Statement
- §14.19 . The synchronized Statement
- §14.2 . Blocks
- §14.20 . The try statement
- §14.20.1 . Execution of try-catch
- §14.20.2 . Execution of try-finally and try-catch-finally
- §14.20.3 . try-with-resources
- §14.20.3.1 . Basic try-with-resources
- §14.20.3.2 . Extended try-with-resources
- §14.21 . The yield Statement
- §14.22 . Unreachable Statements
- §14.3 . Local Class and Interface Declarations
- §14.30 . Patterns
- §14.30.1 . Kinds of Patterns
- §14.30.2 . Pattern Matching
- §14.30.3 . Properties of Patterns
- §14.4 . Local Variable Declarations
- §14.4.1 . Local Variable Declarators and Types
- §14.4.2 . Local Variable Declaration Statements
- §14.5 . Statements
- §14.6 . The Empty Statement
- §14.7 . Labeled Statements
- §14.8 . Expression Statements
- §14.9 . The if Statement
- §14.9.1 . The if-then Statement
- §14.9.2 . The if-then-else Statement