View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0
2   
3   @interface SimpleType { //indent:0 exp:0
4       Class<?> value(); //indent:4 exp:4
5   } //indent:0 exp:0
6   
7   @interface PrecedingSimpleType { //indent:0 exp:0
8       Class<?> value(); //indent:4 exp:4
9   } //indent:0 exp:0
10  
11  @PrecedingSimpleType( //indent:0 exp:0
12      value = Boolean.class //indent:4 exp:4
13  ) //indent:0 exp:0
14  @SimpleType( //indent:0 exp:0
15      value = Boolean.class //indent:4 exp:4
16  ) //indent:0 exp:0
17  public class InputIndentationAnnotationClosingParenthesisEndsInSameIndentationAsOpening { //indent:0 exp:0
18  } //indent:0 exp:0
19  
20  @PrecedingSimpleType( value = Boolean.class //indent:0 exp:0
21  ) //indent:0 exp:0
22  @SimpleType( value = Boolean.class //indent:0 exp:0
23  ) //indent:0 exp:0
24  class MultipleInputIndentationAnnotationClosingParenthesisJustLineAfterOpeningSameIndentationAsOpening { //indent:0 exp:0
25  } //indent:0 exp:0
26  
27  @SimpleType( value = Boolean.class //indent:0 exp:0
28  ) //indent:0 exp:0
29  class InputIndentationAnnotationClosingParenthesisJustLineAfterOpeningSameIndentationAsOpening { //indent:0 exp:0
30  } //indent:0 exp:0
31  
32  @PrecedingSimpleType( value = Boolean.class //indent:0 exp:0
33                  ) //indent:16 exp:0 warn
34  @SimpleType( value = Boolean.class //indent:0 exp:0
35                  ) //indent:16 exp:0 warn
36  class InputIndentationAnnotationClosingParenthesisHasBadIndentation { //indent:0 exp:0
37  
38      @PrecedingSimpleType( value = Boolean.class //indent:4 exp:4
39          ) //indent:8 exp:4 warn
40      @SimpleType( value = Boolean.class //indent:4 exp:4
41          ) //indent:8 exp:4 warn
42      Boolean booleanField; //indent:4 exp:4
43  
44      @SimpleType( value = Boolean.class //indent:4 exp:4
45          ) //indent:8 exp:4 warn
46      Boolean anotherBooleanField; //indent:4 exp:4
47  } //indent:0 exp:0