/** * Returns a hash of all Java's keywords and textual literals, as of Java * 1.4. * @deprecated */ @SuppressWarnings("rawtypes") @Deprecated protected static Set getJavaReservedWords() { return CodeGenUtil.getJavaReservedWords(); }
/** * Tests whether a given string is a Java reserved word. */ public static boolean isJavaReservedWord(String s) { return getJavaReservedWords().contains(s); }
/** * Tests whether a given string is a Java reserved word. */ public static boolean isJavaReservedWord(String s) { return getJavaReservedWords().contains(s); }
/** * Returns a hash of all Java's keywords and textual literals, as of Java * 1.4. * @deprecated */ @SuppressWarnings("unchecked") @Deprecated protected static Set getJavaReservedWords() { return CodeGenUtil.getJavaReservedWords(); }