View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0
2   
3   import javax.swing.border.BevelBorder; //indent:0 exp:0
4   import javax.swing.plaf.metal.MetalButtonUI; //indent:0 exp:0
5   
6   /**                                                                           //indent:0 exp:0
7    * This test-input is intended to be checked using following configuration:   //indent:1 exp:1
8    *                                                                            //indent:1 exp:1
9    * arrayInitIndent = 4                                                        //indent:1 exp:1
10   * basicOffset = 4                                                            //indent:1 exp:1
11   * braceAdjustment = 0                                                        //indent:1 exp:1
12   * caseIndent = 4                                                             //indent:1 exp:1
13   * forceStrictCondition = false                                               //indent:1 exp:1
14   * lineWrappingIndentation = 4                                                //indent:1 exp:1
15   * tabWidth = 4                                                               //indent:1 exp:1
16   * throwsIndent = 4                                                           //indent:1 exp:1
17   *                                                                            //indent:1 exp:1
18   * @author  jrichard                                                         //indent:1 exp:1
19   */                                                                           //indent:1 exp:1
20  public class InputIndentationValidDotIndent { //indent:0 exp:0
21  
22      /** Creates a new instance of InputIndentationValidDotIndent */ //indent:4 exp:4
23      public InputIndentationValidDotIndent() { //indent:4 exp:4
24  
25          System.lineSeparator(); //indent:8 exp:8
26  
27          String. //indent:8 exp:8
28              CASE_INSENSITIVE_ORDER.reversed(); //indent:12 exp:12
29  
30          String.CASE_INSENSITIVE_ORDER. //indent:8 exp:8
31              reversed(); //indent:12 exp:12
32  
33          String. //indent:8 exp:8
34              CASE_INSENSITIVE_ORDER. //indent:12 exp:12
35                  reversed(); //indent:16 exp:16
36  
37          String //indent:8 exp:8
38              .CASE_INSENSITIVE_ORDER //indent:12 exp:12
39                  .reversed(); //indent:16 exp:16
40  
41          BevelBorder border = new javax.swing.border.BevelBorder(BevelBorder.LOWERED); //indent:8 exp:8
42          border = new javax.swing.border. //indent:8 exp:8
43              BevelBorder(BevelBorder.LOWERED); //indent:12 exp:12
44  
45  
46          border = new javax.swing.border.BevelBorder( //indent:8 exp:8
47              BevelBorder.LOWERED); //indent:12 exp:12
48          border = new javax. //indent:8 exp:8
49              swing. //indent:12 exp:12
50                  border. //indent:16 exp:16
51                      BevelBorder(BevelBorder.LOWERED); //indent:20 exp:20
52          border = //indent:8 exp:8
53              new javax. //indent:12 exp:12
54                  swing //indent:16 exp:16
55                      .border //indent:20 exp:20
56                          .BevelBorder(BevelBorder.LOWERED); //indent:24 exp:24
57          border = //indent:8 exp:8
58              new javax. //indent:12 exp:12
59                  swing //indent:16 exp:16
60                      .border //indent:20 exp:20
61                          .BevelBorder(BevelBorder. //indent:24 exp:24
62                              LOWERED); //indent:28 exp:28
63  
64          Class<MetalButtonUI> c = javax.swing. //indent:8 exp:8
65              plaf.metal.MetalButtonUI.class; //indent:12 exp:12
66  
67          Class<MetalButtonUI> c1 = javax.swing //indent:8 exp:8
68              .plaf.metal.MetalButtonUI.class; //indent:12 exp:12
69  
70          Class<MetalButtonUI> c2 = javax.swing //indent:8 exp:8
71              .plaf.metal. //indent:12 exp:12
72                  MetalButtonUI.class; //indent:16 exp:16
73  
74          Class<MetalButtonUI> c3 = javax.swing //indent:8 exp:8
75              .plaf.metal //indent:12 exp:12
76                  .MetalButtonUI.class; //indent:16 exp:16
77  
78          Class<MetalButtonUI> c4 = javax. //indent:8 exp:8
79              swing.plaf.metal. //indent:12 exp:12
80                  MetalButtonUI.class; //indent:16 exp:16
81  
82  
83  
84          border = //indent:8 exp:8
85              new javax. //indent:12 exp:12
86                  swing //indent:16 exp:16
87                      .border.BevelBorder(BevelBorder. //indent:20 exp:20
88                          LOWERED); //indent:24 exp:24
89  
90      } //indent:4 exp:4
91  
92  } //indent:0 exp:0