View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.coding.variabledeclarationusagedistance;
2   
3   public class InputVariableDeclarationUsageDistanceLabels {
4       public void method() {
5           boolean eol = false;
6   
7           nothing();
8           nothing();
9           nothing();
10          nothing();
11          myLoop:
12          for (int i = 0; i < 5; i++) {
13              if (i == 5) {
14                  eol = true;
15                  break myLoop;
16              }
17          }
18      }
19  
20      public void nothing() {
21      }
22  }