Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
Utils.getJavaIdentifier
Determines whether the string is a valid Java identifier.
Syntax
public static boolean getJavaIdentifier( String s )
Parameters
s
The string to check.
Return Value
Returns true if the string is a valid Java identifier; otherwise, returns false.
Remarks
An identifier is an unlimited-length sequence of Java letters and digits, the first of which must be a Java letter. An identifier cannot have the same spelling (Unicode sequence) as a keyword, boolean literal, or null literal.