View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0
2   
3   /**                                                                           //indent:0 exp:0
4    * This test-input is intended to be checked using following configuration:   //indent:1 exp:1
5    *                                                                            //indent:1 exp:1
6    * arrayInitIndent = 4                                                        //indent:1 exp:1
7    * basicOffset = 4                                                            //indent:1 exp:1
8    * braceAdjustment = 0                                                        //indent:1 exp:1
9    * caseIndent = 4                                                             //indent:1 exp:1
10   * forceStrictCondition = false                                               //indent:1 exp:1
11   * lineWrappingIndentation = 4                                                //indent:1 exp:1
12   * tabWidth = 4                                                               //indent:1 exp:1
13   * throwsIndent = 4                                                           //indent:1 exp:1
14   */                                                                           //indent:1 exp:1
15  public class InputIndentationInvalidLabelWithWhileLoopIndent { //indent:0 exp:0
16  
17      public InputIndentationInvalidLabelWithWhileLoopIndent() { //indent:4 exp:4
18           LOOP://indent:9 exp:4,8 warn
19           while (true) { //indent:9 exp:8,12 warn
20              break LOOP; //indent:12 exp:12
21          } //indent:8 exp:8
22      } //indent:4 exp:4
23  } //indent:0 exp:0