
public static enum JavaIdentifier.NormalizationMode extends Enum<JavaIdentifier.NormalizationMode>
JavaIdentifier.normalize(java.lang.String, org.jomc.jls.JavaIdentifier.NormalizationMode)| Enum Constant and Description | 
|---|
| CAMEL_CASEMode to normalize by compacting words using camel-case. | 
| CONSTANT_NAME_CONVENTIONMode to normalize according to the
 Code Conventions for the Java Programming Language - 9 - Naming Conventions - Constants. | 
| LOWER_CASEMode to normalize by separating words using '_' and by converting all characters to lower-case. | 
| METHOD_NAME_CONVENTIONMode to normalize according to the
 Code Conventions for the Java Programming Language - 9 - Naming Conventions - Methods. | 
| UPPER_CASEMode to normalize by separating words using '_' and by converting all characters to upper-case. | 
| VARIABLE_NAME_CONVENTIONMode to normalize according to the
 Code Conventions for the Java Programming Language - 9 - Naming Conventions - Variables. | 
| Modifier and Type | Method and Description | 
|---|---|
| static JavaIdentifier.NormalizationMode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static JavaIdentifier.NormalizationMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final JavaIdentifier.NormalizationMode CAMEL_CASE
public static final JavaIdentifier.NormalizationMode LOWER_CASE
public static final JavaIdentifier.NormalizationMode UPPER_CASE
public static final JavaIdentifier.NormalizationMode CONSTANT_NAME_CONVENTION
The names of variables declared class constants and of ANSI constants should be all uppercase with words separated by underscores ("_"). (ANSI constants should be avoided, for ease of debugging.)
public static final JavaIdentifier.NormalizationMode METHOD_NAME_CONVENTION
Methods should be verbs, in mixed case with the first letter lowercase, with the first letter of each internal word capitalized.
public static final JavaIdentifier.NormalizationMode VARIABLE_NAME_CONVENTION
Except for variables, all instance, class, and class constants are in mixed case with a lowercase first letter. Internal words start with capital letters. Variable names should not start with underscore _ or dollar sign $ characters, even though both are allowed. Variable names should be short yet meaningful. The choice of a variable name should be mnemonic - that is - designed to indicate to the casual observer the intent of its use. One-character variable names should be avoided except for temporary "throwaway" variables. Common names for temporary variables are i, j, k, m, and n for integers; c, d, and e for characters.
public static JavaIdentifier.NormalizationMode[] values()
for (JavaIdentifier.NormalizationMode c : JavaIdentifier.NormalizationMode.values()) System.out.println(c);
public static JavaIdentifier.NormalizationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2005–2016 The JOMC Project. All rights reserved.