1
2
3
4
5
6
7
8 package com.puppycrawl.tools.checkstyle.checks.sizes.parameternumber;
9
10 public class InputParameterNumberIgnoreAnnotatedByFullyQualifiedClassName {
11 @java.lang.Deprecated
12 void method3(int a, int b, int c) {}
13
14 @Deprecated
15 void method4(int a, int b, int c) {}
16
17 void method5(int a, int b, int c) {}
18
19 @Session
20 void method6(int a, int b, int c) {}
21
22 @InputParameterNumberIgnoreAnnotatedByFullyQualifiedClassName.Session
23 void method7(int a, int b, int c) {}
24
25 @com.puppycrawl.tools.checkstyle.checks.sizes.parameternumber
26 .InputParameterNumberIgnoreAnnotatedByFullyQualifiedClassName.Session
27 void method8(int a, int b, int c) {}
28
29 @com.puppycrawl.tools.checkstyle.checks.sizes.parameternumber
30 .InputParameterNumberIgnoreAnnotatedByFullyQualifiedClassName.Session
31 void method8(int a, int b) {}
32
33 private static class InnerClass {
34 private @interface InnerAnno {}
35
36 @InnerClass.InnerAnno
37 void method1(int a, int b, int c) {
38 }
39
40 @InnerAnno
41 void method2(int a, int b, int c) {
42 }
43
44 @Bit
45 void method3(int a, int b, int c) {
46 }
47
48 @InnerAnno
49 void method2(int a, int b) {
50 }
51
52 @Bit
53 void method3(int a, int b) {
54 }
55
56 void method4(int a, int b) {
57 }
58 }
59
60 @interface Session {}
61 @interface Bit{}
62 }