JvmTarget

enum JvmTarget : ProtocolMessageEnum
## JVM Target

Describes supported JVM target version levels.
Protobuf enum elide.meta.JvmSettings.JvmTarget

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val JDK_10_VALUE: Int = 3
Targeting for JDK 10.
JDK_10 = 3;
Link copied to clipboard
val JDK_11_VALUE: Int = 4
Targeting for JDK 11.
JDK_11 = 4;
Link copied to clipboard
val JDK_17_VALUE: Int = 5
Targeting for JDK 17.
JDK_17 = 5;
Link copied to clipboard
val JDK_21_VALUE: Int = 6
Targeting for JDK 21.
JDK_21 = 6;
Link copied to clipboard
val JDK_8_VALUE: Int = 1
Targeting for JDK 8.
JDK_8 = 1;
Link copied to clipboard
val JDK_9_VALUE: Int = 2
Targeting for JDK 9.
JDK_9 = 2;
Link copied to clipboard
Use the default or system-provided target.
JVM_TARGET_DEFAULT = 0;
Link copied to clipboard
val LATEST_VALUE: Int = 99
Targeting for latest possible JDK (edge).
LATEST = 99;
Link copied to clipboard
val STABLE_VALUE: Int = 98
Targeting for latest stable JDK (LTS).
STABLE = 98;

Functions

Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<JvmSettings.JvmTarget>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): JvmSettings.JvmTarget

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.)

Link copied to clipboard

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