Inspectopedia Help

'continue' or 'break' from 'finally' block

Reports break and continue statements inside of finally blocks.

While occasionally intended, such statements are very confusing, may mask thrown exceptions, and tremendously complicate debugging.

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin:

Groovy, 241.16690

Last modified: 29 April 2024