Join GitHub today
EnumValueName check #168
Check forces enum values to match the specific pattern. According to "Java Coding Style" by Achut Reddy p 3.3 constants include "all static final object reference types that are never followed by " ." (dot).", i.e. enums, which are followed by dot while used in the code are to be treated as static object references, while enums, that are not used with following dot, should be treated as constants.
While Class Enumeration has some methods, for example:
Name format for Class Enumeration is specified with setObjFormat(String) , while format for enum constants - with setConstFormat(String)