API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.lang.model. SourceVersion View Source
Author(s)
Joseph D. Darcy
Scott Seligman
Peter von der Ahé
Since
1.6
Version
1.6 06/08/15
Serial
Hierarchy
 Object
      Enum
          SourceVersion
Implements
Subclasses
Description
publicfinal enum SourceVersion
  Source versions of the Java™ programming language.
See also:   
Enum Constants
RELEASE_0
  The original version.
RELEASE_1
  The version recognized by the Java Platform 1.1.
RELEASE_2
  The version recognized by the Java 2 Platform, Standard Edition, v 1.2.
RELEASE_3
  The version recognized by the Java 2 Platform, Standard Edition, v 1.3.
RELEASE_4
  The version recognized by the Java 2 Platform, Standard Edition, v 1.4.
RELEASE_5
  The version recognized by the Java 2 Platform, Standard Edition 5.0.
RELEASE_6
  The version recognized by the Java Platform, Standard Edition 6.
Methods
Hide/Show inherited methods
protectedfinal Object clone () throws CloneNotSupportedException [Inherited From Enum]
  Throws CloneNotSupportedException.
publicfinal int compareTo ( E o) [Inherited From Enum]
  Compares this enum with the specified object for order.
publicfinal boolean equals (Object other) [Inherited From Enum]
  Returns true if the specified object is equal to this enum constant.
protectedfinal void finalize () [Inherited From Enum]
enum classes cannot have finalize methods.
publicfinal Class< E> getDeclaringClass () [Inherited From Enum]
  Returns the Class object corresponding to this enum constant's enum type.
publicfinal int hashCode () [Inherited From Enum]
  Returns a hash code for this enum constant.
publicstatic boolean isIdentifier (CharSequence name)
  Returns whether or not name is a syntactically valid identifier (simple name) or keyword in the latest source version.
publicstatic boolean isKeyword (CharSequence s)
  Returns whether or not s is a keyword or literal in the latest source version.
publicstatic boolean isName (CharSequence name)
  Returns whether or not name is a syntactically valid qualified name in the latest source version.
publicstatic SourceVersion latest ()
  Returns the latest source version that can be modeled.
publicstatic SourceVersion latestSupported ()
  Returns the latest source version fully supported by the current execution environment.
publicfinal String name () [Inherited From Enum]
  Returns the name of this enum constant, exactly as declared in its enum declaration.
publicfinal int ordinal () [Inherited From Enum]
  Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
public String toString () [Inherited From Enum]
  Returns the name of this enum constant, as contained in the declaration.
publicstatic T valueOf (Class< T> enumType, String name) [Inherited From Enum]
  Returns the enum constant of the specified enum type with the specified name.
publicstatic SourceVersion valueOf (String name)
publicfinalstatic SourceVersion values ()
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar