View Javadoc
1   /*
2   JavadocVariable
3   scope = public
4   excludeScope = (default)null
5   ignoreNamePattern = (default)null
6   tokens = ENUM_CONSTANT_DEF, VARIABLE_DEF
7   
8   
9   */
10  
11  package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocvariable;
12  
13  public interface InputJavadocVariableInterfaceMemberScopeIsPublic {
14  
15      /** First field */
16      public static int field1 = 0;
17  
18      public static int field2 = 0; // violation
19  
20      int field3 = 0; // violation
21  
22      enum Enum {
23  
24          /** First constant */
25          A,
26  
27          B; // violation
28  
29      }
30  
31  }