View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0
2   
3   
4   
5   
6   @WrappedLinesAnnotation1 //indent:0 exp:0
7   @WrappedLinesAnnotation3( //indent:0 exp:0
8       "value" //indent:4 exp:4
9   ) //indent:0 exp:0
10  public class InputIndentationCorrectMultipleAnnotationsWithWrappedLines { //indent:0 exp:0
11  
12      @WrappedLinesAnnotation1 //indent:4 exp:4
13      @WrappedLinesAnnotation3( //indent:4 exp:4
14          "value" //indent:8 exp:8
15      ) //indent:4 exp:4
16      public String value; //indent:4 exp:4
17  
18      @WrappedLinesAnnotation1 //indent:4 exp:4
19      @WrappedLinesAnnotation3( //indent:4 exp:4
20          "value" //indent:8 exp:8
21      ) //indent:4 exp:4
22      public String method() { //indent:4 exp:4
23          return "value"; //indent:8 exp:8
24      }; //indent:4 exp:4
25  
26  } //indent:0 exp:0
27  
28  @WrappedLinesAnnotation1 //indent:0 exp:0
29  @WrappedLinesAnnotation3( //indent:0 exp:0
30      "value" //indent:4 exp:4
31  ) //indent:0 exp:0
32  class InputIndentationCorrectMultipleAnnotationsWithWrappedLines2 { //indent:0 exp:0
33  
34      @WrappedLinesAnnotation1 //indent:4 exp:4
35      @WrappedLinesAnnotation3( //indent:4 exp:4
36          "value" //indent:8 exp:8
37      ) //indent:4 exp:4
38      public String value; //indent:4 exp:4
39  
40      @WrappedLinesAnnotation1 //indent:4 exp:4
41      @WrappedLinesAnnotation3( //indent:4 exp:4
42          "value" //indent:8 exp:8
43      ) //indent:4 exp:4
44      public String method() { //indent:4 exp:4
45          return "value"; //indent:8 exp:8
46      }; //indent:4 exp:4
47  
48  } //indent:0 exp:0
49  
50  @WrappedLinesAnnotation1 //indent:0 exp:0
51  @WrappedLinesAnnotation3( //indent:0 exp:0
52      "value" //indent:4 exp:4
53  ) //indent:0 exp:0
54  @WrappedLinesAnnotation2 //indent:0 exp:0
55  class InputIndentationCorrectMultipleAnnotationsWithWrappedLines3 { //indent:0 exp:0
56  
57      @WrappedLinesAnnotation1 //indent:4 exp:4
58      @WrappedLinesAnnotation3( //indent:4 exp:4
59          "value" //indent:8 exp:8
60      ) //indent:4 exp:4
61      @WrappedLinesAnnotation2 //indent:4 exp:4
62      public String value; //indent:4 exp:4
63  
64      @WrappedLinesAnnotation1 //indent:4 exp:4
65      @WrappedLinesAnnotation3( //indent:4 exp:4
66          "value" //indent:8 exp:8
67      ) //indent:4 exp:4
68      @WrappedLinesAnnotation2 //indent:4 exp:4
69      public String method() { //indent:4 exp:4
70          return "value"; //indent:8 exp:8
71      }; //indent:4 exp:4
72  
73  } //indent:0 exp:0
74  
75  @WrappedLinesAnnotation1 //indent:0 exp:0
76  @WrappedLinesAnnotation3( //indent:0 exp:0
77      "value" //indent:4 exp:4
78  ) @WrappedLinesAnnotation2 //indent:0 exp:0
79  class InputIndentationCorrectMultipleAnnotationsWithWrappedLines4 { //indent:0 exp:0
80  
81      @WrappedLinesAnnotation1 //indent:4 exp:4
82      @WrappedLinesAnnotation3( //indent:4 exp:4
83          "value" //indent:8 exp:8
84      ) @WrappedLinesAnnotation2 //indent:4 exp:4
85      public String value; //indent:4 exp:4
86  
87      @WrappedLinesAnnotation1 //indent:4 exp:4
88      @WrappedLinesAnnotation3( //indent:4 exp:4
89          "value" //indent:8 exp:8
90      ) @WrappedLinesAnnotation2 //indent:4 exp:4
91      public String method() { //indent:4 exp:4
92          return "value"; //indent:8 exp:8
93      }; //indent:4 exp:4
94  
95  } //indent:0 exp:0
96  
97  @WrappedLinesAnnotation3( //indent:0 exp:0
98      "value" //indent:4 exp:4
99  ) //indent:0 exp:0
100 @WrappedLinesAnnotation2 //indent:0 exp:0
101 class InputIndentationCorrectMultipleAnnotationsWithWrappedLines5 { //indent:0 exp:0
102 
103     @WrappedLinesAnnotation3( //indent:4 exp:4
104         "value" //indent:8 exp:8
105     ) //indent:4 exp:4
106     @WrappedLinesAnnotation2 //indent:4 exp:4
107     public String value; //indent:4 exp:4
108 
109     @WrappedLinesAnnotation3( //indent:4 exp:4
110         "value" //indent:8 exp:8
111     ) //indent:4 exp:4
112     @WrappedLinesAnnotation2 //indent:4 exp:4
113     public String method() { //indent:4 exp:4
114         return "value"; //indent:8 exp:8
115     }; //indent:4 exp:4
116 
117 } //indent:0 exp:0
118 
119 @WrappedLinesAnnotation1 //indent:0 exp:0
120 @WrappedLinesAnnotation4( //indent:0 exp:0
121     { "value" } //indent:4 exp:4
122 ) //indent:0 exp:0
123 @WrappedLinesAnnotation2 //indent:0 exp:0
124 class InputIndentationCorrectMultipleAnnotationsWithWrappedLines6 { //indent:0 exp:0
125 
126     @WrappedLinesAnnotation1 //indent:4 exp:4
127     @WrappedLinesAnnotation4( //indent:4 exp:4
128         { "value" } //indent:8 exp:8
129     ) //indent:4 exp:4
130     @WrappedLinesAnnotation2 //indent:4 exp:4
131     public String value; //indent:4 exp:4
132 
133     @WrappedLinesAnnotation1 //indent:4 exp:4
134     @WrappedLinesAnnotation4( //indent:4 exp:4
135         { "value" } //indent:8 exp:8
136     ) //indent:4 exp:4
137     @WrappedLinesAnnotation2 //indent:4 exp:4
138     public String method() { //indent:4 exp:4
139         return "value"; //indent:8 exp:8
140     }; //indent:4 exp:4
141 
142 } //indent:0 exp:0
143 
144 @WrappedLinesAnnotation1 //indent:0 exp:0
145 @WrappedLinesAnnotation4({ //indent:0 exp:0
146     "value" //indent:4 exp:4
147 }) //indent:0 exp:0
148 @WrappedLinesAnnotation2 //indent:0 exp:0
149 class InputIndentationCorrectMultipleAnnotationsWithWrappedLines7 { //indent:0 exp:0
150 
151     @WrappedLinesAnnotation1 //indent:4 exp:4
152     @WrappedLinesAnnotation4({ //indent:4 exp:4
153         "value" //indent:8 exp:8
154     }) //indent:4 exp:4
155     @WrappedLinesAnnotation2 //indent:4 exp:4
156     public String value; //indent:4 exp:4
157 
158     @WrappedLinesAnnotation1 //indent:4 exp:4
159     @WrappedLinesAnnotation4({ //indent:4 exp:4
160         "value" //indent:8 exp:8
161     }) //indent:4 exp:4
162     @WrappedLinesAnnotation2 //indent:4 exp:4
163     public String method() { //indent:4 exp:4
164         return "value"; //indent:8 exp:8
165     }; //indent:4 exp:4
166 
167 } //indent:0 exp:0
168 
169 @WrappedLinesAnnotation1 //indent:0 exp:0
170 @WrappedLinesAnnotationOuter( //indent:0 exp:0
171     @WrappedLinesAnnotationInner //indent:4 exp:4
172 ) //indent:0 exp:0
173 @WrappedLinesAnnotation2 //indent:0 exp:0
174 //indent:0 exp:0
175 class InputIndentationCorrectMultipleAnnotationsWithWrappedLines8 { //indent:0 exp:0
176 
177     @WrappedLinesAnnotation1 //indent:4 exp:4
178     @WrappedLinesAnnotationOuter( //indent:4 exp:4
179         @WrappedLinesAnnotationInner //indent:8 exp:8
180     ) //indent:4 exp:4
181     @WrappedLinesAnnotation2 //indent:4 exp:4
182     public String value; //indent:4 exp:4
183 
184     @WrappedLinesAnnotation1 //indent:4 exp:4
185     @WrappedLinesAnnotationOuter( //indent:4 exp:4
186         @WrappedLinesAnnotationInner //indent:8 exp:8
187     ) //indent:4 exp:4
188     @WrappedLinesAnnotation2 //indent:4 exp:4
189     public String method() { //indent:4 exp:4
190         return "value"; //indent:8 exp:8
191     }; //indent:4 exp:4
192 
193 } //indent:0 exp:0
194 
195 @interface WrappedLinesAnnotation1 {} //indent:0 exp:0
196 @interface WrappedLinesAnnotation2 {} //indent:0 exp:0
197 @interface WrappedLinesAnnotation3 { //indent:0 exp:0
198     String value(); //indent:4 exp:4
199 } //indent:0 exp:0
200 @interface WrappedLinesAnnotation4 { //indent:0 exp:0
201     String[] value(); //indent:4 exp:4
202 } //indent:0 exp:0
203 @interface WrappedLinesAnnotationInner {} //indent:0 exp:0
204 @interface WrappedLinesAnnotationOuter { //indent:0 exp:0
205     WrappedLinesAnnotationInner[] value(); //indent:4 exp:4
206 } //indent:0 exp:0