langtools/src/share/classes/javax/lang/model/SourceVersion.java
changeset 22163 3651128c74eb
parent 22159 682da512ec17
child 22169 4be6dc44489b
equal deleted inserted replaced
22162:3b3e23e67329 22163:3651128c74eb
   241         return true;
   241         return true;
   242     }
   242     }
   243 
   243 
   244     private final static Set<String> keywords;
   244     private final static Set<String> keywords;
   245     static {
   245     static {
   246         Set<String> s = new HashSet<String>();
   246         Set<String> s = new HashSet<>();
   247         String [] kws = {
   247         String [] kws = {
   248             "abstract", "continue",     "for",          "new",          "switch",
   248             "abstract", "continue",     "for",          "new",          "switch",
   249             "assert",   "default",      "if",           "package",      "synchronized",
   249             "assert",   "default",      "if",           "package",      "synchronized",
   250             "boolean",  "do",           "goto",         "private",      "this",
   250             "boolean",  "do",           "goto",         "private",      "this",
   251             "break",    "double",       "implements",   "protected",    "throw",
   251             "break",    "double",       "implements",   "protected",    "throw",