diff --git a/build-common/src/org/jetbrains/kotlin/incremental/ProtoCompareGenerated.kt b/build-common/src/org/jetbrains/kotlin/incremental/ProtoCompareGenerated.kt
index 7ae072e1a80..ca77fca2832 100644
--- a/build-common/src/org/jetbrains/kotlin/incremental/ProtoCompareGenerated.kt
+++ b/build-common/src/org/jetbrains/kotlin/incremental/ProtoCompareGenerated.kt
@@ -46,6 +46,11 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
if (!checkEquals(old.typeTable, new.typeTable)) return false
}
+ if (old.hasSinceKotlinInfoTable() != new.hasSinceKotlinInfoTable()) return false
+ if (old.hasSinceKotlinInfoTable()) {
+ if (!checkEquals(old.sinceKotlinInfoTable, new.sinceKotlinInfoTable)) return false
+ }
+
if (old.hasExtension(JvmProtoBuf.packageModuleName) != new.hasExtension(JvmProtoBuf.packageModuleName)) return false
if (old.hasExtension(JvmProtoBuf.packageModuleName)) {
if (!checkStringEquals(old.getExtension(JvmProtoBuf.packageModuleName), new.getExtension(JvmProtoBuf.packageModuleName))) return false
@@ -58,6 +63,7 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
PROPERTY_LIST,
TYPE_ALIAS_LIST,
TYPE_TABLE,
+ SINCE_KOTLIN_INFO_TABLE,
PACKAGE_MODULE_NAME
}
@@ -75,6 +81,11 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
if (!checkEquals(old.typeTable, new.typeTable)) result.add(ProtoBufPackageKind.TYPE_TABLE)
}
+ if (old.hasSinceKotlinInfoTable() != new.hasSinceKotlinInfoTable()) result.add(ProtoBufPackageKind.SINCE_KOTLIN_INFO_TABLE)
+ if (old.hasSinceKotlinInfoTable()) {
+ if (!checkEquals(old.sinceKotlinInfoTable, new.sinceKotlinInfoTable)) result.add(ProtoBufPackageKind.SINCE_KOTLIN_INFO_TABLE)
+ }
+
if (old.hasExtension(JvmProtoBuf.packageModuleName) != new.hasExtension(JvmProtoBuf.packageModuleName)) result.add(ProtoBufPackageKind.PACKAGE_MODULE_NAME)
if (old.hasExtension(JvmProtoBuf.packageModuleName)) {
if (!checkStringEquals(old.getExtension(JvmProtoBuf.packageModuleName), new.getExtension(JvmProtoBuf.packageModuleName))) result.add(ProtoBufPackageKind.PACKAGE_MODULE_NAME)
@@ -119,6 +130,16 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
if (!checkEquals(old.typeTable, new.typeTable)) return false
}
+ if (old.hasSinceKotlinInfo() != new.hasSinceKotlinInfo()) return false
+ if (old.hasSinceKotlinInfo()) {
+ if (old.sinceKotlinInfo != new.sinceKotlinInfo) return false
+ }
+
+ if (old.hasSinceKotlinInfoTable() != new.hasSinceKotlinInfoTable()) return false
+ if (old.hasSinceKotlinInfoTable()) {
+ if (!checkEquals(old.sinceKotlinInfoTable, new.sinceKotlinInfoTable)) return false
+ }
+
if (old.hasExtension(JvmProtoBuf.classModuleName) != new.hasExtension(JvmProtoBuf.classModuleName)) return false
if (old.hasExtension(JvmProtoBuf.classModuleName)) {
if (!checkStringEquals(old.getExtension(JvmProtoBuf.classModuleName), new.getExtension(JvmProtoBuf.classModuleName))) return false
@@ -140,6 +161,8 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
TYPE_ALIAS_LIST,
ENUM_ENTRY_LIST,
TYPE_TABLE,
+ SINCE_KOTLIN_INFO,
+ SINCE_KOTLIN_INFO_TABLE,
CLASS_MODULE_NAME
}
@@ -181,6 +204,16 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
if (!checkEquals(old.typeTable, new.typeTable)) result.add(ProtoBufClassKind.TYPE_TABLE)
}
+ if (old.hasSinceKotlinInfo() != new.hasSinceKotlinInfo()) result.add(ProtoBufClassKind.SINCE_KOTLIN_INFO)
+ if (old.hasSinceKotlinInfo()) {
+ if (old.sinceKotlinInfo != new.sinceKotlinInfo) result.add(ProtoBufClassKind.SINCE_KOTLIN_INFO)
+ }
+
+ if (old.hasSinceKotlinInfoTable() != new.hasSinceKotlinInfoTable()) result.add(ProtoBufClassKind.SINCE_KOTLIN_INFO_TABLE)
+ if (old.hasSinceKotlinInfoTable()) {
+ if (!checkEquals(old.sinceKotlinInfoTable, new.sinceKotlinInfoTable)) result.add(ProtoBufClassKind.SINCE_KOTLIN_INFO_TABLE)
+ }
+
if (old.hasExtension(JvmProtoBuf.classModuleName) != new.hasExtension(JvmProtoBuf.classModuleName)) result.add(ProtoBufClassKind.CLASS_MODULE_NAME)
if (old.hasExtension(JvmProtoBuf.classModuleName)) {
if (!checkStringEquals(old.getExtension(JvmProtoBuf.classModuleName), new.getExtension(JvmProtoBuf.classModuleName))) result.add(ProtoBufClassKind.CLASS_MODULE_NAME)
@@ -231,6 +264,11 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
if (!checkEquals(old.typeTable, new.typeTable)) return false
}
+ if (old.hasSinceKotlinInfo() != new.hasSinceKotlinInfo()) return false
+ if (old.hasSinceKotlinInfo()) {
+ if (old.sinceKotlinInfo != new.sinceKotlinInfo) return false
+ }
+
if (old.hasExtension(JvmProtoBuf.methodSignature) != new.hasExtension(JvmProtoBuf.methodSignature)) return false
if (old.hasExtension(JvmProtoBuf.methodSignature)) {
if (!checkEquals(old.getExtension(JvmProtoBuf.methodSignature), new.getExtension(JvmProtoBuf.methodSignature))) return false
@@ -289,6 +327,11 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
if (old.setterFlags != new.setterFlags) return false
}
+ if (old.hasSinceKotlinInfo() != new.hasSinceKotlinInfo()) return false
+ if (old.hasSinceKotlinInfo()) {
+ if (old.sinceKotlinInfo != new.sinceKotlinInfo) return false
+ }
+
if (old.hasExtension(JvmProtoBuf.propertySignature) != new.hasExtension(JvmProtoBuf.propertySignature)) return false
if (old.hasExtension(JvmProtoBuf.propertySignature)) {
if (!checkEquals(old.getExtension(JvmProtoBuf.propertySignature), new.getExtension(JvmProtoBuf.propertySignature))) return false
@@ -329,6 +372,11 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
if (!checkEqualsTypeAliasAnnotation(old, new)) return false
+ if (old.hasSinceKotlinInfo() != new.hasSinceKotlinInfo()) return false
+ if (old.hasSinceKotlinInfo()) {
+ if (old.sinceKotlinInfo != new.sinceKotlinInfo) return false
+ }
+
return true
}
@@ -343,6 +391,12 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
return true
}
+ open fun checkEquals(old: ProtoBuf.SinceKotlinInfoTable, new: ProtoBuf.SinceKotlinInfoTable): Boolean {
+ if (!checkEqualsSinceKotlinInfoTableInfo(old, new)) return false
+
+ return true
+ }
+
open fun checkEquals(old: ProtoBuf.TypeParameter, new: ProtoBuf.TypeParameter): Boolean {
if (old.id != new.id) return false
@@ -456,6 +510,11 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
if (!checkEqualsConstructorValueParameter(old, new)) return false
+ if (old.hasSinceKotlinInfo() != new.hasSinceKotlinInfo()) return false
+ if (old.hasSinceKotlinInfo()) {
+ if (old.sinceKotlinInfo != new.sinceKotlinInfo) return false
+ }
+
if (old.hasExtension(JvmProtoBuf.constructorSignature) != new.hasExtension(JvmProtoBuf.constructorSignature)) return false
if (old.hasExtension(JvmProtoBuf.constructorSignature)) {
if (!checkEquals(old.getExtension(JvmProtoBuf.constructorSignature), new.getExtension(JvmProtoBuf.constructorSignature))) return false
@@ -550,6 +609,35 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
return true
}
+ open fun checkEquals(old: ProtoBuf.SinceKotlinInfo, new: ProtoBuf.SinceKotlinInfo): Boolean {
+ if (old.hasVersion() != new.hasVersion()) return false
+ if (old.hasVersion()) {
+ if (old.version != new.version) return false
+ }
+
+ if (old.hasVersionFull() != new.hasVersionFull()) return false
+ if (old.hasVersionFull()) {
+ if (old.versionFull != new.versionFull) return false
+ }
+
+ if (old.hasLevel() != new.hasLevel()) return false
+ if (old.hasLevel()) {
+ if (old.level != new.level) return false
+ }
+
+ if (old.hasErrorCode() != new.hasErrorCode()) return false
+ if (old.hasErrorCode()) {
+ if (old.errorCode != new.errorCode) return false
+ }
+
+ if (old.hasMessage() != new.hasMessage()) return false
+ if (old.hasMessage()) {
+ if (!checkStringEquals(old.message, new.message)) return false
+ }
+
+ return true
+ }
+
open fun checkEquals(old: ProtoBuf.Type.Argument, new: ProtoBuf.Type.Argument): Boolean {
if (old.hasProjection() != new.hasProjection()) return false
if (old.hasProjection()) {
@@ -817,6 +905,16 @@ open class ProtoCompareGenerated(val oldNameResolver: NameResolver, val newNameR
return true
}
+ open fun checkEqualsSinceKotlinInfoTableInfo(old: ProtoBuf.SinceKotlinInfoTable, new: ProtoBuf.SinceKotlinInfoTable): Boolean {
+ if (old.infoCount != new.infoCount) return false
+
+ for(i in 0..old.infoCount - 1) {
+ if (!checkEquals(old.getInfo(i), new.getInfo(i))) return false
+ }
+
+ return true
+ }
+
open fun checkEqualsTypeParameterUpperBound(old: ProtoBuf.TypeParameter, new: ProtoBuf.TypeParameter): Boolean {
if (old.upperBoundCount != new.upperBoundCount) return false
@@ -927,6 +1025,10 @@ fun ProtoBuf.Package.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int)
hashCode = 31 * hashCode + typeTable.hashCode(stringIndexes, fqNameIndexes)
}
+ if (hasSinceKotlinInfoTable()) {
+ hashCode = 31 * hashCode + sinceKotlinInfoTable.hashCode(stringIndexes, fqNameIndexes)
+ }
+
if (hasExtension(JvmProtoBuf.packageModuleName)) {
hashCode = 31 * hashCode + stringIndexes(getExtension(JvmProtoBuf.packageModuleName))
}
@@ -987,6 +1089,14 @@ fun ProtoBuf.Class.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int) ->
hashCode = 31 * hashCode + typeTable.hashCode(stringIndexes, fqNameIndexes)
}
+ if (hasSinceKotlinInfo()) {
+ hashCode = 31 * hashCode + sinceKotlinInfo
+ }
+
+ if (hasSinceKotlinInfoTable()) {
+ hashCode = 31 * hashCode + sinceKotlinInfoTable.hashCode(stringIndexes, fqNameIndexes)
+ }
+
if (hasExtension(JvmProtoBuf.classModuleName)) {
hashCode = 31 * hashCode + stringIndexes(getExtension(JvmProtoBuf.classModuleName))
}
@@ -1035,6 +1145,10 @@ fun ProtoBuf.Function.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int)
hashCode = 31 * hashCode + typeTable.hashCode(stringIndexes, fqNameIndexes)
}
+ if (hasSinceKotlinInfo()) {
+ hashCode = 31 * hashCode + sinceKotlinInfo
+ }
+
if (hasExtension(JvmProtoBuf.methodSignature)) {
hashCode = 31 * hashCode + getExtension(JvmProtoBuf.methodSignature).hashCode(stringIndexes, fqNameIndexes)
}
@@ -1087,6 +1201,10 @@ fun ProtoBuf.Property.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int)
hashCode = 31 * hashCode + setterFlags
}
+ if (hasSinceKotlinInfo()) {
+ hashCode = 31 * hashCode + sinceKotlinInfo
+ }
+
if (hasExtension(JvmProtoBuf.propertySignature)) {
hashCode = 31 * hashCode + getExtension(JvmProtoBuf.propertySignature).hashCode(stringIndexes, fqNameIndexes)
}
@@ -1127,6 +1245,10 @@ fun ProtoBuf.TypeAlias.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int
hashCode = 31 * hashCode + getAnnotation(i).hashCode(stringIndexes, fqNameIndexes)
}
+ if (hasSinceKotlinInfo()) {
+ hashCode = 31 * hashCode + sinceKotlinInfo
+ }
+
return hashCode
}
@@ -1144,6 +1266,16 @@ fun ProtoBuf.TypeTable.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int
return hashCode
}
+fun ProtoBuf.SinceKotlinInfoTable.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int) -> Int): Int {
+ var hashCode = 1
+
+ for(i in 0..infoCount - 1) {
+ hashCode = 31 * hashCode + getInfo(i).hashCode(stringIndexes, fqNameIndexes)
+ }
+
+ return hashCode
+}
+
fun ProtoBuf.TypeParameter.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int) -> Int): Int {
var hashCode = 1
@@ -1251,6 +1383,10 @@ fun ProtoBuf.Constructor.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (I
hashCode = 31 * hashCode + getValueParameter(i).hashCode(stringIndexes, fqNameIndexes)
}
+ if (hasSinceKotlinInfo()) {
+ hashCode = 31 * hashCode + sinceKotlinInfo
+ }
+
if (hasExtension(JvmProtoBuf.constructorSignature)) {
hashCode = 31 * hashCode + getExtension(JvmProtoBuf.constructorSignature).hashCode(stringIndexes, fqNameIndexes)
}
@@ -1344,6 +1480,32 @@ fun ProtoBuf.Annotation.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (In
return hashCode
}
+fun ProtoBuf.SinceKotlinInfo.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int) -> Int): Int {
+ var hashCode = 1
+
+ if (hasVersion()) {
+ hashCode = 31 * hashCode + version
+ }
+
+ if (hasVersionFull()) {
+ hashCode = 31 * hashCode + versionFull
+ }
+
+ if (hasLevel()) {
+ hashCode = 31 * hashCode + level.hashCode()
+ }
+
+ if (hasErrorCode()) {
+ hashCode = 31 * hashCode + errorCode
+ }
+
+ if (hasMessage()) {
+ hashCode = 31 * hashCode + stringIndexes(message)
+ }
+
+ return hashCode
+}
+
fun ProtoBuf.Type.Argument.hashCode(stringIndexes: (Int) -> Int, fqNameIndexes: (Int) -> Int): Int {
var hashCode = 1
diff --git a/build-common/test/org/jetbrains/kotlin/serialization/DebugProtoBuf.java b/build-common/test/org/jetbrains/kotlin/serialization/DebugProtoBuf.java
index 4d84337dfb8..2fc5207b0d3 100644
--- a/build-common/test/org/jetbrains/kotlin/serialization/DebugProtoBuf.java
+++ b/build-common/test/org/jetbrains/kotlin/serialization/DebugProtoBuf.java
@@ -9874,6 +9874,36 @@ public final class DebugProtoBuf {
* optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;
*/
org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeTableOrBuilder getTypeTableOrBuilder();
+
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ *
+ * Index into the SinceKotlinInfoTable + *+ */ + boolean hasSinceKotlinInfo(); + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + int getSinceKotlinInfo(); + + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ boolean hasSinceKotlinInfoTable();
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable();
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder getSinceKotlinInfoTableOrBuilder();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Class}
@@ -10054,6 +10084,24 @@ public final class DebugProtoBuf {
bitField0_ |= 0x00000008;
break;
}
+ case 248: {
+ bitField0_ |= 0x00000010;
+ sinceKotlinInfo_ = input.readInt32();
+ break;
+ }
+ case 258: {
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ subBuilder = sinceKotlinInfoTable_.toBuilder();
+ }
+ sinceKotlinInfoTable_ = input.readMessage(org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(sinceKotlinInfoTable_);
+ sinceKotlinInfoTable_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000020;
+ break;
+ }
}
}
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
@@ -10631,6 +10679,50 @@ public final class DebugProtoBuf {
return typeTable_;
}
+ public static final int SINCEKOTLININFO_FIELD_NUMBER = 31;
+ private int sinceKotlinInfo_;
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + + public static final int SINCE_KOTLIN_INFO_TABLE_FIELD_NUMBER = 32; + private org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_; + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public boolean hasSinceKotlinInfoTable() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() {
+ return sinceKotlinInfoTable_;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder getSinceKotlinInfoTableOrBuilder() {
+ return sinceKotlinInfoTable_;
+ }
+
private void initFields() {
flags_ = 6;
fqName_ = 0;
@@ -10645,6 +10737,8 @@ public final class DebugProtoBuf {
typeAlias_ = java.util.Collections.emptyList();
enumEntry_ = java.util.Collections.emptyList();
typeTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeTable.getDefaultInstance();
+ sinceKotlinInfo_ = 0;
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -10765,6 +10859,12 @@ public final class DebugProtoBuf {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(30, typeTable_);
}
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeInt32(31, sinceKotlinInfo_);
+ }
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ output.writeMessage(32, sinceKotlinInfoTable_);
+ }
extensionWriter.writeUntil(200, output);
getUnknownFields().writeTo(output);
}
@@ -10847,6 +10947,14 @@ public final class DebugProtoBuf {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(30, typeTable_);
}
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += org.jetbrains.kotlin.protobuf.CodedOutputStream
+ .computeInt32Size(31, sinceKotlinInfo_);
+ }
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ size += org.jetbrains.kotlin.protobuf.CodedOutputStream
+ .computeMessageSize(32, sinceKotlinInfoTable_);
+ }
size += extensionsSerializedSize();
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
@@ -10966,6 +11074,7 @@ public final class DebugProtoBuf {
getTypeAliasFieldBuilder();
getEnumEntryFieldBuilder();
getTypeTableFieldBuilder();
+ getSinceKotlinInfoTableFieldBuilder();
}
}
private static Builder create() {
@@ -11032,6 +11141,14 @@ public final class DebugProtoBuf {
typeTableBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00001000);
+ sinceKotlinInfo_ = 0;
+ bitField0_ = (bitField0_ & ~0x00002000);
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+ } else {
+ sinceKotlinInfoTableBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00004000);
return this;
}
@@ -11153,6 +11270,18 @@ public final class DebugProtoBuf {
} else {
result.typeTable_ = typeTableBuilder_.build();
}
+ if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
+ to_bitField0_ |= 0x00000010;
+ }
+ result.sinceKotlinInfo_ = sinceKotlinInfo_;
+ if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
+ to_bitField0_ |= 0x00000020;
+ }
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ result.sinceKotlinInfoTable_ = sinceKotlinInfoTable_;
+ } else {
+ result.sinceKotlinInfoTable_ = sinceKotlinInfoTableBuilder_.build();
+ }
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -11383,6 +11512,12 @@ public final class DebugProtoBuf {
if (other.hasTypeTable()) {
mergeTypeTable(other.getTypeTable());
}
+ if (other.hasSinceKotlinInfo()) {
+ setSinceKotlinInfo(other.getSinceKotlinInfo());
+ }
+ if (other.hasSinceKotlinInfoTable()) {
+ mergeSinceKotlinInfoTable(other.getSinceKotlinInfoTable());
+ }
this.mergeExtensionFields(other);
this.mergeUnknownFields(other.getUnknownFields());
return this;
@@ -13527,6 +13662,170 @@ public final class DebugProtoBuf {
return typeTableBuilder_;
}
+ private int sinceKotlinInfo_ ;
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder setSinceKotlinInfo(int value) { + bitField0_ |= 0x00002000; + sinceKotlinInfo_ = value; + onChanged(); + return this; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder clearSinceKotlinInfo() { + bitField0_ = (bitField0_ & ~0x00002000); + sinceKotlinInfo_ = 0; + onChanged(); + return this; + } + + private org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.getDefaultInstance(); + private org.jetbrains.kotlin.protobuf.SingleFieldBuilder< + org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder> sinceKotlinInfoTableBuilder_; + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public boolean hasSinceKotlinInfoTable() {
+ return ((bitField0_ & 0x00004000) == 0x00004000);
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ return sinceKotlinInfoTable_;
+ } else {
+ return sinceKotlinInfoTableBuilder_.getMessage();
+ }
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder setSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable value) {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sinceKotlinInfoTable_ = value;
+ onChanged();
+ } else {
+ sinceKotlinInfoTableBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00004000;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder setSinceKotlinInfoTable(
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder builderForValue) {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ sinceKotlinInfoTable_ = builderForValue.build();
+ onChanged();
+ } else {
+ sinceKotlinInfoTableBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00004000;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder mergeSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable value) {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ if (((bitField0_ & 0x00004000) == 0x00004000) &&
+ sinceKotlinInfoTable_ != org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.getDefaultInstance()) {
+ sinceKotlinInfoTable_ =
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.newBuilder(sinceKotlinInfoTable_).mergeFrom(value).buildPartial();
+ } else {
+ sinceKotlinInfoTable_ = value;
+ }
+ onChanged();
+ } else {
+ sinceKotlinInfoTableBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00004000;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder clearSinceKotlinInfoTable() {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+ onChanged();
+ } else {
+ sinceKotlinInfoTableBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00004000);
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder getSinceKotlinInfoTableBuilder() {
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return getSinceKotlinInfoTableFieldBuilder().getBuilder();
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder getSinceKotlinInfoTableOrBuilder() {
+ if (sinceKotlinInfoTableBuilder_ != null) {
+ return sinceKotlinInfoTableBuilder_.getMessageOrBuilder();
+ } else {
+ return sinceKotlinInfoTable_;
+ }
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ private org.jetbrains.kotlin.protobuf.SingleFieldBuilder<
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder>
+ getSinceKotlinInfoTableFieldBuilder() {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ sinceKotlinInfoTableBuilder_ = new org.jetbrains.kotlin.protobuf.SingleFieldBuilder<
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder>(
+ getSinceKotlinInfoTable(),
+ getParentForChildren(),
+ isClean());
+ sinceKotlinInfoTable_ = null;
+ }
+ return sinceKotlinInfoTableBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Class)
}
@@ -13627,6 +13926,19 @@ public final class DebugProtoBuf {
* optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;
*/
org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeTableOrBuilder getTypeTableOrBuilder();
+
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ boolean hasSinceKotlinInfoTable();
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable();
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder getSinceKotlinInfoTableOrBuilder();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Package}
@@ -13718,6 +14030,19 @@ public final class DebugProtoBuf {
bitField0_ |= 0x00000001;
break;
}
+ case 258: {
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = sinceKotlinInfoTable_.toBuilder();
+ }
+ sinceKotlinInfoTable_ = input.readMessage(org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(sinceKotlinInfoTable_);
+ sinceKotlinInfoTable_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
}
}
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
@@ -13893,11 +14218,33 @@ public final class DebugProtoBuf {
return typeTable_;
}
+ public static final int SINCE_KOTLIN_INFO_TABLE_FIELD_NUMBER = 32;
+ private org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_;
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public boolean hasSinceKotlinInfoTable() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() {
+ return sinceKotlinInfoTable_;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder getSinceKotlinInfoTableOrBuilder() {
+ return sinceKotlinInfoTable_;
+ }
+
private void initFields() {
function_ = java.util.Collections.emptyList();
property_ = java.util.Collections.emptyList();
typeAlias_ = java.util.Collections.emptyList();
typeTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeTable.getDefaultInstance();
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -13955,6 +14302,9 @@ public final class DebugProtoBuf {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(30, typeTable_);
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeMessage(32, sinceKotlinInfoTable_);
+ }
extensionWriter.writeUntil(200, output);
getUnknownFields().writeTo(output);
}
@@ -13981,6 +14331,10 @@ public final class DebugProtoBuf {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(30, typeTable_);
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += org.jetbrains.kotlin.protobuf.CodedOutputStream
+ .computeMessageSize(32, sinceKotlinInfoTable_);
+ }
size += extensionsSerializedSize();
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
@@ -14096,6 +14450,7 @@ public final class DebugProtoBuf {
getPropertyFieldBuilder();
getTypeAliasFieldBuilder();
getTypeTableFieldBuilder();
+ getSinceKotlinInfoTableFieldBuilder();
}
}
private static Builder create() {
@@ -14128,6 +14483,12 @@ public final class DebugProtoBuf {
typeTableBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+ } else {
+ sinceKotlinInfoTableBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@@ -14191,6 +14552,14 @@ public final class DebugProtoBuf {
} else {
result.typeTable_ = typeTableBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ result.sinceKotlinInfoTable_ = sinceKotlinInfoTable_;
+ } else {
+ result.sinceKotlinInfoTable_ = sinceKotlinInfoTableBuilder_.build();
+ }
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -14288,6 +14657,9 @@ public final class DebugProtoBuf {
if (other.hasTypeTable()) {
mergeTypeTable(other.getTypeTable());
}
+ if (other.hasSinceKotlinInfoTable()) {
+ mergeSinceKotlinInfoTable(other.getSinceKotlinInfoTable());
+ }
this.mergeExtensionFields(other);
this.mergeUnknownFields(other.getUnknownFields());
return this;
@@ -15180,6 +15552,122 @@ public final class DebugProtoBuf {
return typeTableBuilder_;
}
+ private org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+ private org.jetbrains.kotlin.protobuf.SingleFieldBuilder<
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder> sinceKotlinInfoTableBuilder_;
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public boolean hasSinceKotlinInfoTable() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ return sinceKotlinInfoTable_;
+ } else {
+ return sinceKotlinInfoTableBuilder_.getMessage();
+ }
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder setSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable value) {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sinceKotlinInfoTable_ = value;
+ onChanged();
+ } else {
+ sinceKotlinInfoTableBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder setSinceKotlinInfoTable(
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder builderForValue) {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ sinceKotlinInfoTable_ = builderForValue.build();
+ onChanged();
+ } else {
+ sinceKotlinInfoTableBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder mergeSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable value) {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) == 0x00000010) &&
+ sinceKotlinInfoTable_ != org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.getDefaultInstance()) {
+ sinceKotlinInfoTable_ =
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.newBuilder(sinceKotlinInfoTable_).mergeFrom(value).buildPartial();
+ } else {
+ sinceKotlinInfoTable_ = value;
+ }
+ onChanged();
+ } else {
+ sinceKotlinInfoTableBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder clearSinceKotlinInfoTable() {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+ onChanged();
+ } else {
+ sinceKotlinInfoTableBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000010);
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder getSinceKotlinInfoTableBuilder() {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return getSinceKotlinInfoTableFieldBuilder().getBuilder();
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder getSinceKotlinInfoTableOrBuilder() {
+ if (sinceKotlinInfoTableBuilder_ != null) {
+ return sinceKotlinInfoTableBuilder_.getMessageOrBuilder();
+ } else {
+ return sinceKotlinInfoTable_;
+ }
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ private org.jetbrains.kotlin.protobuf.SingleFieldBuilder<
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder>
+ getSinceKotlinInfoTableFieldBuilder() {
+ if (sinceKotlinInfoTableBuilder_ == null) {
+ sinceKotlinInfoTableBuilder_ = new org.jetbrains.kotlin.protobuf.SingleFieldBuilder<
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable.Builder, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTableOrBuilder>(
+ getSinceKotlinInfoTable(),
+ getParentForChildren(),
+ isClean());
+ sinceKotlinInfoTable_ = null;
+ }
+ return sinceKotlinInfoTableBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Package)
}
@@ -16049,6 +16537,23 @@ public final class DebugProtoBuf {
*/
org.jetbrains.kotlin.serialization.DebugProtoBuf.ValueParameterOrBuilder getValueParameterOrBuilder(
int index);
+
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + boolean hasSinceKotlinInfo(); + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Constructor} @@ -16116,6 +16621,11 @@ public final class DebugProtoBuf { valueParameter_.add(input.readMessage(org.jetbrains.kotlin.serialization.DebugProtoBuf.ValueParameter.PARSER, extensionRegistry)); break; } + case 248: { + bitField0_ |= 0x00000002; + sinceKotlinInfo_ = input.readInt32(); + break; + } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { @@ -16221,9 +16731,33 @@ public final class DebugProtoBuf { return valueParameter_.get(index); } + public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; + private int sinceKotlinInfo_; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + private void initFields() { flags_ = 6; valueParameter_ = java.util.Collections.emptyList(); + sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -16257,6 +16791,9 @@ public final class DebugProtoBuf { for (int i = 0; i < valueParameter_.size(); i++) { output.writeMessage(2, valueParameter_.get(i)); } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(31, sinceKotlinInfo_); + } extensionWriter.writeUntil(200, output); getUnknownFields().writeTo(output); } @@ -16275,6 +16812,10 @@ public final class DebugProtoBuf { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(2, valueParameter_.get(i)); } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(31, sinceKotlinInfo_); + } size += extensionsSerializedSize(); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; @@ -16403,6 +16944,8 @@ public final class DebugProtoBuf { } else { valueParameterBuilder_.clear(); } + sinceKotlinInfo_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -16444,6 +16987,10 @@ public final class DebugProtoBuf { } else { result.valueParameter_ = valueParameterBuilder_.build(); } + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000002; + } + result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -16489,6 +17036,9 @@ public final class DebugProtoBuf { } } } + if (other.hasSinceKotlinInfo()) { + setSinceKotlinInfo(other.getSinceKotlinInfo()); + } this.mergeExtensionFields(other); this.mergeUnknownFields(other.getUnknownFields()); return this; @@ -16823,6 +17373,54 @@ public final class DebugProtoBuf { return valueParameterBuilder_; } + private int sinceKotlinInfo_ ; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder setSinceKotlinInfo(int value) { + bitField0_ |= 0x00000004; + sinceKotlinInfo_ = value; + onChanged(); + return this; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder clearSinceKotlinInfo() { + bitField0_ = (bitField0_ & ~0x00000004); + sinceKotlinInfo_ = 0; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Constructor) } @@ -16994,6 +17592,23 @@ public final class DebugProtoBuf { *
optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;
*/
org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeTableOrBuilder getTypeTableOrBuilder();
+
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + boolean hasSinceKotlinInfo(); + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Function} @@ -17128,6 +17743,11 @@ public final class DebugProtoBuf { bitField0_ |= 0x00000080; break; } + case 248: { + bitField0_ |= 0x00000100; + sinceKotlinInfo_ = input.readInt32(); + break; + } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { @@ -17406,6 +18026,29 @@ public final class DebugProtoBuf { return typeTable_; } + public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; + private int sinceKotlinInfo_; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + private void initFields() { flags_ = 6; oldFlags_ = 6; @@ -17417,6 +18060,7 @@ public final class DebugProtoBuf { receiverTypeId_ = 0; valueParameter_ = java.util.Collections.emptyList(); typeTable_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.TypeTable.getDefaultInstance(); + sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -17502,6 +18146,9 @@ public final class DebugProtoBuf { if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(30, typeTable_); } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + output.writeInt32(31, sinceKotlinInfo_); + } extensionWriter.writeUntil(200, output); getUnknownFields().writeTo(output); } @@ -17552,6 +18199,10 @@ public final class DebugProtoBuf { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(30, typeTable_); } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(31, sinceKotlinInfo_); + } size += extensionsSerializedSize(); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; @@ -17716,6 +18367,8 @@ public final class DebugProtoBuf { typeTableBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); + sinceKotlinInfo_ = 0; + bitField0_ = (bitField0_ & ~0x00000400); return this; } @@ -17806,6 +18459,10 @@ public final class DebugProtoBuf { } else { result.typeTable_ = typeTableBuilder_.build(); } + if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + to_bitField0_ |= 0x00000100; + } + result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -17898,6 +18555,9 @@ public final class DebugProtoBuf { if (other.hasTypeTable()) { mergeTypeTable(other.getTypeTable()); } + if (other.hasSinceKotlinInfo()) { + setSinceKotlinInfo(other.getSinceKotlinInfo()); + } this.mergeExtensionFields(other); this.mergeUnknownFields(other.getUnknownFields()); return this; @@ -19000,6 +19660,54 @@ public final class DebugProtoBuf { return typeTableBuilder_; } + private int sinceKotlinInfo_ ; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder setSinceKotlinInfo(int value) { + bitField0_ |= 0x00000400; + sinceKotlinInfo_ = value; + onChanged(); + return this; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder clearSinceKotlinInfo() { + bitField0_ = (bitField0_ & ~0x00000400); + sinceKotlinInfo_ = 0; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Function) } @@ -19185,6 +19893,23 @@ public final class DebugProtoBuf { *
optional int32 setter_flags = 8;
*/
int getSetterFlags();
+
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + boolean hasSinceKotlinInfo(); + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Property} @@ -19321,6 +20046,11 @@ public final class DebugProtoBuf { flags_ = input.readInt32(); break; } + case 248: { + bitField0_ |= 0x00000400; + sinceKotlinInfo_ = input.readInt32(); + break; + } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { @@ -19611,6 +20341,29 @@ public final class DebugProtoBuf { return setterFlags_; } + public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; + private int sinceKotlinInfo_; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + private void initFields() { flags_ = 518; oldFlags_ = 2054; @@ -19623,6 +20376,7 @@ public final class DebugProtoBuf { setterValueParameter_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.ValueParameter.getDefaultInstance(); getterFlags_ = 0; setterFlags_ = 0; + sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -19705,6 +20459,9 @@ public final class DebugProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(11, flags_); } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + output.writeInt32(31, sinceKotlinInfo_); + } extensionWriter.writeUntil(200, output); getUnknownFields().writeTo(output); } @@ -19759,6 +20516,10 @@ public final class DebugProtoBuf { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(11, flags_); } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(31, sinceKotlinInfo_); + } size += extensionsSerializedSize(); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; @@ -19920,6 +20681,8 @@ public final class DebugProtoBuf { bitField0_ = (bitField0_ & ~0x00000200); setterFlags_ = 0; bitField0_ = (bitField0_ & ~0x00000400); + sinceKotlinInfo_ = 0; + bitField0_ = (bitField0_ & ~0x00000800); return this; } @@ -20009,6 +20772,10 @@ public final class DebugProtoBuf { to_bitField0_ |= 0x00000200; } result.setterFlags_ = setterFlags_; + if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + to_bitField0_ |= 0x00000400; + } + result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -20081,6 +20848,9 @@ public final class DebugProtoBuf { if (other.hasSetterFlags()) { setSetterFlags(other.getSetterFlags()); } + if (other.hasSinceKotlinInfo()) { + setSinceKotlinInfo(other.getSinceKotlinInfo()); + } this.mergeExtensionFields(other); this.mergeUnknownFields(other.getUnknownFields()); return this; @@ -21041,6 +21811,54 @@ public final class DebugProtoBuf { return this; } + private int sinceKotlinInfo_ ; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder setSinceKotlinInfo(int value) { + bitField0_ |= 0x00000800; + sinceKotlinInfo_ = value; + onChanged(); + return this; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder clearSinceKotlinInfo() { + bitField0_ = (bitField0_ & ~0x00000800); + sinceKotlinInfo_ = 0; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Property) } @@ -22290,6 +23108,23 @@ public final class DebugProtoBuf { */ org.jetbrains.kotlin.serialization.DebugProtoBuf.AnnotationOrBuilder getAnnotationOrBuilder( int index); + + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + boolean hasSinceKotlinInfo(); + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.TypeAlias} @@ -22406,6 +23241,11 @@ public final class DebugProtoBuf { annotation_.add(input.readMessage(org.jetbrains.kotlin.serialization.DebugProtoBuf.Annotation.PARSER, extensionRegistry)); break; } + case 248: { + bitField0_ |= 0x00000040; + sinceKotlinInfo_ = input.readInt32(); + break; + } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { @@ -22634,6 +23474,29 @@ public final class DebugProtoBuf { return annotation_.get(index); } + public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; + private int sinceKotlinInfo_; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + private void initFields() { flags_ = 6; name_ = 0; @@ -22643,6 +23506,7 @@ public final class DebugProtoBuf { expandedType_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.Type.getDefaultInstance(); expandedTypeId_ = 0; annotation_ = java.util.Collections.emptyList(); + sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -22716,6 +23580,9 @@ public final class DebugProtoBuf { for (int i = 0; i < annotation_.size(); i++) { output.writeMessage(8, annotation_.get(i)); } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeInt32(31, sinceKotlinInfo_); + } extensionWriter.writeUntil(200, output); getUnknownFields().writeTo(output); } @@ -22758,6 +23625,10 @@ public final class DebugProtoBuf { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(8, annotation_.get(i)); } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(31, sinceKotlinInfo_); + } size += extensionsSerializedSize(); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; @@ -22913,6 +23784,8 @@ public final class DebugProtoBuf { } else { annotationBuilder_.clear(); } + sinceKotlinInfo_ = 0; + bitField0_ = (bitField0_ & ~0x00000100); return this; } @@ -22991,6 +23864,10 @@ public final class DebugProtoBuf { } else { result.annotation_ = annotationBuilder_.build(); } + if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + to_bitField0_ |= 0x00000040; + } + result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -23077,6 +23954,9 @@ public final class DebugProtoBuf { } } } + if (other.hasSinceKotlinInfo()) { + setSinceKotlinInfo(other.getSinceKotlinInfo()); + } this.mergeExtensionFields(other); this.mergeUnknownFields(other.getUnknownFields()); return this; @@ -23997,6 +24877,54 @@ public final class DebugProtoBuf { return annotationBuilder_; } + private int sinceKotlinInfo_ ; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder setSinceKotlinInfo(int value) { + bitField0_ |= 0x00000100; + sinceKotlinInfo_ = value; + onChanged(); + return this; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder clearSinceKotlinInfo() { + bitField0_ = (bitField0_ & ~0x00000100); + sinceKotlinInfo_ = 0; + onChanged(); + return this; + } + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.TypeAlias) } @@ -24422,6 +25350,1675 @@ public final class DebugProtoBuf { // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.EnumEntry) } + public interface SinceKotlinInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.SinceKotlinInfo) + org.jetbrains.kotlin.protobuf.MessageOrBuilder { + + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + boolean hasVersion(); + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + int getVersion(); + + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + boolean hasVersionFull(); + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + int getVersionFull(); + + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + boolean hasLevel(); + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level getLevel(); + + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + boolean hasErrorCode(); + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + int getErrorCode(); + + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + boolean hasMessage(); + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + int getMessage(); + } + /** + * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfo} + */ + public static final class SinceKotlinInfo extends + org.jetbrains.kotlin.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.SinceKotlinInfo) + SinceKotlinInfoOrBuilder { + // Use SinceKotlinInfo.newBuilder() to construct. + private SinceKotlinInfo(org.jetbrains.kotlin.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private SinceKotlinInfo(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final SinceKotlinInfo defaultInstance; + public static SinceKotlinInfo getDefaultInstance() { + return defaultInstance; + } + + public SinceKotlinInfo getDefaultInstanceForType() { + return defaultInstance; + } + + private final org.jetbrains.kotlin.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final org.jetbrains.kotlin.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SinceKotlinInfo( + org.jetbrains.kotlin.protobuf.CodedInputStream input, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + org.jetbrains.kotlin.protobuf.UnknownFieldSet.Builder unknownFields = + org.jetbrains.kotlin.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + version_ = input.readInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + versionFull_ = input.readInt32(); + break; + } + case 24: { + int rawValue = input.readEnum(); + org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level value = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level.valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { + bitField0_ |= 0x00000004; + level_ = value; + } + break; + } + case 32: { + bitField0_ |= 0x00000008; + errorCode_ = input.readInt32(); + break; + } + case 40: { + bitField0_ |= 0x00000010; + message_ = input.readInt32(); + break; + } + } + } + } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final org.jetbrains.kotlin.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.kotlin.serialization.DebugProtoBuf.internal_static_org_jetbrains_kotlin_serialization_SinceKotlinInfo_descriptor; + } + + protected org.jetbrains.kotlin.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.kotlin.serialization.DebugProtoBuf.internal_static_org_jetbrains_kotlin_serialization_SinceKotlinInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.class, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Builder.class); + } + + public static org.jetbrains.kotlin.protobuf.Parser
WARNING = 0;
+ */
+ WARNING(0, 0),
+ /**
+ * ERROR = 1;
+ */
+ ERROR(1, 1),
+ /**
+ * HIDDEN = 2;
+ */
+ HIDDEN(2, 2),
+ ;
+
+ /**
+ * WARNING = 0;
+ */
+ public static final int WARNING_VALUE = 0;
+ /**
+ * ERROR = 1;
+ */
+ public static final int ERROR_VALUE = 1;
+ /**
+ * HIDDEN = 2;
+ */
+ public static final int HIDDEN_VALUE = 2;
+
+
+ public final int getNumber() { return value; }
+
+ public static Level valueOf(int value) {
+ switch (value) {
+ case 0: return WARNING;
+ case 1: return ERROR;
+ case 2: return HIDDEN;
+ default: return null;
+ }
+ }
+
+ public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMapoptional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public int getVersion() { + return version_; + } + + public static final int VERSION_FULL_FIELD_NUMBER = 2; + private int versionFull_; + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public boolean hasVersionFull() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public int getVersionFull() { + return versionFull_; + } + + public static final int LEVEL_FIELD_NUMBER = 3; + private org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level level_; + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public boolean hasLevel() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level getLevel() { + return level_; + } + + public static final int ERROR_CODE_FIELD_NUMBER = 4; + private int errorCode_; + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public boolean hasErrorCode() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public int getErrorCode() { + return errorCode_; + } + + public static final int MESSAGE_FIELD_NUMBER = 5; + private int message_; + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public boolean hasMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public int getMessage() { + return message_; + } + + private void initFields() { + version_ = 0; + versionFull_ = 0; + level_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level.ERROR; + errorCode_ = 0; + message_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, version_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, versionFull_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeEnum(3, level_.getNumber()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeInt32(4, errorCode_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeInt32(5, message_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(1, version_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(2, versionFull_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeEnumSize(3, level_.getNumber()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(4, errorCode_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(5, message_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo parseFrom( + org.jetbrains.kotlin.protobuf.ByteString data) + throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo parseFrom( + org.jetbrains.kotlin.protobuf.ByteString data, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo parseFrom(byte[] data) + throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo parseFrom( + byte[] data, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo parseFrom( + java.io.InputStream input, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo parseDelimitedFrom( + java.io.InputStream input, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo parseFrom( + org.jetbrains.kotlin.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo parseFrom( + org.jetbrains.kotlin.protobuf.CodedInputStream input, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + org.jetbrains.kotlin.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfo} + */ + public static final class Builder extends + org.jetbrains.kotlin.protobuf.GeneratedMessage.Builder
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public int getVersion() { + return version_; + } + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public Builder setVersion(int value) { + bitField0_ |= 0x00000001; + version_ = value; + onChanged(); + return this; + } + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public Builder clearVersion() { + bitField0_ = (bitField0_ & ~0x00000001); + version_ = 0; + onChanged(); + return this; + } + + private int versionFull_ ; + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public boolean hasVersionFull() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public int getVersionFull() { + return versionFull_; + } + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public Builder setVersionFull(int value) { + bitField0_ |= 0x00000002; + versionFull_ = value; + onChanged(); + return this; + } + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public Builder clearVersionFull() { + bitField0_ = (bitField0_ & ~0x00000002); + versionFull_ = 0; + onChanged(); + return this; + } + + private org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level level_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level.ERROR; + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public boolean hasLevel() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level getLevel() { + return level_; + } + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public Builder setLevel(org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + level_ = value; + onChanged(); + return this; + } + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public Builder clearLevel() { + bitField0_ = (bitField0_ & ~0x00000004); + level_ = org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Level.ERROR; + onChanged(); + return this; + } + + private int errorCode_ ; + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public boolean hasErrorCode() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public int getErrorCode() { + return errorCode_; + } + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public Builder setErrorCode(int value) { + bitField0_ |= 0x00000008; + errorCode_ = value; + onChanged(); + return this; + } + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public Builder clearErrorCode() { + bitField0_ = (bitField0_ & ~0x00000008); + errorCode_ = 0; + onChanged(); + return this; + } + + private int message_ ; + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public boolean hasMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public int getMessage() { + return message_; + } + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public Builder setMessage(int value) { + bitField0_ |= 0x00000010; + message_ = value; + onChanged(); + return this; + } + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public Builder clearMessage() { + bitField0_ = (bitField0_ & ~0x00000010); + message_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfo) + } + + static { + defaultInstance = new SinceKotlinInfo(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfo) + } + + public interface SinceKotlinInfoTableOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable) + org.jetbrains.kotlin.protobuf.MessageOrBuilder { + + /** + *
repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ java.util.Listrepeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo getInfo(int index);
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ int getInfoCount();
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ java.util.List extends org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoOrBuilder>
+ getInfoOrBuilderList();
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoOrBuilder getInfoOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfoTable}
+ */
+ public static final class SinceKotlinInfoTable extends
+ org.jetbrains.kotlin.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable)
+ SinceKotlinInfoTableOrBuilder {
+ // Use SinceKotlinInfoTable.newBuilder() to construct.
+ private SinceKotlinInfoTable(org.jetbrains.kotlin.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private SinceKotlinInfoTable(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final SinceKotlinInfoTable defaultInstance;
+ public static SinceKotlinInfoTable getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public SinceKotlinInfoTable getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final org.jetbrains.kotlin.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final org.jetbrains.kotlin.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private SinceKotlinInfoTable(
+ org.jetbrains.kotlin.protobuf.CodedInputStream input,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ org.jetbrains.kotlin.protobuf.UnknownFieldSet.Builder unknownFields =
+ org.jetbrains.kotlin.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ info_ = new java.util.ArrayListrepeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public java.util.Listrepeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public java.util.List extends org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoOrBuilder>
+ getInfoOrBuilderList() {
+ return info_;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public int getInfoCount() {
+ return info_.size();
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo getInfo(int index) {
+ return info_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoOrBuilder getInfoOrBuilder(
+ int index) {
+ return info_.get(index);
+ }
+
+ private void initFields() {
+ info_ = java.util.Collections.emptyList();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ for (int i = 0; i < info_.size(); i++) {
+ output.writeMessage(1, info_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < info_.size(); i++) {
+ size += org.jetbrains.kotlin.protobuf.CodedOutputStream
+ .computeMessageSize(1, info_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable parseFrom(
+ org.jetbrains.kotlin.protobuf.ByteString data)
+ throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable parseFrom(
+ org.jetbrains.kotlin.protobuf.ByteString data,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable parseFrom(byte[] data)
+ throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable parseFrom(
+ byte[] data,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable parseFrom(
+ java.io.InputStream input,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable parseDelimitedFrom(
+ java.io.InputStream input,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable parseFrom(
+ org.jetbrains.kotlin.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable parseFrom(
+ org.jetbrains.kotlin.protobuf.CodedInputStream input,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() { return Builder.create(); }
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder(org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoTable prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ org.jetbrains.kotlin.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfoTable}
+ */
+ public static final class Builder extends
+ org.jetbrains.kotlin.protobuf.GeneratedMessage.Builderrepeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public java.util.Listrepeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public int getInfoCount() {
+ if (infoBuilder_ == null) {
+ return info_.size();
+ } else {
+ return infoBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo getInfo(int index) {
+ if (infoBuilder_ == null) {
+ return info_.get(index);
+ } else {
+ return infoBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder setInfo(
+ int index, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo value) {
+ if (infoBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInfoIsMutable();
+ info_.set(index, value);
+ onChanged();
+ } else {
+ infoBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder setInfo(
+ int index, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Builder builderForValue) {
+ if (infoBuilder_ == null) {
+ ensureInfoIsMutable();
+ info_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ infoBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder addInfo(org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo value) {
+ if (infoBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInfoIsMutable();
+ info_.add(value);
+ onChanged();
+ } else {
+ infoBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder addInfo(
+ int index, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo value) {
+ if (infoBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInfoIsMutable();
+ info_.add(index, value);
+ onChanged();
+ } else {
+ infoBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder addInfo(
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Builder builderForValue) {
+ if (infoBuilder_ == null) {
+ ensureInfoIsMutable();
+ info_.add(builderForValue.build());
+ onChanged();
+ } else {
+ infoBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder addInfo(
+ int index, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Builder builderForValue) {
+ if (infoBuilder_ == null) {
+ ensureInfoIsMutable();
+ info_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ infoBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder addAllInfo(
+ java.lang.Iterable extends org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo> values) {
+ if (infoBuilder_ == null) {
+ ensureInfoIsMutable();
+ org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
+ values, info_);
+ onChanged();
+ } else {
+ infoBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder clearInfo() {
+ if (infoBuilder_ == null) {
+ info_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ infoBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder removeInfo(int index) {
+ if (infoBuilder_ == null) {
+ ensureInfoIsMutable();
+ info_.remove(index);
+ onChanged();
+ } else {
+ infoBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Builder getInfoBuilder(
+ int index) {
+ return getInfoFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoOrBuilder getInfoOrBuilder(
+ int index) {
+ if (infoBuilder_ == null) {
+ return info_.get(index); } else {
+ return infoBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public java.util.List extends org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfoOrBuilder>
+ getInfoOrBuilderList() {
+ if (infoBuilder_ != null) {
+ return infoBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(info_);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Builder addInfoBuilder() {
+ return getInfoFieldBuilder().addBuilder(
+ org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.Builder addInfoBuilder(
+ int index) {
+ return getInfoFieldBuilder().addBuilder(
+ index, org.jetbrains.kotlin.serialization.DebugProtoBuf.SinceKotlinInfo.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public java.util.Listoptional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable();
+
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + boolean hasSinceKotlinInfo(); + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + int getSinceKotlinInfo(); + + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ boolean hasSinceKotlinInfoTable();
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Class}
@@ -8171,6 +8197,24 @@ public final class ProtoBuf {
bitField0_ |= 0x00000008;
break;
}
+ case 248: {
+ bitField0_ |= 0x00000010;
+ sinceKotlinInfo_ = input.readInt32();
+ break;
+ }
+ case 258: {
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ subBuilder = sinceKotlinInfoTable_.toBuilder();
+ }
+ sinceKotlinInfoTable_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(sinceKotlinInfoTable_);
+ sinceKotlinInfoTable_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000020;
+ break;
+ }
}
}
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
@@ -8710,6 +8754,44 @@ public final class ProtoBuf {
return typeTable_;
}
+ public static final int SINCEKOTLININFO_FIELD_NUMBER = 31;
+ private int sinceKotlinInfo_;
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + + public static final int SINCE_KOTLIN_INFO_TABLE_FIELD_NUMBER = 32; + private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_; + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public boolean hasSinceKotlinInfoTable() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() {
+ return sinceKotlinInfoTable_;
+ }
+
private void initFields() {
flags_ = 6;
fqName_ = 0;
@@ -8724,6 +8806,8 @@ public final class ProtoBuf {
typeAlias_ = java.util.Collections.emptyList();
enumEntry_ = java.util.Collections.emptyList();
typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance();
+ sinceKotlinInfo_ = 0;
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -8844,6 +8928,12 @@ public final class ProtoBuf {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(30, typeTable_);
}
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeInt32(31, sinceKotlinInfo_);
+ }
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ output.writeMessage(32, sinceKotlinInfoTable_);
+ }
extensionWriter.writeUntil(200, output);
output.writeRawBytes(unknownFields);
}
@@ -8926,6 +9016,14 @@ public final class ProtoBuf {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(30, typeTable_);
}
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += org.jetbrains.kotlin.protobuf.CodedOutputStream
+ .computeInt32Size(31, sinceKotlinInfo_);
+ }
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ size += org.jetbrains.kotlin.protobuf.CodedOutputStream
+ .computeMessageSize(32, sinceKotlinInfoTable_);
+ }
size += extensionsSerializedSize();
size += unknownFields.size();
memoizedSerializedSize = size;
@@ -9046,6 +9144,10 @@ public final class ProtoBuf {
bitField0_ = (bitField0_ & ~0x00000800);
typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00001000);
+ sinceKotlinInfo_ = 0;
+ bitField0_ = (bitField0_ & ~0x00002000);
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+ bitField0_ = (bitField0_ & ~0x00004000);
return this;
}
@@ -9130,6 +9232,14 @@ public final class ProtoBuf {
to_bitField0_ |= 0x00000008;
}
result.typeTable_ = typeTable_;
+ if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
+ to_bitField0_ |= 0x00000010;
+ }
+ result.sinceKotlinInfo_ = sinceKotlinInfo_;
+ if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
+ to_bitField0_ |= 0x00000020;
+ }
+ result.sinceKotlinInfoTable_ = sinceKotlinInfoTable_;
result.bitField0_ = to_bitField0_;
return result;
}
@@ -9238,6 +9348,12 @@ public final class ProtoBuf {
if (other.hasTypeTable()) {
mergeTypeTable(other.getTypeTable());
}
+ if (other.hasSinceKotlinInfo()) {
+ setSinceKotlinInfo(other.getSinceKotlinInfo());
+ }
+ if (other.hasSinceKotlinInfoTable()) {
+ mergeSinceKotlinInfoTable(other.getSinceKotlinInfoTable());
+ }
this.mergeExtensionFields(other);
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
@@ -10522,6 +10638,114 @@ public final class ProtoBuf {
return this;
}
+ private int sinceKotlinInfo_ ;
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder setSinceKotlinInfo(int value) { + bitField0_ |= 0x00002000; + sinceKotlinInfo_ = value; + + return this; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder clearSinceKotlinInfo() { + bitField0_ = (bitField0_ & ~0x00002000); + sinceKotlinInfo_ = 0; + + return this; + } + + private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance(); + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public boolean hasSinceKotlinInfoTable() {
+ return ((bitField0_ & 0x00004000) == 0x00004000);
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() {
+ return sinceKotlinInfoTable_;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder setSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sinceKotlinInfoTable_ = value;
+
+ bitField0_ |= 0x00004000;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder setSinceKotlinInfoTable(
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.Builder builderForValue) {
+ sinceKotlinInfoTable_ = builderForValue.build();
+
+ bitField0_ |= 0x00004000;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder mergeSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable value) {
+ if (((bitField0_ & 0x00004000) == 0x00004000) &&
+ sinceKotlinInfoTable_ != org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance()) {
+ sinceKotlinInfoTable_ =
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.newBuilder(sinceKotlinInfoTable_).mergeFrom(value).buildPartial();
+ } else {
+ sinceKotlinInfoTable_ = value;
+ }
+
+ bitField0_ |= 0x00004000;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder clearSinceKotlinInfoTable() {
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+
+ bitField0_ = (bitField0_ & ~0x00004000);
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Class)
}
@@ -10588,6 +10812,15 @@ public final class ProtoBuf {
* optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable();
+
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ boolean hasSinceKotlinInfoTable();
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable();
}
/**
* Protobuf type {@code org.jetbrains.kotlin.serialization.Package}
@@ -10677,6 +10910,19 @@ public final class ProtoBuf {
bitField0_ |= 0x00000001;
break;
}
+ case 258: {
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = sinceKotlinInfoTable_.toBuilder();
+ }
+ sinceKotlinInfoTable_ = input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(sinceKotlinInfoTable_);
+ sinceKotlinInfoTable_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
}
}
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
@@ -10840,11 +11086,27 @@ public final class ProtoBuf {
return typeTable_;
}
+ public static final int SINCE_KOTLIN_INFO_TABLE_FIELD_NUMBER = 32;
+ private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_;
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public boolean hasSinceKotlinInfoTable() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() {
+ return sinceKotlinInfoTable_;
+ }
+
private void initFields() {
function_ = java.util.Collections.emptyList();
property_ = java.util.Collections.emptyList();
typeAlias_ = java.util.Collections.emptyList();
typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance();
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -10902,6 +11164,9 @@ public final class ProtoBuf {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(30, typeTable_);
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeMessage(32, sinceKotlinInfoTable_);
+ }
extensionWriter.writeUntil(200, output);
output.writeRawBytes(unknownFields);
}
@@ -10928,6 +11193,10 @@ public final class ProtoBuf {
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
.computeMessageSize(30, typeTable_);
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += org.jetbrains.kotlin.protobuf.CodedOutputStream
+ .computeMessageSize(32, sinceKotlinInfoTable_);
+ }
size += extensionsSerializedSize();
size += unknownFields.size();
memoizedSerializedSize = size;
@@ -11030,6 +11299,8 @@ public final class ProtoBuf {
bitField0_ = (bitField0_ & ~0x00000004);
typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance();
bitField0_ = (bitField0_ & ~0x00000008);
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+ bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@@ -11072,6 +11343,10 @@ public final class ProtoBuf {
to_bitField0_ |= 0x00000001;
}
result.typeTable_ = typeTable_;
+ if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.sinceKotlinInfoTable_ = sinceKotlinInfoTable_;
result.bitField0_ = to_bitField0_;
return result;
}
@@ -11111,6 +11386,9 @@ public final class ProtoBuf {
if (other.hasTypeTable()) {
mergeTypeTable(other.getTypeTable());
}
+ if (other.hasSinceKotlinInfoTable()) {
+ mergeSinceKotlinInfoTable(other.getSinceKotlinInfoTable());
+ }
this.mergeExtensionFields(other);
setUnknownFields(
getUnknownFields().concat(other.unknownFields));
@@ -11603,6 +11881,66 @@ public final class ProtoBuf {
return this;
}
+ private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public boolean hasSinceKotlinInfoTable() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getSinceKotlinInfoTable() {
+ return sinceKotlinInfoTable_;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder setSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ sinceKotlinInfoTable_ = value;
+
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder setSinceKotlinInfoTable(
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.Builder builderForValue) {
+ sinceKotlinInfoTable_ = builderForValue.build();
+
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder mergeSinceKotlinInfoTable(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable value) {
+ if (((bitField0_ & 0x00000010) == 0x00000010) &&
+ sinceKotlinInfoTable_ != org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance()) {
+ sinceKotlinInfoTable_ =
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.newBuilder(sinceKotlinInfoTable_).mergeFrom(value).buildPartial();
+ } else {
+ sinceKotlinInfoTable_ = value;
+ }
+
+ bitField0_ |= 0x00000010;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.kotlin.serialization.SinceKotlinInfoTable since_kotlin_info_table = 32;
+ */
+ public Builder clearSinceKotlinInfoTable() {
+ sinceKotlinInfoTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+
+ bitField0_ = (bitField0_ & ~0x00000010);
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Package)
}
@@ -12267,6 +12605,23 @@ public final class ProtoBuf {
* repeated .org.jetbrains.kotlin.serialization.ValueParameter value_parameter = 2;
*/
int getValueParameterCount();
+
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + boolean hasSinceKotlinInfo(); + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Constructor} @@ -12332,6 +12687,11 @@ public final class ProtoBuf { valueParameter_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.PARSER, extensionRegistry)); break; } + case 248: { + bitField0_ |= 0x00000002; + sinceKotlinInfo_ = input.readInt32(); + break; + } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { @@ -12431,9 +12791,33 @@ public final class ProtoBuf { return valueParameter_.get(index); } + public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; + private int sinceKotlinInfo_; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + private void initFields() { flags_ = 6; valueParameter_ = java.util.Collections.emptyList(); + sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -12467,6 +12851,9 @@ public final class ProtoBuf { for (int i = 0; i < valueParameter_.size(); i++) { output.writeMessage(2, valueParameter_.get(i)); } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(31, sinceKotlinInfo_); + } extensionWriter.writeUntil(200, output); output.writeRawBytes(unknownFields); } @@ -12485,6 +12872,10 @@ public final class ProtoBuf { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(2, valueParameter_.get(i)); } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(31, sinceKotlinInfo_); + } size += extensionsSerializedSize(); size += unknownFields.size(); memoizedSerializedSize = size; @@ -12583,6 +12974,8 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000001); valueParameter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + sinceKotlinInfo_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -12615,6 +13008,10 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); } result.valueParameter_ = valueParameter_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000002; + } + result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; return result; } @@ -12634,6 +13031,9 @@ public final class ProtoBuf { } } + if (other.hasSinceKotlinInfo()) { + setSinceKotlinInfo(other.getSinceKotlinInfo()); + } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); @@ -12854,6 +13254,54 @@ public final class ProtoBuf { return this; } + private int sinceKotlinInfo_ ; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder setSinceKotlinInfo(int value) { + bitField0_ |= 0x00000004; + sinceKotlinInfo_ = value; + + return this; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder clearSinceKotlinInfo() { + bitField0_ = (bitField0_ & ~0x00000004); + sinceKotlinInfo_ = 0; + + return this; + } + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Constructor) } @@ -12993,6 +13441,23 @@ public final class ProtoBuf { *
optional .org.jetbrains.kotlin.serialization.TypeTable type_table = 30;
*/
org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable getTypeTable();
+
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + boolean hasSinceKotlinInfo(); + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Function} @@ -13125,6 +13590,11 @@ public final class ProtoBuf { bitField0_ |= 0x00000080; break; } + case 248: { + bitField0_ |= 0x00000100; + sinceKotlinInfo_ = input.readInt32(); + break; + } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { @@ -13379,6 +13849,29 @@ public final class ProtoBuf { return typeTable_; } + public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; + private int sinceKotlinInfo_; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + private void initFields() { flags_ = 6; oldFlags_ = 6; @@ -13390,6 +13883,7 @@ public final class ProtoBuf { receiverTypeId_ = 0; valueParameter_ = java.util.Collections.emptyList(); typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); + sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -13475,6 +13969,9 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(30, typeTable_); } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + output.writeInt32(31, sinceKotlinInfo_); + } extensionWriter.writeUntil(200, output); output.writeRawBytes(unknownFields); } @@ -13525,6 +14022,10 @@ public final class ProtoBuf { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(30, typeTable_); } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(31, sinceKotlinInfo_); + } size += extensionsSerializedSize(); size += unknownFields.size(); memoizedSerializedSize = size; @@ -13639,6 +14140,8 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000100); typeTable_ = org.jetbrains.kotlin.serialization.ProtoBuf.TypeTable.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000200); + sinceKotlinInfo_ = 0; + bitField0_ = (bitField0_ & ~0x00000400); return this; } @@ -13704,6 +14207,10 @@ public final class ProtoBuf { to_bitField0_ |= 0x00000080; } result.typeTable_ = typeTable_; + if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + to_bitField0_ |= 0x00000100; + } + result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; return result; } @@ -13754,6 +14261,9 @@ public final class ProtoBuf { if (other.hasTypeTable()) { mergeTypeTable(other.getTypeTable()); } + if (other.hasSinceKotlinInfo()) { + setSinceKotlinInfo(other.getSinceKotlinInfo()); + } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); @@ -14459,6 +14969,54 @@ public final class ProtoBuf { return this; } + private int sinceKotlinInfo_ ; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder setSinceKotlinInfo(int value) { + bitField0_ |= 0x00000400; + sinceKotlinInfo_ = value; + + return this; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder clearSinceKotlinInfo() { + bitField0_ = (bitField0_ & ~0x00000400); + sinceKotlinInfo_ = 0; + + return this; + } + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Function) } @@ -14622,6 +15180,23 @@ public final class ProtoBuf { *
optional int32 setter_flags = 8;
*/
int getSetterFlags();
+
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + boolean hasSinceKotlinInfo(); + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.Property} @@ -14756,6 +15331,11 @@ public final class ProtoBuf { flags_ = input.readInt32(); break; } + case 248: { + bitField0_ |= 0x00000400; + sinceKotlinInfo_ = input.readInt32(); + break; + } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { @@ -15022,6 +15602,29 @@ public final class ProtoBuf { return setterFlags_; } + public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; + private int sinceKotlinInfo_; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + private void initFields() { flags_ = 518; oldFlags_ = 2054; @@ -15034,6 +15637,7 @@ public final class ProtoBuf { setterValueParameter_ = org.jetbrains.kotlin.serialization.ProtoBuf.ValueParameter.getDefaultInstance(); getterFlags_ = 0; setterFlags_ = 0; + sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -15116,6 +15720,9 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(11, flags_); } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + output.writeInt32(31, sinceKotlinInfo_); + } extensionWriter.writeUntil(200, output); output.writeRawBytes(unknownFields); } @@ -15170,6 +15777,10 @@ public final class ProtoBuf { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeInt32Size(11, flags_); } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(31, sinceKotlinInfo_); + } size += extensionsSerializedSize(); size += unknownFields.size(); memoizedSerializedSize = size; @@ -15286,6 +15897,8 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000200); setterFlags_ = 0; bitField0_ = (bitField0_ & ~0x00000400); + sinceKotlinInfo_ = 0; + bitField0_ = (bitField0_ & ~0x00000800); return this; } @@ -15354,6 +15967,10 @@ public final class ProtoBuf { to_bitField0_ |= 0x00000200; } result.setterFlags_ = setterFlags_; + if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + to_bitField0_ |= 0x00000400; + } + result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; return result; } @@ -15400,6 +16017,9 @@ public final class ProtoBuf { if (other.hasSetterFlags()) { setSetterFlags(other.getSetterFlags()); } + if (other.hasSinceKotlinInfo()) { + setSinceKotlinInfo(other.getSinceKotlinInfo()); + } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); @@ -16078,6 +16698,54 @@ public final class ProtoBuf { return this; } + private int sinceKotlinInfo_ ; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder setSinceKotlinInfo(int value) { + bitField0_ |= 0x00000800; + sinceKotlinInfo_ = value; + + return this; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder clearSinceKotlinInfo() { + bitField0_ = (bitField0_ & ~0x00000800); + sinceKotlinInfo_ = 0; + + return this; + } + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.Property) } @@ -17102,6 +17770,23 @@ public final class ProtoBuf { *
repeated .org.jetbrains.kotlin.serialization.Annotation annotation = 8;
*/
int getAnnotationCount();
+
+ /**
+ * optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + boolean hasSinceKotlinInfo(); + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + int getSinceKotlinInfo(); } /** * Protobuf type {@code org.jetbrains.kotlin.serialization.TypeAlias} @@ -17216,6 +17901,11 @@ public final class ProtoBuf { annotation_.add(input.readMessage(org.jetbrains.kotlin.serialization.ProtoBuf.Annotation.PARSER, extensionRegistry)); break; } + case 248: { + bitField0_ |= 0x00000040; + sinceKotlinInfo_ = input.readInt32(); + break; + } } } } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { @@ -17426,6 +18116,29 @@ public final class ProtoBuf { return annotation_.get(index); } + public static final int SINCEKOTLININFO_FIELD_NUMBER = 31; + private int sinceKotlinInfo_; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + private void initFields() { flags_ = 6; name_ = 0; @@ -17435,6 +18148,7 @@ public final class ProtoBuf { expandedType_ = org.jetbrains.kotlin.serialization.ProtoBuf.Type.getDefaultInstance(); expandedTypeId_ = 0; annotation_ = java.util.Collections.emptyList(); + sinceKotlinInfo_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { @@ -17508,6 +18222,9 @@ public final class ProtoBuf { for (int i = 0; i < annotation_.size(); i++) { output.writeMessage(8, annotation_.get(i)); } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeInt32(31, sinceKotlinInfo_); + } extensionWriter.writeUntil(200, output); output.writeRawBytes(unknownFields); } @@ -17550,6 +18267,10 @@ public final class ProtoBuf { size += org.jetbrains.kotlin.protobuf.CodedOutputStream .computeMessageSize(8, annotation_.get(i)); } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(31, sinceKotlinInfo_); + } size += extensionsSerializedSize(); size += unknownFields.size(); memoizedSerializedSize = size; @@ -17660,6 +18381,8 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000040); annotation_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); + sinceKotlinInfo_ = 0; + bitField0_ = (bitField0_ & ~0x00000100); return this; } @@ -17717,6 +18440,10 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000080); } result.annotation_ = annotation_; + if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + to_bitField0_ |= 0x00000040; + } + result.sinceKotlinInfo_ = sinceKotlinInfo_; result.bitField0_ = to_bitField0_; return result; } @@ -17761,6 +18488,9 @@ public final class ProtoBuf { } } + if (other.hasSinceKotlinInfo()) { + setSinceKotlinInfo(other.getSinceKotlinInfo()); + } this.mergeExtensionFields(other); setUnknownFields( getUnknownFields().concat(other.unknownFields)); @@ -18340,6 +19070,54 @@ public final class ProtoBuf { return this; } + private int sinceKotlinInfo_ ; + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public boolean hasSinceKotlinInfo() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public int getSinceKotlinInfo() { + return sinceKotlinInfo_; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder setSinceKotlinInfo(int value) { + bitField0_ |= 0x00000100; + sinceKotlinInfo_ = value; + + return this; + } + /** + *
optional int32 sinceKotlinInfo = 31;
+ *
+ * + * Index into the SinceKotlinInfoTable + *+ */ + public Builder clearSinceKotlinInfo() { + bitField0_ = (bitField0_ & ~0x00000100); + sinceKotlinInfo_ = 0; + + return this; + } + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.TypeAlias) } @@ -18718,6 +19496,1410 @@ public final class ProtoBuf { // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.EnumEntry) } + public interface SinceKotlinInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.SinceKotlinInfo) + org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { + + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + boolean hasVersion(); + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + int getVersion(); + + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + boolean hasVersionFull(); + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + int getVersionFull(); + + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + boolean hasLevel(); + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level getLevel(); + + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + boolean hasErrorCode(); + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + int getErrorCode(); + + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + boolean hasMessage(); + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + int getMessage(); + } + /** + * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfo} + */ + public static final class SinceKotlinInfo extends + org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements + // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.SinceKotlinInfo) + SinceKotlinInfoOrBuilder { + // Use SinceKotlinInfo.newBuilder() to construct. + private SinceKotlinInfo(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private SinceKotlinInfo(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;} + + private static final SinceKotlinInfo defaultInstance; + public static SinceKotlinInfo getDefaultInstance() { + return defaultInstance; + } + + public SinceKotlinInfo getDefaultInstanceForType() { + return defaultInstance; + } + + private final org.jetbrains.kotlin.protobuf.ByteString unknownFields; + private SinceKotlinInfo( + org.jetbrains.kotlin.protobuf.CodedInputStream input, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput = + org.jetbrains.kotlin.protobuf.ByteString.newOutput(); + org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput = + org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance( + unknownFieldsOutput); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFieldsCodedOutput, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + version_ = input.readInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + versionFull_ = input.readInt32(); + break; + } + case 24: { + int rawValue = input.readEnum(); + org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level value = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level.valueOf(rawValue); + if (value == null) { + unknownFieldsCodedOutput.writeRawVarint32(tag); + unknownFieldsCodedOutput.writeRawVarint32(rawValue); + } else { + bitField0_ |= 0x00000004; + level_ = value; + } + break; + } + case 32: { + bitField0_ |= 0x00000008; + errorCode_ = input.readInt32(); + break; + } + case 40: { + bitField0_ |= 0x00000010; + message_ = input.readInt32(); + break; + } + } + } + } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + try { + unknownFieldsCodedOutput.flush(); + } catch (java.io.IOException e) { + // Should not happen + } finally { + unknownFields = unknownFieldsOutput.toByteString(); + } + makeExtensionsImmutable(); + } + } + public static org.jetbrains.kotlin.protobuf.Parser
WARNING = 0;
+ */
+ WARNING(0, 0),
+ /**
+ * ERROR = 1;
+ */
+ ERROR(1, 1),
+ /**
+ * HIDDEN = 2;
+ */
+ HIDDEN(2, 2),
+ ;
+
+ /**
+ * WARNING = 0;
+ */
+ public static final int WARNING_VALUE = 0;
+ /**
+ * ERROR = 1;
+ */
+ public static final int ERROR_VALUE = 1;
+ /**
+ * HIDDEN = 2;
+ */
+ public static final int HIDDEN_VALUE = 2;
+
+
+ public final int getNumber() { return value; }
+
+ public static Level valueOf(int value) {
+ switch (value) {
+ case 0: return WARNING;
+ case 1: return ERROR;
+ case 2: return HIDDEN;
+ default: return null;
+ }
+ }
+
+ public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMapoptional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public int getVersion() { + return version_; + } + + public static final int VERSION_FULL_FIELD_NUMBER = 2; + private int versionFull_; + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public boolean hasVersionFull() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public int getVersionFull() { + return versionFull_; + } + + public static final int LEVEL_FIELD_NUMBER = 3; + private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level level_; + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public boolean hasLevel() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level getLevel() { + return level_; + } + + public static final int ERROR_CODE_FIELD_NUMBER = 4; + private int errorCode_; + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public boolean hasErrorCode() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public int getErrorCode() { + return errorCode_; + } + + public static final int MESSAGE_FIELD_NUMBER = 5; + private int message_; + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public boolean hasMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public int getMessage() { + return message_; + } + + private void initFields() { + version_ = 0; + versionFull_ = 0; + level_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level.ERROR; + errorCode_ = 0; + message_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, version_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, versionFull_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeEnum(3, level_.getNumber()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeInt32(4, errorCode_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeInt32(5, message_); + } + output.writeRawBytes(unknownFields); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(1, version_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(2, versionFull_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeEnumSize(3, level_.getNumber()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(4, errorCode_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += org.jetbrains.kotlin.protobuf.CodedOutputStream + .computeInt32Size(5, message_); + } + size += unknownFields.size(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parseFrom( + org.jetbrains.kotlin.protobuf.ByteString data) + throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parseFrom( + org.jetbrains.kotlin.protobuf.ByteString data, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parseFrom(byte[] data) + throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parseFrom( + byte[] data, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parseFrom( + java.io.InputStream input, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parseDelimitedFrom( + java.io.InputStream input, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parseFrom( + org.jetbrains.kotlin.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parseFrom( + org.jetbrains.kotlin.protobuf.CodedInputStream input, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfo} + */ + public static final class Builder extends + org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder< + org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo, Builder> + implements + // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.SinceKotlinInfo) + org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoOrBuilder { + // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + version_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + versionFull_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + level_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level.ERROR; + bitField0_ = (bitField0_ & ~0x00000004); + errorCode_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + message_ = 0; + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo getDefaultInstanceForType() { + return org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.getDefaultInstance(); + } + + public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo build() { + org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo buildPartial() { + org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo result = new org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.version_ = version_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.versionFull_ = versionFull_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.level_ = level_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.errorCode_ = errorCode_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.message_ = message_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo other) { + if (other == org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.getDefaultInstance()) return this; + if (other.hasVersion()) { + setVersion(other.getVersion()); + } + if (other.hasVersionFull()) { + setVersionFull(other.getVersionFull()); + } + if (other.hasLevel()) { + setLevel(other.getLevel()); + } + if (other.hasErrorCode()) { + setErrorCode(other.getErrorCode()); + } + if (other.hasMessage()) { + setMessage(other.getMessage()); + } + setUnknownFields( + getUnknownFields().concat(other.unknownFields)); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + org.jetbrains.kotlin.protobuf.CodedInputStream input, + org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private int version_ ; + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public int getVersion() { + return version_; + } + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public Builder setVersion(int value) { + bitField0_ |= 0x00000001; + version_ = value; + + return this; + } + /** + *
optional int32 version = 1;
+ *
+ * + * Kotlin version, since which this declaration is accessible, in the following format (encoded version is "major.minor.patch"): + * (patch << 7) + (minor << 3) + major + * Compilers with version less than this value should report a diagnostic if this declaration is selected as the resolution result + *+ */ + public Builder clearVersion() { + bitField0_ = (bitField0_ & ~0x00000001); + version_ = 0; + + return this; + } + + private int versionFull_ ; + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public boolean hasVersionFull() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public int getVersionFull() { + return versionFull_; + } + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public Builder setVersionFull(int value) { + bitField0_ |= 0x00000002; + versionFull_ = value; + + return this; + } + /** + *
optional int32 version_full = 2;
+ *
+ * + * Version in base 256, in case we run out of space to store the version in the optimized form. Has priority over 'version'. + * (patch << 16) + (minor << 8) + major + *+ */ + public Builder clearVersionFull() { + bitField0_ = (bitField0_ & ~0x00000002); + versionFull_ = 0; + + return this; + } + + private org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level level_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level.ERROR; + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public boolean hasLevel() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level getLevel() { + return level_; + } + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public Builder setLevel(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + level_ = value; + + return this; + } + /** + *
optional .org.jetbrains.kotlin.serialization.SinceKotlinInfo.Level level = 3 [default = ERROR];
+ *
+ * + * Level of the reported diagnostic + *+ */ + public Builder clearLevel() { + bitField0_ = (bitField0_ & ~0x00000004); + level_ = org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Level.ERROR; + + return this; + } + + private int errorCode_ ; + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public boolean hasErrorCode() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public int getErrorCode() { + return errorCode_; + } + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public Builder setErrorCode(int value) { + bitField0_ |= 0x00000008; + errorCode_ = value; + + return this; + } + /** + *
optional int32 error_code = 4;
+ *
+ * + * Error code, to be looked up on the website + *+ */ + public Builder clearErrorCode() { + bitField0_ = (bitField0_ & ~0x00000008); + errorCode_ = 0; + + return this; + } + + private int message_ ; + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public boolean hasMessage() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public int getMessage() { + return message_; + } + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public Builder setMessage(int value) { + bitField0_ |= 0x00000010; + message_ = value; + + return this; + } + /** + *
optional int32 message = 5;
+ *
+ * + * Diagnostic message + *+ */ + public Builder clearMessage() { + bitField0_ = (bitField0_ & ~0x00000010); + message_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfo) + } + + static { + defaultInstance = new SinceKotlinInfo(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfo) + } + + public interface SinceKotlinInfoTableOrBuilder extends + // @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable) + org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder { + + /** + *
repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ java.util.Listrepeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo getInfo(int index);
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ int getInfoCount();
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfoTable}
+ */
+ public static final class SinceKotlinInfoTable extends
+ org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
+ // @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable)
+ SinceKotlinInfoTableOrBuilder {
+ // Use SinceKotlinInfoTable.newBuilder() to construct.
+ private SinceKotlinInfoTable(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private SinceKotlinInfoTable(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
+
+ private static final SinceKotlinInfoTable defaultInstance;
+ public static SinceKotlinInfoTable getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public SinceKotlinInfoTable getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
+ private SinceKotlinInfoTable(
+ org.jetbrains.kotlin.protobuf.CodedInputStream input,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ org.jetbrains.kotlin.protobuf.ByteString.Output unknownFieldsOutput =
+ org.jetbrains.kotlin.protobuf.ByteString.newOutput();
+ org.jetbrains.kotlin.protobuf.CodedOutputStream unknownFieldsCodedOutput =
+ org.jetbrains.kotlin.protobuf.CodedOutputStream.newInstance(
+ unknownFieldsOutput);
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFieldsCodedOutput,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ info_ = new java.util.ArrayListrepeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public java.util.Listrepeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public java.util.List extends org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoOrBuilder>
+ getInfoOrBuilderList() {
+ return info_;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public int getInfoCount() {
+ return info_.size();
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo getInfo(int index) {
+ return info_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoOrBuilder getInfoOrBuilder(
+ int index) {
+ return info_.get(index);
+ }
+
+ private void initFields() {
+ info_ = java.util.Collections.emptyList();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(org.jetbrains.kotlin.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ for (int i = 0; i < info_.size(); i++) {
+ output.writeMessage(1, info_.get(i));
+ }
+ output.writeRawBytes(unknownFields);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < info_.size(); i++) {
+ size += org.jetbrains.kotlin.protobuf.CodedOutputStream
+ .computeMessageSize(1, info_.get(i));
+ }
+ size += unknownFields.size();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom(
+ org.jetbrains.kotlin.protobuf.ByteString data)
+ throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom(
+ org.jetbrains.kotlin.protobuf.ByteString data,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom(byte[] data)
+ throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom(
+ byte[] data,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom(
+ java.io.InputStream input,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parseDelimitedFrom(
+ java.io.InputStream input,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom(
+ org.jetbrains.kotlin.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parseFrom(
+ org.jetbrains.kotlin.protobuf.CodedInputStream input,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() { return Builder.create(); }
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ /**
+ * Protobuf type {@code org.jetbrains.kotlin.serialization.SinceKotlinInfoTable}
+ */
+ public static final class Builder extends
+ org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable, Builder>
+ implements
+ // @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable)
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTableOrBuilder {
+ // Construct using org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ info_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable getDefaultInstanceForType() {
+ return org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance();
+ }
+
+ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable build() {
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable buildPartial() {
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable result = new org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable(this);
+ int from_bitField0_ = bitField0_;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ info_ = java.util.Collections.unmodifiableList(info_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.info_ = info_;
+ return result;
+ }
+
+ public Builder mergeFrom(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable other) {
+ if (other == org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable.getDefaultInstance()) return this;
+ if (!other.info_.isEmpty()) {
+ if (info_.isEmpty()) {
+ info_ = other.info_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureInfoIsMutable();
+ info_.addAll(other.info_);
+ }
+
+ }
+ setUnknownFields(
+ getUnknownFields().concat(other.unknownFields));
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ public Builder mergeFrom(
+ org.jetbrains.kotlin.protobuf.CodedInputStream input,
+ org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfoTable) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ private java.util.Listrepeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public java.util.Listrepeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public int getInfoCount() {
+ return info_.size();
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo getInfo(int index) {
+ return info_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder setInfo(
+ int index, org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInfoIsMutable();
+ info_.set(index, value);
+
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder setInfo(
+ int index, org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Builder builderForValue) {
+ ensureInfoIsMutable();
+ info_.set(index, builderForValue.build());
+
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder addInfo(org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInfoIsMutable();
+ info_.add(value);
+
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder addInfo(
+ int index, org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInfoIsMutable();
+ info_.add(index, value);
+
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder addInfo(
+ org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Builder builderForValue) {
+ ensureInfoIsMutable();
+ info_.add(builderForValue.build());
+
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder addInfo(
+ int index, org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo.Builder builderForValue) {
+ ensureInfoIsMutable();
+ info_.add(index, builderForValue.build());
+
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder addAllInfo(
+ java.lang.Iterable extends org.jetbrains.kotlin.serialization.ProtoBuf.SinceKotlinInfo> values) {
+ ensureInfoIsMutable();
+ org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
+ values, info_);
+
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder clearInfo() {
+ info_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.kotlin.serialization.SinceKotlinInfo info = 1;
+ */
+ public Builder removeInfo(int index) {
+ ensureInfoIsMutable();
+ info_.remove(index);
+
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable)
+ }
+
+ static {
+ defaultInstance = new SinceKotlinInfoTable(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.serialization.SinceKotlinInfoTable)
+ }
+
static {
}
diff --git a/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/ClassDeserializer.kt b/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/ClassDeserializer.kt
index 91279ad1066..a40ffa6f2d0 100644
--- a/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/ClassDeserializer.kt
+++ b/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/ClassDeserializer.kt
@@ -20,6 +20,7 @@ import org.jetbrains.kotlin.descriptors.ClassDescriptor
import org.jetbrains.kotlin.name.ClassId
import org.jetbrains.kotlin.serialization.ClassDataWithSource
import org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedClassDescriptor
+import org.jetbrains.kotlin.serialization.deserialization.descriptors.SinceKotlinInfoTable
class ClassDeserializer(private val components: DeserializationComponents) {
private val classes: (ClassKey) -> ClassDescriptor? =
@@ -58,7 +59,12 @@ class ClassDeserializer(private val components: DeserializationComponents) {
if (!fragment.hasTopLevelClass(classId.shortClassName)) return null
}
- components.createContext(fragment, nameResolver, TypeTable(classProto.typeTable), containerSource = null)
+ components.createContext(
+ fragment, nameResolver,
+ TypeTable(classProto.typeTable),
+ SinceKotlinInfoTable.create(classProto.sinceKotlinInfoTable),
+ containerSource = null
+ )
}
return DeserializedClassDescriptor(outerContext, classProto, nameResolver, sourceElement)
diff --git a/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/MemberDeserializer.kt b/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/MemberDeserializer.kt
index 36f7fc24e35..acd7534b73a 100644
--- a/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/MemberDeserializer.kt
+++ b/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/MemberDeserializer.kt
@@ -50,6 +50,7 @@ class MemberDeserializer(private val c: DeserializationContext) {
proto,
c.nameResolver,
c.typeTable,
+ c.sinceKotlinInfoTable,
c.containerSource
)
@@ -154,7 +155,8 @@ class MemberDeserializer(private val c: DeserializationContext) {
else Annotations.EMPTY
val function = DeserializedSimpleFunctionDescriptor(
c.containingDeclaration, /* original = */ null, annotations, c.nameResolver.getName(proto.name),
- Deserialization.memberKind(Flags.MEMBER_KIND.get(flags)), proto, c.nameResolver, c.typeTable, c.containerSource
+ Deserialization.memberKind(Flags.MEMBER_KIND.get(flags)), proto, c.nameResolver, c.typeTable, c.sinceKotlinInfoTable,
+ c.containerSource
)
val local = c.childContext(function, proto.typeParameterList)
function.initialize(
@@ -181,7 +183,7 @@ class MemberDeserializer(private val c: DeserializationContext) {
val visibility = Deserialization.visibility(Flags.VISIBILITY.get(proto.flags))
val typeAlias = DeserializedTypeAliasDescriptor(
c.containingDeclaration, annotations, c.nameResolver.getName(proto.name),
- visibility, proto, c.nameResolver, c.typeTable, c.containerSource
+ visibility, proto, c.nameResolver, c.typeTable, c.sinceKotlinInfoTable, c.containerSource
)
val local = c.childContext(typeAlias, proto.typeParameterList)
@@ -202,7 +204,8 @@ class MemberDeserializer(private val c: DeserializationContext) {
val classDescriptor = c.containingDeclaration as ClassDescriptor
val descriptor = DeserializedClassConstructorDescriptor(
classDescriptor, null, getAnnotations(proto, proto.flags, AnnotatedCallableKind.FUNCTION),
- isPrimary, CallableMemberDescriptor.Kind.DECLARATION, proto, c.nameResolver, c.typeTable, c.containerSource
+ isPrimary, CallableMemberDescriptor.Kind.DECLARATION, proto, c.nameResolver, c.typeTable, c.sinceKotlinInfoTable,
+ c.containerSource
)
val local = c.childContext(descriptor, listOf())
descriptor.initialize(
diff --git a/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/context.kt b/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/context.kt
index bef39433345..52f2d1f0365 100644
--- a/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/context.kt
+++ b/core/deserialization/src/org/jetbrains/kotlin/serialization/deserialization/context.kt
@@ -24,6 +24,7 @@ import org.jetbrains.kotlin.name.ClassId
import org.jetbrains.kotlin.resolve.constants.ConstantValue
import org.jetbrains.kotlin.serialization.ProtoBuf
import org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedContainerSource
+import org.jetbrains.kotlin.serialization.deserialization.descriptors.SinceKotlinInfoTable
import org.jetbrains.kotlin.storage.StorageManager
class DeserializationComponents(
@@ -50,9 +51,10 @@ class DeserializationComponents(
descriptor: PackageFragmentDescriptor,
nameResolver: NameResolver,
typeTable: TypeTable,
+ sinceKotlinInfoTable: SinceKotlinInfoTable,
containerSource: DeserializedContainerSource?
): DeserializationContext =
- DeserializationContext(this, nameResolver, descriptor, typeTable, containerSource,
+ DeserializationContext(this, nameResolver, descriptor, typeTable, sinceKotlinInfoTable, containerSource,
parentTypeDeserializer = null, typeParameters = listOf())
}
@@ -62,6 +64,7 @@ class DeserializationContext(
val nameResolver: NameResolver,
val containingDeclaration: DeclarationDescriptor,
val typeTable: TypeTable,
+ val sinceKotlinInfoTable: SinceKotlinInfoTable,
val containerSource: DeserializedContainerSource?,
parentTypeDeserializer: TypeDeserializer?,
typeParameters: List