View Javadoc
1   /*
2   MethodLength
3   max = 19
4   countEmpty = false
5   tokens = (default)METHOD_DEF , CTOR_DEF , COMPACT_CTOR_DEF
6   
7   */
8   
9   package com.puppycrawl.tools.checkstyle.checks.sizes.methodlength;
10  import java.io.*;
11  final class InputMethodLengthCountEmptyIsFalseThree {
12  
13  }
14  
15      /** Test class for variable naming in for each clause. */
16  class InputSimple3
17  {
18      /** Some more Javadoc. */
19      public void doSomething()
20      {
21          //"O" should be named "o"
22          for (Object O : new java.util.ArrayList())
23          {
24  
25          }
26      }
27  }
28  
29  /** Test enum for member naming check */
30  enum MyEnum2
31  {
32      /** ABC constant */
33      ABC,
34  
35      /** XYZ constant */
36      XYZ;
37  
38      /** Should be mSomeMember */
39      private int someMember;
40  }
41