Static Public Member Functions | |
| static boolean | isKeyword (String name) |
| static boolean | isValidJavaIdentifier (String string) |
A utility class used to validate identifiers and class names
| static boolean org.exolab.javasource.JNaming.isKeyword | ( | String | name | ) | [static] |
Returns true if the given String is a Java keyword which will cause a problem when used as a variable name
Referenced by org.exolab.javasource.JNaming.isValidJavaIdentifier().
| static boolean org.exolab.javasource.JNaming.isValidJavaIdentifier | ( | String | string | ) | [static] |
Returns true if the given String matches the production of a valid Java identifier
| string,the | String to check the production of |
References org.exolab.javasource.JNaming.isKeyword().
1.7.0