JVM_IR: save auxTables as byte strings
This commit is contained in:
committed by
TeamCityServer
parent
7dbdb311e1
commit
ab3d6490ed
@@ -55,10 +55,10 @@ message XStatementOrExpression {
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
message AuxTables {
|
message AuxTables {
|
||||||
repeated common.serialization.proto.IrType type = 1;
|
repeated bytes type = 1;
|
||||||
repeated common.serialization.proto.IdSignature signature = 2;
|
repeated bytes signature = 2;
|
||||||
repeated string string = 3;
|
repeated bytes string = 3;
|
||||||
repeated XStatementOrExpression body = 4;
|
repeated bytes body = 4;
|
||||||
|
|
||||||
// required TypeTable type_table = 2;
|
// required TypeTable type_table = 2;
|
||||||
// required SignatureTable signature_table = 1;
|
// required SignatureTable signature_table = 1;
|
||||||
|
|||||||
+5
-11
@@ -13,6 +13,7 @@ import org.jetbrains.kotlin.ir.declarations.IrClass
|
|||||||
import org.jetbrains.kotlin.ir.declarations.IrFile
|
import org.jetbrains.kotlin.ir.declarations.IrFile
|
||||||
import org.jetbrains.kotlin.ir.symbols.IrSymbol
|
import org.jetbrains.kotlin.ir.symbols.IrSymbol
|
||||||
import org.jetbrains.kotlin.ir.util.IrMessageLogger
|
import org.jetbrains.kotlin.ir.util.IrMessageLogger
|
||||||
|
import org.jetbrains.kotlin.name.FqName
|
||||||
import org.jetbrains.kotlin.protobuf.ByteString
|
import org.jetbrains.kotlin.protobuf.ByteString
|
||||||
|
|
||||||
class JvmIrSerializer(
|
class JvmIrSerializer(
|
||||||
@@ -47,17 +48,10 @@ class JvmIrSerializer(
|
|||||||
|
|
||||||
private fun serializeAuxTables(): JvmIr.AuxTables {
|
private fun serializeAuxTables(): JvmIr.AuxTables {
|
||||||
val proto = JvmIr.AuxTables.newBuilder()
|
val proto = JvmIr.AuxTables.newBuilder()
|
||||||
proto.addAllType(protoTypeArray)
|
protoTypeArray.forEach { proto.addType(it.toByteString()) }
|
||||||
proto.addAllSignature(protoIdSignatureArray)
|
protoIdSignatureArray.forEach { proto.addSignature(it.toByteString()) }
|
||||||
proto.addAllString(protoStringArray)
|
protoStringArray.forEach { proto.addString(ByteString.copyFromUtf8(it)) }
|
||||||
for (body in protoBodyArray) {
|
protoBodyArray.forEach { proto.addBody(ByteString.copyFrom(it.toByteArray())) }
|
||||||
val bodyProto = JvmIr.XStatementOrExpression.newBuilder()
|
|
||||||
when (body) {
|
|
||||||
is XStatementOrExpression.XStatement -> bodyProto.statement = body.toProtoStatement()
|
|
||||||
is XStatementOrExpression.XExpression -> bodyProto.expression = body.toProtoExpression()
|
|
||||||
}
|
|
||||||
proto.addBody(bodyProto.build())
|
|
||||||
}
|
|
||||||
return proto.build()
|
return proto.build()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+152
-425
@@ -598,65 +598,56 @@ public final class JvmIr {
|
|||||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
*/
|
||||||
java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrType>
|
java.util.List<org.jetbrains.kotlin.protobuf.ByteString> getTypeList();
|
||||||
getTypeList();
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrType getType(int index);
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
|
||||||
*/
|
*/
|
||||||
int getTypeCount();
|
int getTypeCount();
|
||||||
|
/**
|
||||||
|
* <code>repeated bytes type = 1;</code>
|
||||||
|
*/
|
||||||
|
org.jetbrains.kotlin.protobuf.ByteString getType(int index);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
*/
|
||||||
java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature>
|
java.util.List<org.jetbrains.kotlin.protobuf.ByteString> getSignatureList();
|
||||||
getSignatureList();
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature getSignature(int index);
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
|
||||||
*/
|
*/
|
||||||
int getSignatureCount();
|
int getSignatureCount();
|
||||||
|
/**
|
||||||
|
* <code>repeated bytes signature = 2;</code>
|
||||||
|
*/
|
||||||
|
org.jetbrains.kotlin.protobuf.ByteString getSignature(int index);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
org.jetbrains.kotlin.protobuf.ProtocolStringList
|
java.util.List<org.jetbrains.kotlin.protobuf.ByteString> getStringList();
|
||||||
getStringList();
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
int getStringCount();
|
int getStringCount();
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
java.lang.String getString(int index);
|
org.jetbrains.kotlin.protobuf.ByteString getString(int index);
|
||||||
/**
|
|
||||||
* <code>repeated string string = 3;</code>
|
|
||||||
*/
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString
|
|
||||||
getStringBytes(int index);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
*/
|
||||||
java.util.List<org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression>
|
java.util.List<org.jetbrains.kotlin.protobuf.ByteString> getBodyList();
|
||||||
getBodyList();
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
|
||||||
org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression getBody(int index);
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
|
||||||
*/
|
*/
|
||||||
int getBodyCount();
|
int getBodyCount();
|
||||||
|
/**
|
||||||
|
* <code>repeated bytes body = 4;</code>
|
||||||
|
*/
|
||||||
|
org.jetbrains.kotlin.protobuf.ByteString getBody(int index);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Protobuf type {@code org.jetbrains.kotlin.backend.jvm.serialization.proto.AuxTables}
|
* Protobuf type {@code org.jetbrains.kotlin.backend.jvm.serialization.proto.AuxTables}
|
||||||
@@ -710,35 +701,34 @@ public final class JvmIr {
|
|||||||
}
|
}
|
||||||
case 10: {
|
case 10: {
|
||||||
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||||
type_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrType>();
|
type_ = new java.util.ArrayList<org.jetbrains.kotlin.protobuf.ByteString>();
|
||||||
mutable_bitField0_ |= 0x00000001;
|
mutable_bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
type_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrType.PARSER, extensionRegistry));
|
type_.add(input.readBytes());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 18: {
|
case 18: {
|
||||||
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
|
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
|
||||||
signature_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature>();
|
signature_ = new java.util.ArrayList<org.jetbrains.kotlin.protobuf.ByteString>();
|
||||||
mutable_bitField0_ |= 0x00000002;
|
mutable_bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
signature_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature.PARSER, extensionRegistry));
|
signature_.add(input.readBytes());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 26: {
|
case 26: {
|
||||||
org.jetbrains.kotlin.protobuf.ByteString bs = input.readBytes();
|
|
||||||
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
|
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
|
||||||
string_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList();
|
string_ = new java.util.ArrayList<org.jetbrains.kotlin.protobuf.ByteString>();
|
||||||
mutable_bitField0_ |= 0x00000004;
|
mutable_bitField0_ |= 0x00000004;
|
||||||
}
|
}
|
||||||
string_.add(bs);
|
string_.add(input.readBytes());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 34: {
|
case 34: {
|
||||||
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
|
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
|
||||||
body_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression>();
|
body_ = new java.util.ArrayList<org.jetbrains.kotlin.protobuf.ByteString>();
|
||||||
mutable_bitField0_ |= 0x00000008;
|
mutable_bitField0_ |= 0x00000008;
|
||||||
}
|
}
|
||||||
body_.add(input.readMessage(org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression.PARSER, extensionRegistry));
|
body_.add(input.readBytes());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -756,7 +746,7 @@ public final class JvmIr {
|
|||||||
signature_ = java.util.Collections.unmodifiableList(signature_);
|
signature_ = java.util.Collections.unmodifiableList(signature_);
|
||||||
}
|
}
|
||||||
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
|
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
|
||||||
string_ = string_.getUnmodifiableView();
|
string_ = java.util.Collections.unmodifiableList(string_);
|
||||||
}
|
}
|
||||||
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
|
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
|
||||||
body_ = java.util.Collections.unmodifiableList(body_);
|
body_ = java.util.Collections.unmodifiableList(body_);
|
||||||
@@ -787,143 +777,97 @@ public final class JvmIr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static final int TYPE_FIELD_NUMBER = 1;
|
public static final int TYPE_FIELD_NUMBER = 1;
|
||||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrType> type_;
|
private java.util.List<org.jetbrains.kotlin.protobuf.ByteString> type_;
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
*/
|
||||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrType> getTypeList() {
|
public java.util.List<org.jetbrains.kotlin.protobuf.ByteString>
|
||||||
|
getTypeList() {
|
||||||
return type_;
|
return type_;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
|
||||||
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeOrBuilder>
|
|
||||||
getTypeOrBuilderList() {
|
|
||||||
return type_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
|
||||||
*/
|
*/
|
||||||
public int getTypeCount() {
|
public int getTypeCount() {
|
||||||
return type_.size();
|
return type_.size();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
*/
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrType getType(int index) {
|
public org.jetbrains.kotlin.protobuf.ByteString getType(int index) {
|
||||||
return type_.get(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
|
||||||
*/
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeOrBuilder getTypeOrBuilder(
|
|
||||||
int index) {
|
|
||||||
return type_.get(index);
|
return type_.get(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final int SIGNATURE_FIELD_NUMBER = 2;
|
public static final int SIGNATURE_FIELD_NUMBER = 2;
|
||||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature> signature_;
|
private java.util.List<org.jetbrains.kotlin.protobuf.ByteString> signature_;
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
*/
|
||||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature> getSignatureList() {
|
public java.util.List<org.jetbrains.kotlin.protobuf.ByteString>
|
||||||
|
getSignatureList() {
|
||||||
return signature_;
|
return signature_;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
|
||||||
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IdSignatureOrBuilder>
|
|
||||||
getSignatureOrBuilderList() {
|
|
||||||
return signature_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
|
||||||
*/
|
*/
|
||||||
public int getSignatureCount() {
|
public int getSignatureCount() {
|
||||||
return signature_.size();
|
return signature_.size();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
*/
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature getSignature(int index) {
|
public org.jetbrains.kotlin.protobuf.ByteString getSignature(int index) {
|
||||||
return signature_.get(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
|
||||||
*/
|
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IdSignatureOrBuilder getSignatureOrBuilder(
|
|
||||||
int index) {
|
|
||||||
return signature_.get(index);
|
return signature_.get(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final int STRING_FIELD_NUMBER = 3;
|
public static final int STRING_FIELD_NUMBER = 3;
|
||||||
private org.jetbrains.kotlin.protobuf.LazyStringList string_;
|
private java.util.List<org.jetbrains.kotlin.protobuf.ByteString> string_;
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
public org.jetbrains.kotlin.protobuf.ProtocolStringList
|
public java.util.List<org.jetbrains.kotlin.protobuf.ByteString>
|
||||||
getStringList() {
|
getStringList() {
|
||||||
return string_;
|
return string_;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
public int getStringCount() {
|
public int getStringCount() {
|
||||||
return string_.size();
|
return string_.size();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
public java.lang.String getString(int index) {
|
public org.jetbrains.kotlin.protobuf.ByteString getString(int index) {
|
||||||
return string_.get(index);
|
return string_.get(index);
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* <code>repeated string string = 3;</code>
|
|
||||||
*/
|
|
||||||
public org.jetbrains.kotlin.protobuf.ByteString
|
|
||||||
getStringBytes(int index) {
|
|
||||||
return string_.getByteString(index);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static final int BODY_FIELD_NUMBER = 4;
|
public static final int BODY_FIELD_NUMBER = 4;
|
||||||
private java.util.List<org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression> body_;
|
private java.util.List<org.jetbrains.kotlin.protobuf.ByteString> body_;
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
*/
|
||||||
public java.util.List<org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression> getBodyList() {
|
public java.util.List<org.jetbrains.kotlin.protobuf.ByteString>
|
||||||
|
getBodyList() {
|
||||||
return body_;
|
return body_;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
|
||||||
public java.util.List<? extends org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpressionOrBuilder>
|
|
||||||
getBodyOrBuilderList() {
|
|
||||||
return body_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
|
||||||
*/
|
*/
|
||||||
public int getBodyCount() {
|
public int getBodyCount() {
|
||||||
return body_.size();
|
return body_.size();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
*/
|
||||||
public org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression getBody(int index) {
|
public org.jetbrains.kotlin.protobuf.ByteString getBody(int index) {
|
||||||
return body_.get(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
|
||||||
*/
|
|
||||||
public org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpressionOrBuilder getBodyOrBuilder(
|
|
||||||
int index) {
|
|
||||||
return body_.get(index);
|
return body_.get(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initFields() {
|
private void initFields() {
|
||||||
type_ = java.util.Collections.emptyList();
|
type_ = java.util.Collections.emptyList();
|
||||||
signature_ = java.util.Collections.emptyList();
|
signature_ = java.util.Collections.emptyList();
|
||||||
string_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
|
string_ = java.util.Collections.emptyList();
|
||||||
body_ = java.util.Collections.emptyList();
|
body_ = java.util.Collections.emptyList();
|
||||||
}
|
}
|
||||||
private byte memoizedIsInitialized = -1;
|
private byte memoizedIsInitialized = -1;
|
||||||
@@ -932,24 +876,6 @@ public final class JvmIr {
|
|||||||
if (isInitialized == 1) return true;
|
if (isInitialized == 1) return true;
|
||||||
if (isInitialized == 0) return false;
|
if (isInitialized == 0) return false;
|
||||||
|
|
||||||
for (int i = 0; i < getTypeCount(); i++) {
|
|
||||||
if (!getType(i).isInitialized()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (int i = 0; i < getSignatureCount(); i++) {
|
|
||||||
if (!getSignature(i).isInitialized()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (int i = 0; i < getBodyCount(); i++) {
|
|
||||||
if (!getBody(i).isInitialized()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
memoizedIsInitialized = 1;
|
memoizedIsInitialized = 1;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -958,16 +884,16 @@ public final class JvmIr {
|
|||||||
throws java.io.IOException {
|
throws java.io.IOException {
|
||||||
getSerializedSize();
|
getSerializedSize();
|
||||||
for (int i = 0; i < type_.size(); i++) {
|
for (int i = 0; i < type_.size(); i++) {
|
||||||
output.writeMessage(1, type_.get(i));
|
output.writeBytes(1, type_.get(i));
|
||||||
}
|
}
|
||||||
for (int i = 0; i < signature_.size(); i++) {
|
for (int i = 0; i < signature_.size(); i++) {
|
||||||
output.writeMessage(2, signature_.get(i));
|
output.writeBytes(2, signature_.get(i));
|
||||||
}
|
}
|
||||||
for (int i = 0; i < string_.size(); i++) {
|
for (int i = 0; i < string_.size(); i++) {
|
||||||
output.writeBytes(3, string_.getByteString(i));
|
output.writeBytes(3, string_.get(i));
|
||||||
}
|
}
|
||||||
for (int i = 0; i < body_.size(); i++) {
|
for (int i = 0; i < body_.size(); i++) {
|
||||||
output.writeMessage(4, body_.get(i));
|
output.writeBytes(4, body_.get(i));
|
||||||
}
|
}
|
||||||
output.writeRawBytes(unknownFields);
|
output.writeRawBytes(unknownFields);
|
||||||
}
|
}
|
||||||
@@ -978,26 +904,41 @@ public final class JvmIr {
|
|||||||
if (size != -1) return size;
|
if (size != -1) return size;
|
||||||
|
|
||||||
size = 0;
|
size = 0;
|
||||||
|
{
|
||||||
|
int dataSize = 0;
|
||||||
for (int i = 0; i < type_.size(); i++) {
|
for (int i = 0; i < type_.size(); i++) {
|
||||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||||
.computeMessageSize(1, type_.get(i));
|
.computeBytesSizeNoTag(type_.get(i));
|
||||||
}
|
}
|
||||||
|
size += dataSize;
|
||||||
|
size += 1 * getTypeList().size();
|
||||||
|
}
|
||||||
|
{
|
||||||
|
int dataSize = 0;
|
||||||
for (int i = 0; i < signature_.size(); i++) {
|
for (int i = 0; i < signature_.size(); i++) {
|
||||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||||
.computeMessageSize(2, signature_.get(i));
|
.computeBytesSizeNoTag(signature_.get(i));
|
||||||
|
}
|
||||||
|
size += dataSize;
|
||||||
|
size += 1 * getSignatureList().size();
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
int dataSize = 0;
|
int dataSize = 0;
|
||||||
for (int i = 0; i < string_.size(); i++) {
|
for (int i = 0; i < string_.size(); i++) {
|
||||||
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||||
.computeBytesSizeNoTag(string_.getByteString(i));
|
.computeBytesSizeNoTag(string_.get(i));
|
||||||
}
|
}
|
||||||
size += dataSize;
|
size += dataSize;
|
||||||
size += 1 * getStringList().size();
|
size += 1 * getStringList().size();
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
int dataSize = 0;
|
||||||
for (int i = 0; i < body_.size(); i++) {
|
for (int i = 0; i < body_.size(); i++) {
|
||||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||||
.computeMessageSize(4, body_.get(i));
|
.computeBytesSizeNoTag(body_.get(i));
|
||||||
|
}
|
||||||
|
size += dataSize;
|
||||||
|
size += 1 * getBodyList().size();
|
||||||
}
|
}
|
||||||
size += unknownFields.size();
|
size += unknownFields.size();
|
||||||
memoizedSerializedSize = size;
|
memoizedSerializedSize = size;
|
||||||
@@ -1097,7 +1038,7 @@ public final class JvmIr {
|
|||||||
bitField0_ = (bitField0_ & ~0x00000001);
|
bitField0_ = (bitField0_ & ~0x00000001);
|
||||||
signature_ = java.util.Collections.emptyList();
|
signature_ = java.util.Collections.emptyList();
|
||||||
bitField0_ = (bitField0_ & ~0x00000002);
|
bitField0_ = (bitField0_ & ~0x00000002);
|
||||||
string_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
|
string_ = java.util.Collections.emptyList();
|
||||||
bitField0_ = (bitField0_ & ~0x00000004);
|
bitField0_ = (bitField0_ & ~0x00000004);
|
||||||
body_ = java.util.Collections.emptyList();
|
body_ = java.util.Collections.emptyList();
|
||||||
bitField0_ = (bitField0_ & ~0x00000008);
|
bitField0_ = (bitField0_ & ~0x00000008);
|
||||||
@@ -1134,7 +1075,7 @@ public final class JvmIr {
|
|||||||
}
|
}
|
||||||
result.signature_ = signature_;
|
result.signature_ = signature_;
|
||||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||||
string_ = string_.getUnmodifiableView();
|
string_ = java.util.Collections.unmodifiableList(string_);
|
||||||
bitField0_ = (bitField0_ & ~0x00000004);
|
bitField0_ = (bitField0_ & ~0x00000004);
|
||||||
}
|
}
|
||||||
result.string_ = string_;
|
result.string_ = string_;
|
||||||
@@ -1194,24 +1135,6 @@ public final class JvmIr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
for (int i = 0; i < getTypeCount(); i++) {
|
|
||||||
if (!getType(i).isInitialized()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (int i = 0; i < getSignatureCount(); i++) {
|
|
||||||
if (!getSignature(i).isInitialized()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (int i = 0; i < getBodyCount(); i++) {
|
|
||||||
if (!getBody(i).isInitialized()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1234,38 +1157,37 @@ public final class JvmIr {
|
|||||||
}
|
}
|
||||||
private int bitField0_;
|
private int bitField0_;
|
||||||
|
|
||||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrType> type_ =
|
private java.util.List<org.jetbrains.kotlin.protobuf.ByteString> type_ = java.util.Collections.emptyList();
|
||||||
java.util.Collections.emptyList();
|
|
||||||
private void ensureTypeIsMutable() {
|
private void ensureTypeIsMutable() {
|
||||||
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||||
type_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrType>(type_);
|
type_ = new java.util.ArrayList<org.jetbrains.kotlin.protobuf.ByteString>(type_);
|
||||||
bitField0_ |= 0x00000001;
|
bitField0_ |= 0x00000001;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
*/
|
||||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrType> getTypeList() {
|
public java.util.List<org.jetbrains.kotlin.protobuf.ByteString>
|
||||||
|
getTypeList() {
|
||||||
return java.util.Collections.unmodifiableList(type_);
|
return java.util.Collections.unmodifiableList(type_);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
*/
|
||||||
public int getTypeCount() {
|
public int getTypeCount() {
|
||||||
return type_.size();
|
return type_.size();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
*/
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrType getType(int index) {
|
public org.jetbrains.kotlin.protobuf.ByteString getType(int index) {
|
||||||
return type_.get(index);
|
return type_.get(index);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
*/
|
||||||
public Builder setType(
|
public Builder setType(
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrType value) {
|
int index, org.jetbrains.kotlin.protobuf.ByteString value) {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
}
|
}
|
||||||
@@ -1275,19 +1197,9 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
*/
|
||||||
public Builder setType(
|
public Builder addType(org.jetbrains.kotlin.protobuf.ByteString value) {
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrType.Builder builderForValue) {
|
|
||||||
ensureTypeIsMutable();
|
|
||||||
type_.set(index, builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder addType(org.jetbrains.kotlin.backend.common.serialization.proto.IrType value) {
|
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
}
|
}
|
||||||
@@ -1297,43 +1209,10 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
|
||||||
public Builder addType(
|
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrType value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureTypeIsMutable();
|
|
||||||
type_.add(index, value);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder addType(
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrType.Builder builderForValue) {
|
|
||||||
ensureTypeIsMutable();
|
|
||||||
type_.add(builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder addType(
|
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrType.Builder builderForValue) {
|
|
||||||
ensureTypeIsMutable();
|
|
||||||
type_.add(index, builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
|
||||||
*/
|
*/
|
||||||
public Builder addAllType(
|
public Builder addAllType(
|
||||||
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrType> values) {
|
java.lang.Iterable<? extends org.jetbrains.kotlin.protobuf.ByteString> values) {
|
||||||
ensureTypeIsMutable();
|
ensureTypeIsMutable();
|
||||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
||||||
values, type_);
|
values, type_);
|
||||||
@@ -1341,7 +1220,7 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
* <code>repeated bytes type = 1;</code>
|
||||||
*/
|
*/
|
||||||
public Builder clearType() {
|
public Builder clearType() {
|
||||||
type_ = java.util.Collections.emptyList();
|
type_ = java.util.Collections.emptyList();
|
||||||
@@ -1349,48 +1228,38 @@ public final class JvmIr {
|
|||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrType type = 1;</code>
|
|
||||||
*/
|
|
||||||
public Builder removeType(int index) {
|
|
||||||
ensureTypeIsMutable();
|
|
||||||
type_.remove(index);
|
|
||||||
|
|
||||||
return this;
|
private java.util.List<org.jetbrains.kotlin.protobuf.ByteString> signature_ = java.util.Collections.emptyList();
|
||||||
}
|
|
||||||
|
|
||||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature> signature_ =
|
|
||||||
java.util.Collections.emptyList();
|
|
||||||
private void ensureSignatureIsMutable() {
|
private void ensureSignatureIsMutable() {
|
||||||
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
|
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||||
signature_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature>(signature_);
|
signature_ = new java.util.ArrayList<org.jetbrains.kotlin.protobuf.ByteString>(signature_);
|
||||||
bitField0_ |= 0x00000002;
|
bitField0_ |= 0x00000002;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
*/
|
||||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature> getSignatureList() {
|
public java.util.List<org.jetbrains.kotlin.protobuf.ByteString>
|
||||||
|
getSignatureList() {
|
||||||
return java.util.Collections.unmodifiableList(signature_);
|
return java.util.Collections.unmodifiableList(signature_);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
*/
|
||||||
public int getSignatureCount() {
|
public int getSignatureCount() {
|
||||||
return signature_.size();
|
return signature_.size();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
*/
|
||||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature getSignature(int index) {
|
public org.jetbrains.kotlin.protobuf.ByteString getSignature(int index) {
|
||||||
return signature_.get(index);
|
return signature_.get(index);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
*/
|
||||||
public Builder setSignature(
|
public Builder setSignature(
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature value) {
|
int index, org.jetbrains.kotlin.protobuf.ByteString value) {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
}
|
}
|
||||||
@@ -1400,19 +1269,9 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
*/
|
||||||
public Builder setSignature(
|
public Builder addSignature(org.jetbrains.kotlin.protobuf.ByteString value) {
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature.Builder builderForValue) {
|
|
||||||
ensureSignatureIsMutable();
|
|
||||||
signature_.set(index, builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder addSignature(org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature value) {
|
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
}
|
}
|
||||||
@@ -1422,43 +1281,10 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
|
||||||
public Builder addSignature(
|
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureSignatureIsMutable();
|
|
||||||
signature_.add(index, value);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder addSignature(
|
|
||||||
org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature.Builder builderForValue) {
|
|
||||||
ensureSignatureIsMutable();
|
|
||||||
signature_.add(builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder addSignature(
|
|
||||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature.Builder builderForValue) {
|
|
||||||
ensureSignatureIsMutable();
|
|
||||||
signature_.add(index, builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
|
||||||
*/
|
*/
|
||||||
public Builder addAllSignature(
|
public Builder addAllSignature(
|
||||||
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature> values) {
|
java.lang.Iterable<? extends org.jetbrains.kotlin.protobuf.ByteString> values) {
|
||||||
ensureSignatureIsMutable();
|
ensureSignatureIsMutable();
|
||||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
||||||
values, signature_);
|
values, signature_);
|
||||||
@@ -1466,7 +1292,7 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
* <code>repeated bytes signature = 2;</code>
|
||||||
*/
|
*/
|
||||||
public Builder clearSignature() {
|
public Builder clearSignature() {
|
||||||
signature_ = java.util.Collections.emptyList();
|
signature_ = java.util.Collections.emptyList();
|
||||||
@@ -1474,54 +1300,38 @@ public final class JvmIr {
|
|||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IdSignature signature = 2;</code>
|
|
||||||
*/
|
|
||||||
public Builder removeSignature(int index) {
|
|
||||||
ensureSignatureIsMutable();
|
|
||||||
signature_.remove(index);
|
|
||||||
|
|
||||||
return this;
|
private java.util.List<org.jetbrains.kotlin.protobuf.ByteString> string_ = java.util.Collections.emptyList();
|
||||||
}
|
|
||||||
|
|
||||||
private org.jetbrains.kotlin.protobuf.LazyStringList string_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
|
|
||||||
private void ensureStringIsMutable() {
|
private void ensureStringIsMutable() {
|
||||||
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
|
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||||
string_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList(string_);
|
string_ = new java.util.ArrayList<org.jetbrains.kotlin.protobuf.ByteString>(string_);
|
||||||
bitField0_ |= 0x00000004;
|
bitField0_ |= 0x00000004;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
public org.jetbrains.kotlin.protobuf.ProtocolStringList
|
public java.util.List<org.jetbrains.kotlin.protobuf.ByteString>
|
||||||
getStringList() {
|
getStringList() {
|
||||||
return string_.getUnmodifiableView();
|
return java.util.Collections.unmodifiableList(string_);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
public int getStringCount() {
|
public int getStringCount() {
|
||||||
return string_.size();
|
return string_.size();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
public java.lang.String getString(int index) {
|
public org.jetbrains.kotlin.protobuf.ByteString getString(int index) {
|
||||||
return string_.get(index);
|
return string_.get(index);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
|
||||||
public org.jetbrains.kotlin.protobuf.ByteString
|
|
||||||
getStringBytes(int index) {
|
|
||||||
return string_.getByteString(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string string = 3;</code>
|
|
||||||
*/
|
*/
|
||||||
public Builder setString(
|
public Builder setString(
|
||||||
int index, java.lang.String value) {
|
int index, org.jetbrains.kotlin.protobuf.ByteString value) {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
}
|
}
|
||||||
@@ -1531,10 +1341,9 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
public Builder addString(
|
public Builder addString(org.jetbrains.kotlin.protobuf.ByteString value) {
|
||||||
java.lang.String value) {
|
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
}
|
}
|
||||||
@@ -1544,10 +1353,10 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
public Builder addAllString(
|
public Builder addAllString(
|
||||||
java.lang.Iterable<java.lang.String> values) {
|
java.lang.Iterable<? extends org.jetbrains.kotlin.protobuf.ByteString> values) {
|
||||||
ensureStringIsMutable();
|
ensureStringIsMutable();
|
||||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
||||||
values, string_);
|
values, string_);
|
||||||
@@ -1555,60 +1364,46 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated string string = 3;</code>
|
* <code>repeated bytes string = 3;</code>
|
||||||
*/
|
*/
|
||||||
public Builder clearString() {
|
public Builder clearString() {
|
||||||
string_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
|
string_ = java.util.Collections.emptyList();
|
||||||
bitField0_ = (bitField0_ & ~0x00000004);
|
bitField0_ = (bitField0_ & ~0x00000004);
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* <code>repeated string string = 3;</code>
|
|
||||||
*/
|
|
||||||
public Builder addStringBytes(
|
|
||||||
org.jetbrains.kotlin.protobuf.ByteString value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureStringIsMutable();
|
|
||||||
string_.add(value);
|
|
||||||
|
|
||||||
return this;
|
private java.util.List<org.jetbrains.kotlin.protobuf.ByteString> body_ = java.util.Collections.emptyList();
|
||||||
}
|
|
||||||
|
|
||||||
private java.util.List<org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression> body_ =
|
|
||||||
java.util.Collections.emptyList();
|
|
||||||
private void ensureBodyIsMutable() {
|
private void ensureBodyIsMutable() {
|
||||||
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
|
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||||
body_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression>(body_);
|
body_ = new java.util.ArrayList<org.jetbrains.kotlin.protobuf.ByteString>(body_);
|
||||||
bitField0_ |= 0x00000008;
|
bitField0_ |= 0x00000008;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
*/
|
||||||
public java.util.List<org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression> getBodyList() {
|
public java.util.List<org.jetbrains.kotlin.protobuf.ByteString>
|
||||||
|
getBodyList() {
|
||||||
return java.util.Collections.unmodifiableList(body_);
|
return java.util.Collections.unmodifiableList(body_);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
*/
|
||||||
public int getBodyCount() {
|
public int getBodyCount() {
|
||||||
return body_.size();
|
return body_.size();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
*/
|
||||||
public org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression getBody(int index) {
|
public org.jetbrains.kotlin.protobuf.ByteString getBody(int index) {
|
||||||
return body_.get(index);
|
return body_.get(index);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
*/
|
||||||
public Builder setBody(
|
public Builder setBody(
|
||||||
int index, org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression value) {
|
int index, org.jetbrains.kotlin.protobuf.ByteString value) {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
}
|
}
|
||||||
@@ -1618,19 +1413,9 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
*/
|
||||||
public Builder setBody(
|
public Builder addBody(org.jetbrains.kotlin.protobuf.ByteString value) {
|
||||||
int index, org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression.Builder builderForValue) {
|
|
||||||
ensureBodyIsMutable();
|
|
||||||
body_.set(index, builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
|
||||||
*/
|
|
||||||
public Builder addBody(org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression value) {
|
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
}
|
}
|
||||||
@@ -1640,43 +1425,10 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
|
||||||
public Builder addBody(
|
|
||||||
int index, org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureBodyIsMutable();
|
|
||||||
body_.add(index, value);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
|
||||||
*/
|
|
||||||
public Builder addBody(
|
|
||||||
org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression.Builder builderForValue) {
|
|
||||||
ensureBodyIsMutable();
|
|
||||||
body_.add(builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
|
||||||
*/
|
|
||||||
public Builder addBody(
|
|
||||||
int index, org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression.Builder builderForValue) {
|
|
||||||
ensureBodyIsMutable();
|
|
||||||
body_.add(index, builderForValue.build());
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
|
||||||
*/
|
*/
|
||||||
public Builder addAllBody(
|
public Builder addAllBody(
|
||||||
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.jvm.serialization.proto.JvmIr.XStatementOrExpression> values) {
|
java.lang.Iterable<? extends org.jetbrains.kotlin.protobuf.ByteString> values) {
|
||||||
ensureBodyIsMutable();
|
ensureBodyIsMutable();
|
||||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
||||||
values, body_);
|
values, body_);
|
||||||
@@ -1684,7 +1436,7 @@ public final class JvmIr {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
* <code>repeated bytes body = 4;</code>
|
||||||
*/
|
*/
|
||||||
public Builder clearBody() {
|
public Builder clearBody() {
|
||||||
body_ = java.util.Collections.emptyList();
|
body_ = java.util.Collections.emptyList();
|
||||||
@@ -1692,15 +1444,6 @@ public final class JvmIr {
|
|||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* <code>repeated .org.jetbrains.kotlin.backend.jvm.serialization.proto.XStatementOrExpression body = 4;</code>
|
|
||||||
*/
|
|
||||||
public Builder removeBody(int index) {
|
|
||||||
ensureBodyIsMutable();
|
|
||||||
body_.remove(index);
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.backend.jvm.serialization.proto.AuxTables)
|
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.backend.jvm.serialization.proto.AuxTables)
|
||||||
}
|
}
|
||||||
@@ -2045,10 +1788,6 @@ public final class JvmIr {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!getAuxTables().isInitialized()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
memoizedIsInitialized = 1;
|
memoizedIsInitialized = 1;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -2303,10 +2042,6 @@ public final class JvmIr {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!getAuxTables().isInitialized()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2900,10 +2635,6 @@ public final class JvmIr {
|
|||||||
memoizedIsInitialized = 0;
|
memoizedIsInitialized = 0;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!getAuxTables().isInitialized()) {
|
|
||||||
memoizedIsInitialized = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
memoizedIsInitialized = 1;
|
memoizedIsInitialized = 1;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -3093,10 +2824,6 @@ public final class JvmIr {
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!getAuxTables().isInitialized()) {
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user