View Javadoc
1   /*
2   JavadocVariable
3   scope = (default)private
4   excludeScope = (default)null
5   ignoreNamePattern = (default)null
6   tokens = (default)ENUM_CONSTANT_DEF
7   
8   
9   */
10  
11  package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocvariable;
12  
13  public class InputJavadocVariableOnInnerClassFields //comment test
14  {
15      public int i1; // violation
16      protected int i2; // violation
17      int i3; // violation
18      private int i4; // violation
19  
20      public void foo1() {}
21      protected void foo2() {}
22      void foo3() {}
23      private void foo4() {}
24  
25      protected class ProtectedInner {
26          public int i1; // violation
27          protected int i2; // violation
28          int i3; // violation
29          private int i4; // violation
30  
31          public void foo1() {}
32          protected void foo2() {}
33          void foo3() {}
34          private void foo4() {}
35      }
36  
37      class PackageInner {
38          public int i1; // violation
39          protected int i2; // violation
40          int i3; // violation
41          private int i4; // violation
42  
43          public void foo1() {}
44          protected void foo2() {}
45          void foo3() {}
46          private void foo4() {}
47      }
48  
49      private class PrivateInner {
50          public int i1; // violation
51          protected int i2; // violation
52          int i3; // violation
53          private int i4; // violation
54  
55          public void foo1() {}
56          protected void foo2() {}
57          void foo3() {}
58          private void foo4() {}
59      }
60  }