Uses of Enum Class
javax.lang.model.SourceVersion
Package
Description
Facilities for declaring annotation processors and for
allowing annotation processors to communicate with an annotation processing
tool environment.
Types and hierarchies of packages comprising a Java language model, a reflective API that models the declarations and types of the Java
programming language.
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
The Doclet API provides an environment which, in conjunction with
the Language Model API and Compiler Tree API, allows clients
to inspect the source-level structures of programs and
libraries, including API comments embedded in the source.
-
Uses of SourceVersion in javax.annotation.processing
Modifier and TypeMethodDescriptionProcessingEnvironment.getSourceVersion()
AbstractProcessor.getSupportedSourceVersion()
Returns the latest source version supported by this annotation processor.Processor.getSupportedSourceVersion()
Returns the latest source version supported by this annotation processor. -
Uses of SourceVersion in javax.lang.model
Modifier and TypeClassDescriptionenum
Source versions of the Java programming language.Modifier and TypeMethodDescriptionstatic SourceVersion
SourceVersion.latest()
Returns the latest source version that can be modeled.static SourceVersion
SourceVersion.latestSupported()
Returns the latest source version fully supported by the current execution environment.static SourceVersion
SourceVersion.valueOf
(Runtime.Version rv) Returns the latest source version that is usable under the runtime version argument.static SourceVersion
Returns the enum constant of this class with the specified name.static SourceVersion[]
SourceVersion.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic boolean
SourceVersion.isKeyword
(CharSequence s, SourceVersion version) Returns whether or nots
is a keyword, a boolean literal, or the null literal in the given source version.static boolean
SourceVersion.isName
(CharSequence name, SourceVersion version) Returns whether or notname
is a syntactically valid qualified name in the given source version. -
Uses of SourceVersion in javax.tools
Modifier and TypeMethodDescriptionTool.getSourceVersions()
Returns the source versions of the Java programming language supported by this tool. -
Uses of SourceVersion in jdk.javadoc.doclet
Modifier and TypeMethodDescriptionDocletEnvironment.getSourceVersion()
Returns the source version of the source files that were read.Doclet.getSupportedSourceVersion()
Returns the version of the Java Programming Language supported by this doclet.StandardDoclet.getSupportedSourceVersion()