View Javadoc
1   /*
2   ConstantName
3   format = (default)^[A-Z][A-Z0-9]*(_[A-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.constantname;
13  
14  import java.io.ObjectStreamField;
15  
16  public class InputConstantName
17  {
18      private static final long serialVersionUID = 1L; //should be ignored
19      private static final ObjectStreamField[] serialPersistentFields = {}; // should be ignored too
20      static int value1 = 10;
21      final int value2 = 10;
22  }