org.codehaus.modello.generator.java.javasource
class JNaming extends Object
Version: $Revision: 149 $ $Date: 2004-09-29 13:32:16 -0400 (Wed, 29 Sep 2004) $
Method Summary | |
---|---|
static boolean | isKeyword(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(String string)
Returns true if the given String matches the
production of a valid Java identifier
|
Parameters: string, the String to check the production of
Returns: true if the given String matches the production of a valid Java name, otherwise false