View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.sizes.methodcount;
2   
3   public class InputMethodCount {
4   
5     /**
6      * Dummy inner class to check that the inner-classes methods are not counted
7      * for the outer class.
8      */
9     public class PublicMethodsInnerclassInnerclass {
10      /**
11       * Dummy method doing nothing
12       */
13      public void doNothing50() {
14      }
15  
16      /**
17       * Dummy method doing nothing
18       */
19      public void doNothing51() {
20      }
21  
22      /**
23       * Dummy method doing nothing
24       */
25      public void doNothing52() {
26      }
27  
28      /**
29       * Dummy method doing nothing
30       */
31      public void doNothing53() {
32      }
33  
34      /**
35       * Dummy method doing nothing
36       */
37      public void doNothing54() {
38      }
39    }
40  
41    /**
42     * Dummy inner class to check that the inner-classes methods are not counted
43     * for the outer class.
44     */
45    public interface PublicMethodsInnerInterface {
46      /**
47       * Dummy method doing nothing
48       */
49      public void doNothing60();
50  
51      /**
52       * Dummy method doing nothing
53       */
54      public void doNothing61();
55  
56      /**
57       * Dummy method doing nothing
58       */
59      public abstract void doNothing62();
60  
61      /**
62       * Dummy method doing nothing
63       */
64      abstract void doNothing63();
65  
66      /**
67       * Dummy method doing nothing
68       */
69      void doNothing64();
70    }
71  
72    /**
73     * Dummy method doing nothing
74     */
75    public void doNothing00() {
76    }
77  
78    /**
79     * Dummy method doing nothing
80     */
81    public void doNothing01() {
82    }
83  
84    /**
85     * Dummy method doing nothing
86     */
87    public void doNothing02() {
88    }
89  
90    /**
91     * Dummy method doing nothing
92     */
93    public void doNothing03() {
94    }
95  
96    /**
97     * Dummy method doing nothing
98     */
99    public void doNothing04() {
100   }
101 
102   /**
103    * Dummy method doing nothing
104    */
105   protected void doNothing10() {
106   }
107 
108   /**
109    * Dummy method doing nothing
110    */
111   protected void doNothing11() {
112   }
113 
114   /**
115    * Dummy method doing nothing
116    */
117   protected void doNothing12() {
118   }
119 
120   /**
121    * Dummy method doing nothing
122    */
123   protected void doNothing13() {
124   }
125 
126   /**
127    * Dummy method doing nothing
128    */
129   protected void doNothing14() {
130   }
131 
132   /**
133    * Dummy method doing nothing
134    */
135   void doNothing20() {
136   }
137 
138   /**
139    * Dummy method doing nothing
140    */
141   void doNothing21() {
142   }
143 
144   /**
145    * Dummy method doing nothing
146    */
147   void doNothing22() {
148   }
149 
150   /**
151    * Dummy method doing nothing
152    */
153   void doNothing23() {
154   }
155 
156   /**
157    * Dummy method doing nothing
158    */
159   void doNothing24() {
160   }
161 
162   /**
163    * Dummy method doing nothing
164    */
165   private void doNothing30() {
166   }
167 
168   /**
169    * Dummy method doing nothing
170    */
171   private void doNothing31() {
172   }
173 
174   /**
175    * Dummy method doing nothing
176    */
177   private void doNothing32() {
178   }
179 
180   /**
181    * Dummy method doing nothing
182    */
183   private void doNothing33() {
184   }
185 
186   /**
187    * Dummy method doing nothing
188    */
189   private void doNothing34() {
190   }
191 }