View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.indentation.indentation; //indent:0 exp:0
2   
3   public class InputIndentationMethodPrecededByAnnotationWithParameterOnSeparateLine {//indent:0 exp:0
4   
5     @interface  Annotation1 { //indent:2 exp:2
6       String field1(); //indent:4 exp:4
7       String field2(); //indent:4 exp:4
8     } //indent:2 exp:2
9   
10    @interface Annotation2 {}; //indent:2 exp:2
11  
12    @Annotation1(field1 = "foo", field2 = "bar") //indent:2 exp:2
13    public @Annotation2 String method( //indent:2 exp:2
14        String param //indent:6 exp:6
15    ) { //indent:2 exp:2
16      return null; //indent:4 exp:4
17    } //indent:2 exp:2
18  
19  } //indent:0 exp:0
20