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 = 0                                                             //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   *                                                                            //indent:1 exp:1
16   */                                                                           //indent:1 exp:1
17  public class InputIndentationZeroCaseLevel { //indent:0 exp:0
18      protected void begin(){ //indent:4 exp:4
19          int i=0; //indent:8 exp:8
20          switch (i) //indent:8 exp:8
21          { //indent:8 exp:8
22          case 1: i++; //indent:8 exp:8
23          default: i++; //indent:8 exp:8
24          } //indent:8 exp:8
25      } //indent:4 exp:4
26  } //indent:0 exp:0