Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
javax.lang.model.SourceVersion

Packages that use 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 Classes and hierarchies of packages used to model the Java programming language. 
javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers. 
 

Uses of SourceVersion in javax.annotation.processing
 

Methods in javax.annotation.processing that return SourceVersion
Modifier and Type Method and Description
 SourceVersion ProcessingEnvironment.getSourceVersion()
          Returns the source version that any generated source and class files should conform to.
 SourceVersion Processor.getSupportedSourceVersion()
          Returns the latest source version supported by this annotation processor.
 SourceVersion AbstractProcessor.getSupportedSourceVersion()
          If the processor class is annotated with SupportedSourceVersion, return the source version in the annotation.
 

Uses of SourceVersion in javax.lang.model
 

Methods in javax.lang.model that return SourceVersion
Modifier and Type Method and Description
static 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(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.
 

Uses of SourceVersion in javax.tools
 

Methods in javax.tools that return types with arguments of type SourceVersion
Modifier and Type Method and Description
 Set<SourceVersion> Tool.getSourceVersions()
          Gets the source versions of the Java™ programming language supported by this tool.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.