View Javadoc
1   /*
2   StaticVariableName
3   format = (default)^[a-z][a-zA-Z0-9]*$
4   applyToPublic = (default)true
5   applyToProtected = (default)true
6   applyToPackage = (default)true
7   applyToPrivate = (default)true
8   
9   
10  */
11  
12  package com.puppycrawl.tools.checkstyle.checks.naming.staticvariablename;
13  
14  public class InputStaticVariableName {
15  
16          /** Interface fields should be skipped */
17          interface A {
18              public static int VAL_0 = 1;
19          }
20  
21          /** Annotation fields should be skipped */
22          @interface B {
23              String name() default "";
24              int version() default 0;
25              public static int VAL_1 = 0;
26          }
27  }