Java javax.lang.model SourceVersion fields, constructors, methods, implement or subclass

Example usage for Java javax.lang.model SourceVersion fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.lang.model SourceVersion.

The text is from its open source code.

Field

SourceVersionRELEASE_7
The version recognized by the Java Platform, Standard Edition 7.
SourceVersionRELEASE_8
The version recognized by the Java Platform, Standard Edition 8.
SourceVersionlatestSupported

Method

booleanisIdentifier(CharSequence name)
Returns whether or not name is a syntactically valid identifier (simple name) or keyword in the latest source version.
booleanisKeyword(CharSequence s)
Returns whether or not s is a keyword, boolean literal, or null literal in the latest source version.
booleanisName(CharSequence name)
Returns whether or not name is a syntactically valid qualified name in the latest source version.
SourceVersionlatest()
Returns the latest source version that can be modeled.