Liking cljdoc? Tell your friends :D

javax.lang.model.SourceVersion


*identifier?clj

(*identifier? name)

Returns whether or not name is a syntactically valid identifier (simple name) or keyword in the latest source version. The method returns true if the name consists of an initial character for which Character.isJavaIdentifierStart(int) returns true, followed only by characters for which Character.isJavaIdentifierPart(int) returns true. This pattern matches regular identifiers, keywords, and the literals "true", "false", and "null". The method returns false for all other strings.

name - the string to check - java.lang.CharSequence

returns: true if this string is a syntactically valid identifier or keyword, false otherwise. - boolean

Returns whether or not name is a syntactically valid
 identifier (simple name) or keyword in the latest source
 version.  The method returns true if the name consists
 of an initial character for which Character.isJavaIdentifierStart(int) returns true,
 followed only by characters for which Character.isJavaIdentifierPart(int) returns true.
 This pattern matches regular identifiers, keywords, and the
 literals "true", "false", and "null".
 The method returns false for all other strings.

name - the string to check - `java.lang.CharSequence`

returns: true if this string is a
 syntactically valid identifier or keyword, false
 otherwise. - `boolean`
raw docstring

*keyword?clj

(*keyword? s)

Returns whether or not s is a keyword or literal in the latest source version.

s - the string to check - java.lang.CharSequence

returns: true if s is a keyword or literal, false otherwise. - boolean

Returns whether or not s is a keyword or literal in the
  latest source version.

s - the string to check - `java.lang.CharSequence`

returns: true if s is a keyword or literal, false otherwise. - `boolean`
raw docstring

*latestclj

(*latest)

Returns the latest source version that can be modeled.

returns: the latest source version that can be modeled - javax.lang.model.SourceVersion

Returns the latest source version that can be modeled.

returns: the latest source version that can be modeled - `javax.lang.model.SourceVersion`
raw docstring

*latest-supportedclj

(*latest-supported)

Returns the latest source version fully supported by the current execution environment. RELEASE_5 or later must be returned.

returns: the latest source version that is fully supported - javax.lang.model.SourceVersion

Returns the latest source version fully supported by the
 current execution environment.  RELEASE_5 or later must
 be returned.

returns: the latest source version that is fully supported - `javax.lang.model.SourceVersion`
raw docstring

*name?clj

(*name? name)

Returns whether or not name is a syntactically valid qualified name in the latest source version. Unlike isIdentifier, this method returns false for keywords and literals.

name - the string to check - java.lang.CharSequence

returns: true if this string is a syntactically valid name, false otherwise. - boolean

Returns whether or not name is a syntactically valid
  qualified name in the latest source version.  Unlike isIdentifier, this method returns false
  for keywords and literals.

name - the string to check - `java.lang.CharSequence`

returns: true if this string is a
 syntactically valid name, false otherwise. - `boolean`
raw docstring

*value-ofclj

