aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/com/puppycrawl/tools/checkstyle/checks/indentation/InputValidDotIndent.java
blob: bb914053a2effdba80463ed23eaf369f3860b62f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
package com.puppycrawl.tools.checkstyle.checks.indentation; //indent:0 exp:0

import javax.swing.border.BevelBorder; //indent:0 exp:0
import javax.swing.plaf.metal.MetalButtonUI; //indent:0 exp:0

/**                                                                           //indent:0 exp:0
 * This test-input is intended to be checked using following configuration:   //indent:1 exp:1
 *                                                                            //indent:1 exp:1
 * arrayInitIndent = 4                                                        //indent:1 exp:1
 * basicOffset = 4                                                            //indent:1 exp:1
 * braceAdjustment = 0                                                        //indent:1 exp:1
 * caseIndent = 4                                                             //indent:1 exp:1
 * forceStrictCondition = false                                               //indent:1 exp:1
 * lineWrappingIndentation = 4                                                //indent:1 exp:1
 * tabWidth = 4                                                               //indent:1 exp:1
 * throwsIndent = 4                                                           //indent:1 exp:1
 *                                                                            //indent:1 exp:1
 * @author  jrichard                                                         //indent:1 exp:1
 */                                                                           //indent:1 exp:1
public class InputValidDotIndent { //indent:0 exp:0

    /** Creates a new instance of InputValidDotIndent */ //indent:4 exp:4
    public InputValidDotIndent() { //indent:4 exp:4

        System.lineSeparator(); //indent:8 exp:8

        String. //indent:8 exp:8
            CASE_INSENSITIVE_ORDER.reversed(); //indent:12 exp:12

        String.CASE_INSENSITIVE_ORDER. //indent:8 exp:8
            reversed(); //indent:12 exp:12

        String. //indent:8 exp:8
            CASE_INSENSITIVE_ORDER. //indent:12 exp:12
                reversed(); //indent:16 exp:16

        String //indent:8 exp:8
            .CASE_INSENSITIVE_ORDER //indent:12 exp:12
                .reversed(); //indent:16 exp:16

        BevelBorder border = new javax.swing.border.BevelBorder(BevelBorder.LOWERED); //indent:8 exp:8
        border = new javax.swing.border. //indent:8 exp:8
            BevelBorder(BevelBorder.LOWERED); //indent:12 exp:12


        border = new javax.swing.border.BevelBorder( //indent:8 exp:8
            BevelBorder.LOWERED); //indent:12 exp:12
        border = new javax. //indent:8 exp:8
            swing. //indent:12 exp:12
                border. //indent:16 exp:16
                    BevelBorder(BevelBorder.LOWERED); //indent:20 exp:20
        border = //indent:8 exp:8
            new javax. //indent:12 exp:12
                swing //indent:16 exp:16
                    .border //indent:20 exp:20
                        .BevelBorder(BevelBorder.LOWERED); //indent:24 exp:24
        border = //indent:8 exp:8
            new javax. //indent:12 exp:12
                swing //indent:16 exp:16
                    .border //indent:20 exp:20
                        .BevelBorder(BevelBorder. //indent:24 exp:24
                            LOWERED); //indent:28 exp:28

        Class<MetalButtonUI> c = javax.swing. //indent:8 exp:8
            plaf.metal.MetalButtonUI.class; //indent:12 exp:12

        Class<MetalButtonUI> c1 = javax.swing //indent:8 exp:8
            .plaf.metal.MetalButtonUI.class; //indent:12 exp:12

        Class<MetalButtonUI> c2 = javax.swing //indent:8 exp:8
            .plaf.metal. //indent:12 exp:12
                MetalButtonUI.class; //indent:16 exp:16

        Class<MetalButtonUI> c3 = javax.swing //indent:8 exp:8
            .plaf.metal //indent:12 exp:12
                .MetalButtonUI.class; //indent:16 exp:16

        Class<MetalButtonUI> c4 = javax. //indent:8 exp:8
            swing.plaf.metal. //indent:12 exp:12
                MetalButtonUI.class; //indent:16 exp:16



        border = //indent:8 exp:8
            new javax. //indent:12 exp:12
                swing //indent:16 exp:16
                    .border.BevelBorder(BevelBorder. //indent:20 exp:20
                        LOWERED); //indent:24 exp:24

    } //indent:4 exp:4

} //indent:0 exp:0