org.jetbrains.kotlin.backend.common.serialization.proto.IrSyntheticBodyKind Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: compiler/ir/serialization.common/src/KotlinIr.proto
package org.jetbrains.kotlin.backend.common.serialization.proto;
/**
* Protobuf enum {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrSyntheticBodyKind}
*/
public enum IrSyntheticBodyKind
implements org.jetbrains.kotlin.protobuf.Internal.EnumLite {
/**
* ENUM_VALUES = 1;
*/
ENUM_VALUES(0, 1),
/**
* ENUM_VALUEOF = 2;
*/
ENUM_VALUEOF(1, 2),
;
/**
* ENUM_VALUES = 1;
*/
public static final int ENUM_VALUES_VALUE = 1;
/**
* ENUM_VALUEOF = 2;
*/
public static final int ENUM_VALUEOF_VALUE = 2;
public final int getNumber() { return value; }
public static IrSyntheticBodyKind valueOf(int value) {
switch (value) {
case 1: return ENUM_VALUES;
case 2: return ENUM_VALUEOF;
default: return null;
}
}
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap
internalValueMap =
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap() {
public IrSyntheticBodyKind findValueByNumber(int number) {
return IrSyntheticBodyKind.valueOf(number);
}
};
private final int value;
private IrSyntheticBodyKind(int index, int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrSyntheticBodyKind)
}