LabelledBreakTarget
Labels should only be used on loops.

Severity
WARNING

The problem

Labels should only be used on loops. For other statements, consider refactoring to express the control flow without labelled breaks.

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("LabelledBreakTarget") to the enclosing element.