Package Summary Overview Summary

### method:isIdentifier(java.lang.CharSequence) [CHANGED]
- ### isIdentifier
      public static boolean isIdentifier​(CharSequence name)
Returns whether or not `name` is a syntactically valid identifier (simple name) or keyword in the latest source version. The method returns `true` if the name consists of an initial character for which `Character.isJavaIdentifierStart(int)` returns `true`, followed only by characters for which `Character.isJavaIdentifierPart(int)` returns `true`. This pattern matches regular identifiers, keywords, restricted keywords, restricted identifiers and the literals `"true"`, `"false"`, `"null", and"var"` . The method returns `false` for all other strings. Parameters: `name` - the string to check Returns: `true` if this string is a syntactically valid identifier or keyword, `false` otherwise.
- ### isIdentifier
      public static boolean isIdentifier​(CharSequence name)
- Returns whether or not `name` is a syntactically valid identifier (simple name) or keyword in the latest source version. The method returns `true` if the name consists of an initial character for which `Character.isJavaIdentifierStart(int)` returns `true`, followed only by characters for which `Character.isJavaIdentifierPart(int)` returns `true`. This pattern matches regular identifiers, keywords, restricted keywords, and the literals `"true"`, `"false"`, `"null"`, and `"var"`. The method returns `false` for all other strings. Parameters: `name` - the string to check Returns: `true` if this string is a syntactically valid identifier or keyword, `false` otherwise. | ### isIdentifier
      public static boolean isIdentifier​(CharSequence name)
Returns whether or not `name` is a syntactically valid identifier (simple name) or keyword in the latest source version. The method returns `true` if the name consists of an initial character for which `Character.isJavaIdentifierStart(int)` returns `true`, followed only by characters for which `Character.isJavaIdentifierPart(int)` returns `true`. This pattern matches regular identifiers, keywords, restricted keywords, restricted identifiers and the literals `"true"`, `"false"`, `"null"`. The method returns `false` for all other strings. Parameters: `name` - the string to check Returns: `true` if this string is a syntactically valid identifier or keyword, `false` otherwise.

### method:isName(java.lang.CharSequence) [CHANGED]
- ### isName
      public static boolean isName​(CharSequence name)
Returns whether or not `name` is a syntactically valid qualified name in the latest source version. Unlike `isIdentifier`, this method returns `false` for keywords, boolean literals, and the null literal. This method returns `true` for restricted keywords and `"var"`.restricted identifiers Parameters: `name` - the string to check Returns: `true` if this string is a syntactically valid name, `false` otherwise. See The Java™ Language Specification : 3.9 Keywords, 6.2 Names and Identifiers
- ### isName
      public static boolean isName​(CharSequence name)
- Returns whether or not `name` is a syntactically valid qualified name in the latest source version. Unlike `isIdentifier`, this method returns `false` for keywords, boolean literals, and the null literal. This method returns `true` for restricted keywords and `"var"`. Parameters: `name` - the string to check Returns: `true` if this string is a syntactically valid name, `false` otherwise. See The Java™ Language Specification : 3.9 Keywords, 6.2 Names and Identifiers | ### isName
      public static boolean isName​(CharSequence name)
Returns whether or not `name` is a syntactically valid qualified name in the latest source version. Unlike `isIdentifier`, this method returns `false` for keywords, boolean literals, and the null literal. This method returns `true` for restricted keywords and restricted identifiers Parameters: `name` - the string to check Returns: `true` if this string is a syntactically valid name, `false` otherwise. See The Java™ Language Specification : 3.9 Keywords, 6.2 Names and Identifiers

### method:isName(java.lang.CharSequence,javax.lang.model.SourceVersion) [CHANGED]
- ### isName
      public static boolean isName​(CharSequence name,
                                   SourceVersion version)
Returns whether or not `name` is a syntactically valid qualified name in the given source version. Unlike `isIdentifier`, this method returns `false` for keywords, boolean literals, and the null literal. This method returns `true` for restricted keywords and `"var"`.restricted identifiers Parameters: `name` - the string to check `version` - the version to use Returns: `true` if this string is a syntactically valid name, `false` otherwise. Since: 9 See The Java™ Language Specification : 3.9 Keywords, 6.2 Names and Identifiers
- ### isName
      public static boolean isName​(CharSequence name,
                                   SourceVersion version)
