Class Identifier
java.lang.Object
org.glassfish.pfl.dynamic.codegen.impl.Identifier
Some utilities for dealing with Java identifiers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isValidFullIdentifier
(String name) Check that name is a valid full qualified Java identifier.static boolean
isValidIdentifier
(String name) Check that name is a valid Java identifier.static String
Assuming that isValidFullIdentifier( pkg ) and isValidIdentifier( ident ), reurn a fully qualifed name for the identifier in the package.
-
Constructor Details
-
Identifier
private Identifier()
-
-
Method Details
-
isValidIdentifier
Check that name is a valid Java identifier. No packages are permitted here. -
isValidFullIdentifier
Check that name is a valid full qualified Java identifier. -
makeFQN
Assuming that isValidFullIdentifier( pkg ) and isValidIdentifier( ident ), reurn a fully qualifed name for the identifier in the package. -
splitFQN
-