Example usage for Java javax.lang.model SourceVersion fields, constructors, methods, implement or subclass
The text is from its open source code.
SourceVersion | RELEASE_7 The version recognized by the Java Platform, Standard Edition 7. |
SourceVersion | RELEASE_8 The version recognized by the Java Platform, Standard Edition 8. |
SourceVersion | latestSupported |
boolean | isIdentifier(CharSequence name) Returns whether or not name is a syntactically valid identifier (simple name) or keyword in the latest source version. |
boolean | isKeyword(CharSequence s) Returns whether or not s is a keyword, boolean literal, or null literal in the latest source version. |
boolean | isName(CharSequence name) Returns whether or not name is a syntactically valid qualified name in the latest source version. |
SourceVersion | latest() Returns the latest source version that can be modeled. |