1 package com.google.checkstyle.test.chapter4formatting.rule4853methodsandconstructorsannotations;
2
3
4 public class InputFormattedMethodsAndConstructorsAnnotations {
5
6 public @interface SomeAnnotation1 {}
7
8
9 public @interface SomeAnnotation2 {}
10
11
12
13
14 @SomeAnnotation1
15 @SomeAnnotation2
16 void test1() {}
17
18
19 @SomeAnnotation1
20 void test2() {}
21
22
23 @SomeAnnotation1
24 @SomeAnnotation2
25 void test3() {}
26
27 @SomeAnnotation1
28 @SomeAnnotation2
29 void test6() {}
30
31 @SuppressWarnings("blah")
32 void test7() {}
33
34
35
36
37 @SomeAnnotation1
38 @SomeAnnotation2
39 InputFormattedMethodsAndConstructorsAnnotations() {}
40
41
42 @SomeAnnotation1
43 InputFormattedMethodsAndConstructorsAnnotations(float f) {}
44
45
46 @SomeAnnotation1
47 @SomeAnnotation2
48 InputFormattedMethodsAndConstructorsAnnotations(int x) {}
49
50 @SomeAnnotation1
51 @SomeAnnotation2
52 InputFormattedMethodsAndConstructorsAnnotations(String a, String b) {}
53
54 @SuppressWarnings("blah")
55 InputFormattedMethodsAndConstructorsAnnotations(int x, int y) {}
56 }