Package rife.bld.extension.detekt
Enum Class LanguageVersion
- All Implemented Interfaces:
Serializable,Comparable<LanguageVersion>,Constable
Compatibility mode for Kotlin language version X.Y.
- Since:
- 2.0
- Author:
- Erik C. Thauvin
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiontoString()static LanguageVersionReturns the enum constant of this class with the specified name.static LanguageVersion[]values()Returns an array containing the constants of this enum class, in the order they are declared.version()
-
Enum Constant Details
-
V_1_0
-
V_1_1
-
V_1_2
-
V_1_3
-
V_1_4
-
V_1_5
-
V_1_6
-
V_1_7
-
V_1_8
-
V_1_9
-
V_2_0
-
V_2_1
-
V_2_2
-
V_2_3
-
V_2_4
-
V_2_5
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<LanguageVersion>
-
version
-