class JNaming
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
keywords |
Modifier | Constructor and Description |
---|---|
private |
JNaming() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isKeyword(java.lang.String name)
Returns true if the given String is a Java keyword which
will cause a problem when used as a variable name
|
static boolean |
isValidJavaIdentifier(java.lang.String string)
Returns true if the given String matches the
production of a valid Java identifier
|
public static boolean isKeyword(java.lang.String name)
public static boolean isValidJavaIdentifier(java.lang.String string)
string,
- the String to check the production of