(*value-of name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

name - the name of the enum constant to be returned. - java.lang.String

returns: the enum constant with the specified name - javax.lang.model.SourceVersion

throws: java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type.  (Extraneous whitespace characters are
not permitted.)

name - the name of the enum constant to be returned. - `java.lang.String`

returns: the enum constant with the specified name - `javax.lang.model.SourceVersion`

throws: java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
raw docstring

*valuesclj

(*values)

Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

for (SourceVersion c : SourceVersion.values()) System.out.println(c);

returns: an array containing the constants of this enum type, in the order they are declared - javax.lang.model.SourceVersion[]

Returns an array containing the constants of this enum type, in
the order they are declared.  This method may be used to iterate
over the constants as follows:


for (SourceVersion c : SourceVersion.values())
    System.out.println(c);

returns: an array containing the constants of this enum type, in the order they are declared - `javax.lang.model.SourceVersion[]`
raw docstring

RELEASE_0clj

Enum Constant.

The original version.

The language described in The Java™ Language Specification, First Edition.

type: javax.lang.model.SourceVersion

Enum Constant.

The original version.

 The language described in
 The Java™ Language Specification, First Edition.

type: javax.lang.model.SourceVersion
raw docstring

RELEASE_1clj

Enum Constant.

The version recognized by the Java Platform 1.1.

The language is RELEASE_0 augmented with nested classes as described in the 1.1 update to The Java™ Language Specification, First Edition.

type: javax.lang.model.SourceVersion

Enum Constant.

The version recognized by the Java Platform 1.1.

 The language is RELEASE_0 augmented with nested classes as described in the 1.1 update to
 The Java™ Language Specification, First Edition.

type: javax.lang.model.SourceVersion
raw docstring

RELEASE_2clj

Enum Constant.

The version recognized by the Java 2 Platform, Standard Edition, v 1.2.

The language described in The Java™ Language Specification, Second Edition, which includes the strictfp modifier.

type: javax.lang.model.SourceVersion

Enum Constant.

The version recognized by the Java 2 Platform, Standard Edition,
 v 1.2.

 The language described in
 The Java™ Language Specification,
 Second Edition, which includes the strictfp modifier.

type: javax.lang.model.SourceVersion
raw docstring

RELEASE_3clj

Enum Constant.

The version recognized by the Java 2 Platform, Standard Edition, v 1.3.

No major changes from RELEASE_2.

type: javax.lang.model.SourceVersion

Enum Constant.

The version recognized by the Java 2 Platform, Standard Edition,
 v 1.3.

 No major changes from RELEASE_2.

type: javax.lang.model.SourceVersion
raw docstring

RELEASE_4clj

Enum Constant.

The version recognized by the Java 2 Platform, Standard Edition, v 1.4.

Added a simple assertion facility.

type: javax.lang.model.SourceVersion

Enum Constant.

The version recognized by the Java 2 Platform, Standard Edition,
 v 1.4.

 Added a simple assertion facility.

type: javax.lang.model.SourceVersion
raw docstring

RELEASE_5clj

Enum Constant.

The version recognized by the Java 2 Platform, Standard Edition 5.0.

The language described in The Java™ Language Specification, Third Edition. First release to support generics, annotations, autoboxing, var-args, enhanced for loop, and hexadecimal floating-point literals.

type: javax.lang.model.SourceVersion

Enum Constant.

The version recognized by the Java 2 Platform, Standard
 Edition 5.0.

 The language described in
 The Java™ Language Specification,
 Third Edition.  First release to support
 generics, annotations, autoboxing, var-args, enhanced for loop, and hexadecimal floating-point literals.

type: javax.lang.model.SourceVersion
raw docstring

RELEASE_6clj

Enum Constant.

The version recognized by the Java Platform, Standard Edition 6.

No major changes from RELEASE_5.

type: javax.lang.model.SourceVersion

Enum Constant.

The version recognized by the Java Platform, Standard Edition
 6.

 No major changes from RELEASE_5.

type: javax.lang.model.SourceVersion
raw docstring

RELEASE_7clj

Enum Constant.

The version recognized by the Java Platform, Standard Edition 7.

Additions in this release include, diamond syntax for constructors, try-with-resources, strings in switch, binary literals, and multi-catch.

type: javax.lang.model.SourceVersion

Enum Constant.

The version recognized by the Java Platform, Standard Edition
 7.

 Additions in this release include, diamond syntax for
 constructors, try-with-resources, strings in switch,
 binary literals, and multi-catch.

type: javax.lang.model.SourceVersion
raw docstring

RELEASE_8clj

Enum Constant.

The version recognized by the Java Platform, Standard Edition 8.

Additions in this release include lambda expressions and default methods.

type: javax.lang.model.SourceVersion

Enum Constant.

The version recognized by the Java Platform, Standard Edition
 8.

 Additions in this release include lambda expressions and default methods.

type: javax.lang.model.SourceVersion
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close