Uses of Class
javax.lang.model.SourceVersion
| Package | Description |
|---|---|
| javax.annotation.processing |
Facilities for declaring annotation processors and for
allowing annotation processors to communicate with an annotation processing
tool environment.
|
| javax.lang.model |
Types and hierarchies of packages comprising a Java language model, a model of the declarations and types of the Java
programming language.
|
| javax.tools |
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
|
| jdk.javadoc.doclet |
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
Methods in javax.annotation.processing that return SourceVersion Modifier and Type Method Description SourceVersionProcessingEnvironment. getSourceVersion()SourceVersionAbstractProcessor. getSupportedSourceVersion()If the processor class is annotated withSupportedSourceVersion, return the source version in the annotation.SourceVersionProcessor. getSupportedSourceVersion()Returns the latest source version supported by this annotation processor.SourceVersionvalue()Returns the latest supported source version. -
Uses of SourceVersion in javax.lang.model
Methods in javax.lang.model that return SourceVersion Modifier and Type Method Description static SourceVersionSourceVersion. latest()Returns the latest source version that can be modeled.static SourceVersionSourceVersion. latestSupported()Returns the latest source version fully supported by the current execution environment.static SourceVersionSourceVersion. valueOf(String name)Returns the enum constant of this type with the specified name.static SourceVersion[]SourceVersion. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in javax.lang.model with parameters of type SourceVersion Modifier and Type Method Description static booleanSourceVersion. isKeyword(CharSequence s, SourceVersion version)Returns whether or notsis a keyword, boolean literal, or null literal in the given source version.static booleanSourceVersion. isName(CharSequence name, SourceVersion version)Returns whether or notnameis a syntactically valid qualified name in the given source version. -
Uses of SourceVersion in javax.tools
Methods in javax.tools that return types with arguments of type SourceVersion Modifier and Type Method Description Set<SourceVersion>Tool. getSourceVersions()Returns the source versions of the Java™ programming language supported by this tool. -
Uses of SourceVersion in jdk.javadoc.doclet
Methods in jdk.javadoc.doclet that return SourceVersion Modifier and Type Method Description SourceVersionDocletEnvironment. getSourceVersion()Returns the source version of the source files that were read.SourceVersionDoclet. getSupportedSourceVersion()Returns the version of the Java Programming Language supported by this doclet.