View Javadoc
1   /*
2   MethodCount
3   maxTotal = 3
4   maxPrivate = 3
5   maxPackage = 3
6   maxProtected = 3
7   maxPublic = 3
8   tokens = (default)CLASS_DEF, ENUM_CONSTANT_DEF, ENUM_DEF, INTERFACE_DEF, ANNOTATION_DEF, RECORD_DEF
9   
10  
11  */
12  
13  package com.puppycrawl.tools.checkstyle.checks.sizes.methodcount;
14  
15  public class InputMethodCount1One { // 5 violations
16  
17    /**
18     * Dummy method doing nothing
19     */
20    public void doNothing00() {
21    }
22  
23    /**
24     * Dummy method doing nothing
25     */
26    public void doNothing01() {
27    }
28  
29    /**
30     * Dummy method doing nothing
31     */
32    public void doNothing02() {
33    }
34  
35    /**
36     * Dummy method doing nothing
37     */
38    public void doNothing03() {
39    }
40  
41    /**
42     * Dummy method doing nothing
43     */
44    protected void doNothing10() {
45    }
46  
47    /**
48     * Dummy method doing nothing
49     */
50    protected void doNothing11() {
51    }
52  
53    /**
54     * Dummy method doing nothing
55     */
56    protected void doNothing12() {
57    }
58  
59    /**
60     * Dummy method doing nothing
61     */
62    protected void doNothing13() {
63    }
64  
65    /**
66     * Dummy method doing nothing
67     */
68    void doNothing20() {
69    }
70  
71    /**
72     * Dummy method doing nothing
73     */
74    void doNothing21() {
75    }
76  
77    /**
78     * Dummy method doing nothing
79     */
80    void doNothing22() {
81    }
82  
83    /**
84     * Dummy method doing nothing
85     */
86    void doNothing23() {
87    }
88  
89    /**
90     * Dummy method doing nothing
91     */
92    private void doNothing30() {
93    }
94  
95    /**
96     * Dummy method doing nothing
97     */
98    private void doNothing31() {
99    }
100 
101   /**
102    * Dummy method doing nothing
103    */
104   private void doNothing32() {
105   }
106 
107   /**
108    * Dummy method doing nothing
109    */
110   private void doNothing33() {
111   }
112 }