- Returns whether or not `name` is a syntactically valid qualified name in the given source version. Unlike `isIdentifier`, this method returns `false` for keywords, boolean literals, and the null literal. This method returns `true` for restricted keywords and `"var"`. Parameters: `name` - the string to check `version` - the version to use Returns: `true` if this string is a syntactically valid name, `false` otherwise. Since: 9 See The Java™ Language Specification : 3.9 Keywords, 6.2 Names and Identifiers | ### isName
      public static boolean isName​(CharSequence name,
                                   SourceVersion version)
Returns whether or not `name` is a syntactically valid qualified name in the given source version. Unlike `isIdentifier`, this method returns `false` for keywords, boolean literals, and the null literal. This method returns `true` for restricted keywords and restricted identifiers Parameters: `name` - the string to check `version` - the version to use Returns: `true` if this string is a syntactically valid name, `false` otherwise. Since: 9 See The Java™ Language Specification : 3.9 Keywords, 6.2 Names and Identifiers

### method:isKeyword(java.lang.CharSequence) [CHANGED]
- ### isKeyword
      public static boolean isKeyword​(CharSequence s)
Returns whether or not `s` is a keyword, boolean literal, or null literal in the latest source version. This method returns `false` for restricted keywords and `"var"`restricted identifiers . Parameters: `s` - the string to check Returns: `true` if `s` is a keyword, or boolean literal, or null literal, `false` otherwise. See The Java™ Language Specification : 3.9 Keywords, 3.10.3 Boolean Literals, 3.10.7 The Null Literal
- ### isKeyword
      public static boolean isKeyword​(CharSequence s)
- Returns whether or not `s` is a keyword, boolean literal, or null literal in the latest source version. This method returns `false` for restricted keywords and `"var"`. Parameters: `s` - the string to check Returns: `true` if `s` is a keyword, or boolean literal, or null literal, `false` otherwise. See The Java™ Language Specification : 3.9 Keywords, 3.10.3 Boolean Literals, 3.10.7 The Null Literal | ### isKeyword
      public static boolean isKeyword​(CharSequence s)
Returns whether or not `s` is a keyword, boolean literal, or null literal in the latest source version. This method returns `false` for restricted keywords and restricted identifiers . Parameters: `s` - the string to check Returns: `true` if `s` is a keyword, or boolean literal, or null literal, `false` otherwise. See The Java™ Language Specification : 3.9 Keywords, 3.10.3 Boolean Literals, 3.10.7 The Null Literal

### method:isKeyword(java.lang.CharSequence,javax.lang.model.SourceVersion) [CHANGED]
- ### isKeyword
      public static boolean isKeyword​(CharSequence s,
                                      SourceVersion version)
Returns whether or not `s` is a keyword, boolean literal, or null literal in the given source version. This method returns `false` for restricted keywords and `"var"`restricted identifiers . Parameters: `s` - the string to check `version` - the version to use Returns: `true` if `s` is a keyword, or boolean literal, or null literal, `false` otherwise. Since: 9 See The Java™ Language Specification : 3.9 Keywords, 3.10.3 Boolean Literals, 3.10.7 The Null Literal
- ### isKeyword
      public static boolean isKeyword​(CharSequence s,
                                      SourceVersion version)
- Returns whether or not `s` is a keyword, boolean literal, or null literal in the given source version. This method returns `false` for restricted keywords and `"var"`. Parameters: `s` - the string to check `version` - the version to use Returns: `true` if `s` is a keyword, or boolean literal, or null literal, `false` otherwise. Since: 9 See The Java™ Language Specification : 3.9 Keywords, 3.10.3 Boolean Literals, 3.10.7 The Null Literal | ### isKeyword
      public static boolean isKeyword​(CharSequence s,
                                      SourceVersion version)
Returns whether or not `s` is a keyword, boolean literal, or null literal in the given source version. This method returns `false` for restricted keywords and restricted identifiers . Parameters: `s` - the string to check `version` - the version to use Returns: `true` if `s` is a keyword, or boolean literal, or null literal, `false` otherwise. Since: 9 See The Java™ Language Specification : 3.9 Keywords, 3.10.3 Boolean Literals, 3.10.7 The Null Literal