|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.codegen.JavaChecker
Field Summary | |
private static JavaChecker |
instance
No comment provided by developer, please add a comment to improve documentation. |
private java.lang.String[] |
javaKeywords
No comment provided by developer, please add a comment to improve documentation. |
private java.util.HashSet |
javaKeywordsSet
No comment provided by developer, please add a comment to improve documentation. |
Constructor Summary | |
private |
JavaChecker()
Constructor for class JavaChecker |
Method Summary | |
private void |
createJavaKeywordsSet()
No comment provided by developer, please add a comment to improve documentation. |
static JavaChecker |
get()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
isValidJavaIdentifier(java.lang.String name)
checks if the given string is a valid Java identifier. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final java.lang.String[] javaKeywords
private java.util.HashSet javaKeywordsSet
private static JavaChecker instance
Constructor Detail |
private JavaChecker()
Method Detail |
public static JavaChecker get()
private void createJavaKeywordsSet()
public boolean isValidJavaIdentifier(java.lang.String name)
name
- the string to be checked
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |