View Javadoc
1   /*
2   com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder
3   aliasList = com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck=paramnum
4   
5   com.puppycrawl.tools.checkstyle.filters.SuppressWarningsFilter
6   
7   com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck
8   max = (default)7
9   
10  */
11  
12  package com.puppycrawl.tools.checkstyle.checks.suppresswarningsholder;
13  
14  public class InputSuppressWarningsHolderAlias {
15  
16      public void needsLotsOfParameters0(int a, // violation 'More than 7 parameters (found 8)'
17          int b, int c, int d, int e, int f, int g, int h) {
18          // ...
19      }
20  
21      @SuppressWarnings("paramnum")
22      public void needsLotsOfParameters(int a, // filtered violation 'max parameter'
23          int b, int c, int d, int e, int f, int g, int h) {
24          // ...
25      }
26  
27      @SuppressWarnings("ParamnumUnknown")
28      public void needsLotsOfParameters2(int a, // violation 'More than 7 parameters (found 8)'
29          int b, int c, int d, int e, int f, int g, int h) {
30          // ...
31      }
32  
33      @SuppressWarnings("PAramnuM")
34      public void needsLotsOfParameters3(int a, // filtered violation 'max parameter'
35          int b, int c, int d, int e, int f, int g, int h) {
36          // ...
37      }
38  
39      @SuppressWarnings("PARAMNUM")
40      public void needsLotsOfParameters4(int a, // filtered violation 'max parameter'
41          int b, int c, int d, int e, int f, int g, int h) {
42          // ...
43      }
44  
45      @SuppressWarnings("paRAMnum")
46      public void needsLotsOfParameters5(int a, // filtered violation 'max parameter'
47          int b, int c, int d, int e, int f, int g, int h) {
48          // ...
49      }
50  
51      @SuppressWarnings("pAramNUm")
52      public void needsLotsOfParameters6(int a, // filtered violation 'max parameter'
53          int b, int c, int d, int e, int f, int g, int h) {
54          // ...
55      }
56  }