Package Summary Overview Summary

### method:isIdentifier(java.lang.CharSequence) [CHANGED]
    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. ### isName
    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. ### isName |
    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. ### isName

### method:isName(java.lang.CharSequence) [CHANGED]
    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 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 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 Java Language Specification : 3.9 Keywords 6.2 Names and Identifiers ### isName

### method:isName(java.lang.CharSequence,javax.lang.model.SourceVersion) [CHANGED]
    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. See Java Language Specification : 3.9 Keywords 6.2 Names and Identifiers Since: 9 ### isKeyword
    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. See Java Language Specification : 3.9 Keywords 6.2 Names and Identifiers Since: 9 ### isKeyword |
    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. See Java Language Specification : 3.9 Keywords 6.2 Names and Identifiers Since: 9 ### isKeyword

### method:isKeyword(java.lang.CharSequence) [CHANGED]
    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 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 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 Java Language Specification : 3.9 Keywords 3.10.3 Boolean Literals 3.10.7 The Null Literal ### isKeyword

### method:isKeyword(java.lang.CharSequence,javax.lang.model.SourceVersion) [CHANGED]
    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. See Java Language Specification : 3.9 Keywords 3.10.3 Boolean Literals 3.10.7 The Null Literal Since: 9
    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. See Java Language Specification : 3.9 Keywords 3.10.3 Boolean Literals 3.10.7 The Null Literal Since: 9 |
    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. See Java Language Specification : 3.9 Keywords 3.10.3 Boolean Literals 3.10.7 The Null Literal Since: 9