[IR SERIALIZATION] Get rid of IrDataIndex
This commit is contained in:
@@ -8,7 +8,7 @@ option optimize_for = LITE_RUNTIME;
|
||||
message DescriptorReference {
|
||||
required FqName package_fq_name = 1;
|
||||
required FqName class_fq_name = 2;
|
||||
required IrDataIndex name = 3;
|
||||
required int32 name = 3;
|
||||
optional UniqId uniq_id = 4;
|
||||
optional bool is_getter = 5 [default = false];
|
||||
optional bool is_setter = 6 [default = false];
|
||||
@@ -31,11 +31,11 @@ message Coordinates {
|
||||
}
|
||||
|
||||
message Visibility {
|
||||
required IrDataIndex name = 1;
|
||||
required int32 name = 1;
|
||||
}
|
||||
|
||||
message IrStatementOrigin {
|
||||
required IrDataIndex name = 1;
|
||||
required int32 name = 1;
|
||||
}
|
||||
|
||||
enum KnownOrigin {
|
||||
@@ -72,16 +72,12 @@ enum KnownOrigin {
|
||||
message IrDeclarationOrigin {
|
||||
oneof either {
|
||||
KnownOrigin origin = 1;
|
||||
IrDataIndex custom = 2;
|
||||
int32 custom = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message IrDataIndex {
|
||||
required int32 index = 1;
|
||||
}
|
||||
|
||||
message FqName {
|
||||
repeated IrDataIndex segment = 1;
|
||||
repeated int32 segment = 1;
|
||||
}
|
||||
|
||||
/* ------ Top Level---------------------------------------------- */
|
||||
@@ -100,18 +96,7 @@ message IrFile {
|
||||
required FileEntry file_entry = 2;
|
||||
required FqName fq_name = 3;
|
||||
required Annotations annotations = 4;
|
||||
repeated IrDataIndex explicitly_exported_to_compiler = 5;
|
||||
}
|
||||
|
||||
//message IrModule {
|
||||
// required string name = 1;
|
||||
// repeated IrFile file = 2;
|
||||
//}
|
||||
|
||||
/* ------ String Table ------------------------------------------ */
|
||||
|
||||
message StringTable {
|
||||
repeated string strings = 1;
|
||||
repeated int32 explicitly_exported_to_compiler = 5;
|
||||
}
|
||||
|
||||
/* ------ IrSymbols --------------------------------------------- */
|
||||
@@ -159,7 +144,7 @@ message Annotations {
|
||||
}
|
||||
|
||||
message TypeArguments {
|
||||
repeated IrDataIndex type_argument = 1;
|
||||
repeated int32 type_argument = 1;
|
||||
}
|
||||
|
||||
message IrStarProjection {
|
||||
@@ -168,7 +153,7 @@ message IrStarProjection {
|
||||
|
||||
message IrTypeProjection {
|
||||
required IrTypeVariance variance = 1;
|
||||
required IrDataIndex type = 2;
|
||||
required int32 type = 2;
|
||||
}
|
||||
|
||||
message IrTypeArgument {
|
||||
@@ -180,7 +165,7 @@ message IrTypeArgument {
|
||||
|
||||
message IrSimpleType {
|
||||
required Annotations annotations = 1;
|
||||
required IrDataIndex classifier = 2;
|
||||
required int32 classifier = 2;
|
||||
required bool has_question_mark = 3;
|
||||
repeated IrTypeArgument argument = 4;
|
||||
optional IrTypeAbbreviation abbreviation = 5;
|
||||
@@ -188,7 +173,7 @@ message IrSimpleType {
|
||||
|
||||
message IrTypeAbbreviation {
|
||||
required Annotations annotations = 1;
|
||||
required IrDataIndex type_alias = 2;
|
||||
required int32 type_alias = 2;
|
||||
required bool has_question_mark = 3;
|
||||
repeated IrTypeArgument argument = 4;
|
||||
}
|
||||
@@ -218,7 +203,7 @@ message IrTypeTable {
|
||||
|
||||
message IrBreak {
|
||||
required int32 loop_id = 1;
|
||||
optional IrDataIndex label = 2;
|
||||
optional int32 label = 2;
|
||||
}
|
||||
|
||||
message IrBlock {
|
||||
@@ -234,39 +219,39 @@ message MemberAccessCommon {
|
||||
}
|
||||
|
||||
message IrCall {
|
||||
required IrDataIndex symbol = 1;
|
||||
required int32 symbol = 1;
|
||||
required MemberAccessCommon member_access = 2;
|
||||
optional IrDataIndex super = 3;
|
||||
optional int32 super = 3;
|
||||
optional IrStatementOrigin origin = 4;
|
||||
}
|
||||
|
||||
message IrConstructorCall {
|
||||
required IrDataIndex symbol = 1;
|
||||
required int32 symbol = 1;
|
||||
required int32 constructor_type_arguments_count = 2;
|
||||
required MemberAccessCommon member_access = 3;
|
||||
}
|
||||
|
||||
message IrFunctionReference {
|
||||
required IrDataIndex symbol = 1;
|
||||
required int32 symbol = 1;
|
||||
optional IrStatementOrigin origin = 2;
|
||||
required MemberAccessCommon member_access = 3;
|
||||
}
|
||||
|
||||
message IrLocalDelegatedPropertyReference {
|
||||
required IrDataIndex delegate = 1;
|
||||
optional IrDataIndex getter = 2;
|
||||
optional IrDataIndex setter = 3;
|
||||
required IrDataIndex symbol = 4;
|
||||
required int32 delegate = 1;
|
||||
optional int32 getter = 2;
|
||||
optional int32 setter = 3;
|
||||
required int32 symbol = 4;
|
||||
optional IrStatementOrigin origin = 5;
|
||||
}
|
||||
|
||||
message IrPropertyReference {
|
||||
optional IrDataIndex field = 1;
|
||||
optional IrDataIndex getter = 2;
|
||||
optional IrDataIndex setter = 3;
|
||||
optional int32 field = 1;
|
||||
optional int32 getter = 2;
|
||||
optional int32 setter = 3;
|
||||
optional IrStatementOrigin origin = 4;
|
||||
required MemberAccessCommon member_access = 5;
|
||||
required IrDataIndex symbol = 6;
|
||||
required int32 symbol = 6;
|
||||
}
|
||||
|
||||
message IrComposite {
|
||||
@@ -275,8 +260,8 @@ message IrComposite {
|
||||
}
|
||||
|
||||
message IrClassReference {
|
||||
required IrDataIndex class_symbol = 1;
|
||||
required IrDataIndex class_type = 2;
|
||||
required int32 class_symbol = 1;
|
||||
required int32 class_type = 2;
|
||||
}
|
||||
|
||||
message IrConst {
|
||||
@@ -290,17 +275,17 @@ message IrConst {
|
||||
int64 long = 7;
|
||||
float float = 8;
|
||||
double double = 9;
|
||||
IrDataIndex string = 10;
|
||||
int32 string = 10;
|
||||
}
|
||||
}
|
||||
|
||||
message IrContinue {
|
||||
required int32 loop_id = 1;
|
||||
optional IrDataIndex label = 2;
|
||||
optional int32 label = 2;
|
||||
}
|
||||
|
||||
message IrDelegatingConstructorCall {
|
||||
required IrDataIndex symbol = 1;
|
||||
required int32 symbol = 1;
|
||||
required MemberAccessCommon member_access = 2;
|
||||
}
|
||||
|
||||
@@ -309,7 +294,7 @@ message IrDoWhile {
|
||||
}
|
||||
|
||||
message IrEnumConstructorCall {
|
||||
required IrDataIndex symbol = 1;
|
||||
required int32 symbol = 1;
|
||||
required MemberAccessCommon member_access = 2;
|
||||
}
|
||||
|
||||
@@ -318,12 +303,12 @@ message IrGetClass {
|
||||
}
|
||||
|
||||
message IrGetEnumValue {
|
||||
required IrDataIndex symbol = 2;
|
||||
required int32 symbol = 2;
|
||||
}
|
||||
|
||||
message FieldAccessCommon {
|
||||
required IrDataIndex symbol = 1;
|
||||
optional IrDataIndex super = 2;
|
||||
required int32 symbol = 1;
|
||||
optional int32 super = 2;
|
||||
optional IrExpression receiver = 3;
|
||||
}
|
||||
|
||||
@@ -333,28 +318,28 @@ message IrGetField {
|
||||
}
|
||||
|
||||
message IrGetValue {
|
||||
required IrDataIndex symbol = 1;
|
||||
required int32 symbol = 1;
|
||||
optional IrStatementOrigin origin = 2;
|
||||
}
|
||||
|
||||
message IrGetObject {
|
||||
required IrDataIndex symbol = 1;
|
||||
required int32 symbol = 1;
|
||||
}
|
||||
|
||||
message IrInstanceInitializerCall {
|
||||
required IrDataIndex symbol = 1;
|
||||
required int32 symbol = 1;
|
||||
}
|
||||
|
||||
message Loop {
|
||||
required int32 loop_id = 1;
|
||||
required IrExpression condition = 2;
|
||||
optional IrDataIndex label = 3;
|
||||
optional int32 label = 3;
|
||||
optional IrExpression body = 4;
|
||||
optional IrStatementOrigin origin = 5;
|
||||
}
|
||||
|
||||
message IrReturn {
|
||||
required IrDataIndex return_target = 1;
|
||||
required int32 return_target = 1;
|
||||
required IrExpression value = 2;
|
||||
}
|
||||
|
||||
@@ -365,7 +350,7 @@ message IrSetField {
|
||||
}
|
||||
|
||||
message IrSetVariable {
|
||||
required IrDataIndex symbol = 1;
|
||||
required int32 symbol = 1;
|
||||
required IrExpression value = 2;
|
||||
optional IrStatementOrigin origin = 3;
|
||||
}
|
||||
@@ -391,12 +376,12 @@ message IrTry {
|
||||
|
||||
message IrTypeOp {
|
||||
required IrTypeOperator operator = 1;
|
||||
required IrDataIndex operand = 2;
|
||||
required int32 operand = 2;
|
||||
required IrExpression argument = 3;
|
||||
}
|
||||
|
||||
message IrVararg {
|
||||
required IrDataIndex element_type = 1;
|
||||
required int32 element_type = 1;
|
||||
repeated IrVarargElement element = 2;
|
||||
}
|
||||
|
||||
@@ -424,7 +409,7 @@ message IrFunctionExpression {
|
||||
/* ------ Dynamic expression --------------------------------------------- */
|
||||
|
||||
message IrDynamicMemberExpression {
|
||||
required IrDataIndex memberName = 1;
|
||||
required int32 memberName = 1;
|
||||
required IrExpression receiver = 2;
|
||||
}
|
||||
|
||||
@@ -525,7 +510,7 @@ enum IrTypeOperator {
|
||||
|
||||
message IrExpression {
|
||||
required IrOperation operation = 1;
|
||||
required IrDataIndex type = 2;
|
||||
required int32 type = 2;
|
||||
required Coordinates coordinates = 3;
|
||||
}
|
||||
|
||||
@@ -536,7 +521,7 @@ message NullableIrExpression {
|
||||
/* ------ Declarations --------------------------------------------- */
|
||||
|
||||
message IrDeclarationBase {
|
||||
required IrDataIndex symbol = 1;
|
||||
required int32 symbol = 1;
|
||||
required IrDeclarationOrigin origin = 2;
|
||||
required Coordinates coordinates = 3;
|
||||
required Annotations annotations = 4;
|
||||
@@ -544,7 +529,7 @@ message IrDeclarationBase {
|
||||
|
||||
message IrFunctionBase {
|
||||
required IrDeclarationBase base = 1;
|
||||
required IrDataIndex name = 2;
|
||||
required int32 name = 2;
|
||||
required Visibility visibility = 3;
|
||||
required bool is_inline = 4;
|
||||
required bool is_external = 5;
|
||||
@@ -552,8 +537,8 @@ message IrFunctionBase {
|
||||
optional IrValueParameter dispatch_receiver = 7;
|
||||
optional IrValueParameter extension_receiver = 8;
|
||||
repeated IrValueParameter value_parameter = 9;
|
||||
optional IrDataIndex body = 10;
|
||||
required IrDataIndex return_type = 11;
|
||||
optional int32 body = 10;
|
||||
required int32 return_type = 11;
|
||||
}
|
||||
|
||||
message IrFunction {
|
||||
@@ -561,7 +546,7 @@ message IrFunction {
|
||||
required ModalityKind modality = 2;
|
||||
required bool is_tailrec = 3;
|
||||
required bool is_suspend = 4;
|
||||
repeated IrDataIndex overridden = 5;
|
||||
repeated int32 overridden = 5;
|
||||
//optional UniqId corresponding_property = 7;
|
||||
}
|
||||
|
||||
@@ -573,19 +558,19 @@ message IrConstructor {
|
||||
|
||||
message IrField {
|
||||
required IrDeclarationBase base = 1;
|
||||
optional IrDataIndex initializer = 2;
|
||||
required IrDataIndex name = 3;
|
||||
optional int32 initializer = 2;
|
||||
required int32 name = 3;
|
||||
required Visibility visibility = 4;
|
||||
required bool is_final = 5;
|
||||
required bool is_external = 6;
|
||||
required bool is_static = 7;
|
||||
required IrDataIndex type = 8;
|
||||
required int32 type = 8;
|
||||
}
|
||||
|
||||
message IrLocalDelegatedProperty {
|
||||
required IrDeclarationBase base = 1;
|
||||
required IrDataIndex name = 2;
|
||||
required IrDataIndex type = 3;
|
||||
required int32 name = 2;
|
||||
required int32 type = 3;
|
||||
required bool is_var = 4;
|
||||
required IrVariable delegate = 5;
|
||||
optional IrFunction getter = 6;
|
||||
@@ -594,7 +579,7 @@ message IrLocalDelegatedProperty {
|
||||
|
||||
message IrProperty {
|
||||
required IrDeclarationBase base = 1;
|
||||
required IrDataIndex name = 2;
|
||||
required int32 name = 2;
|
||||
required Visibility visibility = 3;
|
||||
required ModalityKind modality = 4;
|
||||
required bool is_var = 5;
|
||||
@@ -609,8 +594,8 @@ message IrProperty {
|
||||
|
||||
message IrVariable {
|
||||
required IrDeclarationBase base = 1;
|
||||
required IrDataIndex name = 2;
|
||||
required IrDataIndex type = 3;
|
||||
required int32 name = 2;
|
||||
required int32 type = 3;
|
||||
required bool is_var = 4;
|
||||
required bool is_const = 5;
|
||||
required bool is_lateinit = 6;
|
||||
@@ -635,21 +620,21 @@ enum ModalityKind { // It is ModalityKind to not clash with Modality in descript
|
||||
|
||||
message IrValueParameter {
|
||||
required IrDeclarationBase base = 1;
|
||||
required IrDataIndex name = 2;
|
||||
required int32 name = 2;
|
||||
required int32 index = 3;
|
||||
required IrDataIndex type = 4;
|
||||
optional IrDataIndex vararg_element_type = 5;
|
||||
required int32 type = 4;
|
||||
optional int32 vararg_element_type = 5;
|
||||
required bool is_crossinline = 6;
|
||||
required bool is_noinline = 7;
|
||||
optional IrDataIndex default_value = 8;
|
||||
optional int32 default_value = 8;
|
||||
}
|
||||
|
||||
message IrTypeParameter {
|
||||
required IrDeclarationBase base = 1;
|
||||
required IrDataIndex name = 2;
|
||||
required int32 name = 2;
|
||||
required int32 index = 3;
|
||||
required IrTypeVariance variance = 4;
|
||||
repeated IrDataIndex super_type = 5;
|
||||
repeated int32 super_type = 5;
|
||||
required bool is_reified = 6;
|
||||
}
|
||||
|
||||
@@ -659,7 +644,7 @@ message IrTypeParameterContainer {
|
||||
|
||||
message IrClass {
|
||||
required IrDeclarationBase base = 1;
|
||||
required IrDataIndex name = 2;
|
||||
required int32 name = 2;
|
||||
required ClassKind kind = 3;
|
||||
required Visibility visibility = 4;
|
||||
required ModalityKind modality = 5;
|
||||
@@ -672,28 +657,28 @@ message IrClass {
|
||||
optional IrValueParameter this_receiver = 11;
|
||||
required IrTypeParameterContainer type_parameters = 12;
|
||||
required IrDeclarationContainer declaration_container = 13;
|
||||
repeated IrDataIndex super_type = 14;
|
||||
repeated int32 super_type = 14;
|
||||
}
|
||||
|
||||
message IrTypeAlias {
|
||||
required IrDeclarationBase base = 1;
|
||||
required IrDataIndex name = 2;
|
||||
required int32 name = 2;
|
||||
required Visibility visibility = 3;
|
||||
required IrTypeParameterContainer type_parameters = 4;
|
||||
required IrDataIndex expanded_type = 5;
|
||||
required int32 expanded_type = 5;
|
||||
required bool is_actual = 6;
|
||||
}
|
||||
|
||||
message IrEnumEntry {
|
||||
required IrDeclarationBase base = 1;
|
||||
optional IrDataIndex initializer = 2;
|
||||
optional int32 initializer = 2;
|
||||
optional IrClass corresponding_class = 3;
|
||||
required IrDataIndex name = 4;
|
||||
required int32 name = 4;
|
||||
}
|
||||
|
||||
message IrAnonymousInit {
|
||||
required IrDeclarationBase base = 1;
|
||||
required IrDataIndex body = 2;
|
||||
required int32 body = 2;
|
||||
}
|
||||
|
||||
// TODO: we need an extension mechanism to accomodate new
|
||||
|
||||
+11
-11
@@ -44,7 +44,7 @@ import org.jetbrains.kotlin.backend.common.serialization.proto.ClassKind as Prot
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.DescriptorReference as ProtoDescriptorReference
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrAnonymousInit as ProtoAnonymousInit
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrBlock as ProtoBlock
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoBodyIndex
|
||||
//import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoBodyIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrBlockBody as ProtoBlockBody
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrBranch as ProtoBranch
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrBreak as ProtoBreak
|
||||
@@ -93,7 +93,7 @@ import org.jetbrains.kotlin.backend.common.serialization.proto.IrSpreadElement a
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrStatement as ProtoStatement
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin as ProtoStatementOrigin
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrStringConcat as ProtoStringConcat
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoSymbolIndex
|
||||
//import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoSymbolIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrSyntheticBody as ProtoSyntheticBody
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrSyntheticBodyKind as ProtoSyntheticBodyKind
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrThrow as ProtoThrow
|
||||
@@ -102,7 +102,7 @@ import org.jetbrains.kotlin.backend.common.serialization.proto.IrType as ProtoTy
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeAbbreviation as ProtoTypeAbbreviation
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeAlias as ProtoTypeAlias
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeArgument as ProtoTypeArgument
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoTypeIndex
|
||||
//import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoTypeIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeOp as ProtoTypeOp
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeOperator as ProtoTypeOperator
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameter as ProtoTypeParameter
|
||||
@@ -116,7 +116,7 @@ import org.jetbrains.kotlin.backend.common.serialization.proto.IrWhile as ProtoW
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.Loop as ProtoLoop
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon as ProtoMemberAccessCommon
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.ModalityKind as ProtoModalityKind
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoStringIndex
|
||||
//import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoStringIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.TypeArguments as ProtoTypeArguments
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.Visibility as ProtoVisibility
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.FqName as ProtoFqName
|
||||
@@ -133,12 +133,12 @@ abstract class IrFileDeserializer(
|
||||
val symbolTable: SymbolTable
|
||||
) {
|
||||
|
||||
abstract fun deserializeIrSymbol(proto: ProtoSymbolIndex): IrSymbol
|
||||
abstract fun deserializeIrType(proto: ProtoTypeIndex): IrType
|
||||
abstract fun deserializeIrSymbol(index: Int): IrSymbol
|
||||
abstract fun deserializeIrType(index: Int): IrType
|
||||
abstract fun deserializeDescriptorReference(proto: ProtoDescriptorReference): DeclarationDescriptor
|
||||
abstract fun deserializeString(proto: ProtoStringIndex): String
|
||||
abstract fun deserializeExpressionBody(proto: ProtoBodyIndex): IrExpression
|
||||
abstract fun deserializeStatementBody(proto: ProtoBodyIndex): IrElement
|
||||
abstract fun deserializeString(index: Int): String
|
||||
abstract fun deserializeExpressionBody(index: Int): IrExpression
|
||||
abstract fun deserializeStatementBody(index: Int): IrElement
|
||||
abstract fun deserializeLoopHeader(loopIndex: Int, loopBuilder: () -> IrLoopBase): IrLoopBase
|
||||
|
||||
private val parentsStack = mutableListOf<IrDeclarationParent>()
|
||||
@@ -149,8 +149,8 @@ abstract class IrFileDeserializer(
|
||||
}
|
||||
}
|
||||
|
||||
private fun deserializeName(proto: ProtoStringIndex): Name {
|
||||
val name = deserializeString(proto)
|
||||
private fun deserializeName(index: Int): Name {
|
||||
val name = deserializeString(index)
|
||||
return Name.guessByFirstCharacter(name)
|
||||
}
|
||||
|
||||
|
||||
+15
-38
@@ -50,10 +50,6 @@ import org.jetbrains.kotlin.backend.common.serialization.proto.IrConst as ProtoC
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrConstructor as ProtoConstructor
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrConstructorCall as ProtoConstructorCall
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrContinue as ProtoContinue
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoBodyIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoStringIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoSymbolIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoTypeIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration as ProtoDeclaration
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase as ProtoDeclarationBase
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationContainer as ProtoDeclarationContainer
|
||||
@@ -171,18 +167,14 @@ open class IrFileSerializer(
|
||||
}
|
||||
}
|
||||
|
||||
private fun serializeIrExpressionBody(expression: IrExpression): ProtoBodyIndex {
|
||||
val proto = ProtoBodyIndex.newBuilder()
|
||||
private fun serializeIrExpressionBody(expression: IrExpression): Int {
|
||||
protoBodyArray.add(XStatementOrExpression.XExpression(serializeExpression(expression)))
|
||||
proto.index = protoBodyArray.size - 1
|
||||
return proto.build()
|
||||
return protoBodyArray.size - 1
|
||||
}
|
||||
|
||||
private fun serializeIrStatementBody(statement: IrElement): ProtoBodyIndex {
|
||||
val proto = ProtoBodyIndex.newBuilder()
|
||||
private fun serializeIrStatementBody(statement: IrElement): Int {
|
||||
protoBodyArray.add(XStatementOrExpression.XStatement(serializeStatement(statement)))
|
||||
proto.index = protoBodyArray.size - 1
|
||||
return proto.build()
|
||||
return protoBodyArray.size - 1
|
||||
}
|
||||
|
||||
/* ------- Common fields ---------------------------------------------------- */
|
||||
@@ -211,16 +203,12 @@ open class IrFileSerializer(
|
||||
|
||||
/* ------- Strings ---------------------------------------------------------- */
|
||||
|
||||
fun serializeString(value: String): ProtoStringIndex {
|
||||
val proto = ProtoStringIndex.newBuilder()
|
||||
proto.index = protoStringMap.getOrPut(value) {
|
||||
protoStringArray.add(value)
|
||||
protoStringArray.size - 1
|
||||
}
|
||||
return proto.build()
|
||||
private fun serializeString(value: String): Int = protoStringMap.getOrPut(value) {
|
||||
protoStringArray.add(value)
|
||||
protoStringArray.size - 1
|
||||
}
|
||||
|
||||
private fun serializeName(name: Name): ProtoStringIndex = serializeString(name.toString())
|
||||
private fun serializeName(name: Name): Int = serializeString(name.toString())
|
||||
|
||||
/* ------- IrSymbols -------------------------------------------------------- */
|
||||
|
||||
@@ -283,14 +271,10 @@ open class IrFileSerializer(
|
||||
return proto.build()
|
||||
}
|
||||
|
||||
fun serializeIrSymbol(symbol: IrSymbol): ProtoSymbolIndex {
|
||||
val proto = ProtoSymbolIndex.newBuilder()
|
||||
proto.index = protoSymbolMap.getOrPut(symbol) {
|
||||
val symbolData = serializeIrSymbolData(symbol)
|
||||
protoSymbolArray.add(symbolData)
|
||||
protoSymbolArray.size - 1
|
||||
}
|
||||
return proto.build()
|
||||
fun serializeIrSymbol(symbol: IrSymbol) = protoSymbolMap.getOrPut(symbol) {
|
||||
val symbolData = serializeIrSymbolData(symbol)
|
||||
protoSymbolArray.add(symbolData)
|
||||
protoSymbolArray.size - 1
|
||||
}
|
||||
|
||||
/* ------- IrTypes ---------------------------------------------------------- */
|
||||
@@ -445,16 +429,9 @@ open class IrFileSerializer(
|
||||
type = (this as? IrTypeProjection)?.type?.toIrTypeKey
|
||||
)
|
||||
|
||||
private fun serializeIrType(type: IrType): ProtoTypeIndex {
|
||||
val proto = ProtoTypeIndex.newBuilder()
|
||||
val key = type.toIrTypeKey
|
||||
proto.index = protoTypeMap.getOrPut(key) {
|
||||
// println("new type: $type ${(type as? IrSimpleType)?.classifier?.descriptor}${if((type as? IrSimpleType)?.hasQuestionMark ?: false) "?" else ""}")
|
||||
// println("new key = $key")
|
||||
protoTypeArray.add(serializeIrTypeData(type))
|
||||
protoTypeArray.size - 1
|
||||
}
|
||||
return proto.build()
|
||||
private fun serializeIrType(type: IrType) = protoTypeMap.getOrPut(type.toIrTypeKey) {
|
||||
protoTypeArray.add(serializeIrTypeData(type))
|
||||
protoTypeArray.size - 1
|
||||
}
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
+13
-17
@@ -7,7 +7,6 @@ package org.jetbrains.kotlin.backend.common.serialization
|
||||
|
||||
import org.jetbrains.kotlin.backend.common.LoggingContext
|
||||
import org.jetbrains.kotlin.backend.common.descriptors.*
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoBodyIndex
|
||||
import org.jetbrains.kotlin.descriptors.*
|
||||
import org.jetbrains.kotlin.descriptors.impl.EmptyPackageFragmentDescriptor
|
||||
import org.jetbrains.kotlin.ir.IrElement
|
||||
@@ -33,21 +32,19 @@ import org.jetbrains.kotlin.ir.util.NaiveSourceBasedFileEntryImpl
|
||||
import org.jetbrains.kotlin.ir.util.SymbolTable
|
||||
import org.jetbrains.kotlin.protobuf.ExtensionRegistryLite.newInstance
|
||||
import org.jetbrains.kotlin.resolve.descriptorUtil.module
|
||||
import org.jetbrains.kotlin.serialization.deserialization.ProtoContainer
|
||||
import org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedCallableMemberDescriptor
|
||||
import org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedClassDescriptor
|
||||
import org.jetbrains.kotlin.types.Variance
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.Annotations as ProtoAnnotations
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.DescriptorReference as ProtoDescriptorReference
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclaration as ProtoDeclaration
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrFile as ProtoFile
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoSymbolIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbolData as ProtoSymbolData
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrSymbolKind as ProtoSymbolKind
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrType as ProtoType
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoTypeIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoStringIndex
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrStatement as ProtoStatement
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression as ProtoExpression
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrConstructorCall as ProtoConstructorCall
|
||||
|
||||
abstract class KotlinIrLinker(
|
||||
val logger: LoggingContext,
|
||||
@@ -345,25 +342,25 @@ abstract class KotlinIrLinker(
|
||||
isTypeParameter = proto.isTypeParameter
|
||||
)
|
||||
|
||||
override fun deserializeIrSymbol(proto: ProtoSymbolIndex): IrSymbol {
|
||||
val symbolData = loadSymbolProto(proto.index)
|
||||
override fun deserializeIrSymbol(index: Int): IrSymbol {
|
||||
val symbolData = loadSymbolProto(index)
|
||||
return deserializeIrSymbolData(symbolData)
|
||||
}
|
||||
|
||||
override fun deserializeIrType(proto: ProtoTypeIndex): IrType {
|
||||
val typeData = loadTypeProto(proto.index)
|
||||
override fun deserializeIrType(index: Int): IrType {
|
||||
val typeData = loadTypeProto(index)
|
||||
return deserializeIrTypeData(typeData)
|
||||
}
|
||||
|
||||
override fun deserializeString(proto: ProtoStringIndex): String =
|
||||
loadStringProto(proto.index)
|
||||
override fun deserializeString(index: Int): String =
|
||||
loadStringProto(index)
|
||||
|
||||
override fun deserializeLoopHeader(loopIndex: Int, loopBuilder: () -> IrLoopBase) =
|
||||
fileLoops.getOrPut(loopIndex, loopBuilder)
|
||||
|
||||
override fun deserializeExpressionBody(proto: ProtoBodyIndex): IrExpression {
|
||||
override fun deserializeExpressionBody(index: Int): IrExpression {
|
||||
if (deserializeBodies) {
|
||||
val bodyData = loadExpressionBodyProto(proto.index)
|
||||
val bodyData = loadExpressionBodyProto(index)
|
||||
return deserializeExpression(bodyData)
|
||||
} else {
|
||||
val errorType = IrErrorTypeImpl(null, emptyList(), Variance.INVARIANT)
|
||||
@@ -371,9 +368,9 @@ abstract class KotlinIrLinker(
|
||||
}
|
||||
}
|
||||
|
||||
override fun deserializeStatementBody(proto: ProtoBodyIndex): IrElement {
|
||||
override fun deserializeStatementBody(index: Int): IrElement {
|
||||
if (deserializeBodies) {
|
||||
val bodyData = loadStatementBodyProto(proto.index)
|
||||
val bodyData = loadStatementBodyProto(index)
|
||||
return deserializeStatement(bodyData)
|
||||
} else {
|
||||
val errorType = IrErrorTypeImpl(null, emptyList(), Variance.INVARIANT)
|
||||
@@ -427,7 +424,7 @@ abstract class KotlinIrLinker(
|
||||
when {
|
||||
theWholeWorld -> fileProto.declarationIdList
|
||||
explicitlyExported -> fileProto.explicitlyExportedToCompilerList.map {
|
||||
fileDeserializer.loadSymbolData(it.index).topLevelUniqId
|
||||
fileDeserializer.loadSymbolData(it).topLevelUniqId
|
||||
}
|
||||
else -> emptyList()
|
||||
}
|
||||
@@ -447,7 +444,6 @@ abstract class KotlinIrLinker(
|
||||
files.add(deserializeIrFile(ProtoFile.parseFrom(readFile(moduleDescriptor, i), newInstance()), i))
|
||||
}
|
||||
|
||||
|
||||
return IrModuleFragmentImpl(moduleDescriptor, builtIns, files)
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -6,7 +6,6 @@
|
||||
package org.jetbrains.kotlin.backend.common.serialization
|
||||
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.DescriptorReference as ProtoDescriptorReference
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex as ProtoString
|
||||
import org.jetbrains.kotlin.backend.common.serialization.proto.FqName as ProtoFqName
|
||||
|
||||
import org.jetbrains.kotlin.descriptors.*
|
||||
@@ -21,7 +20,7 @@ import org.jetbrains.kotlin.resolve.descriptorUtil.classId
|
||||
|
||||
open class DescriptorReferenceSerializer(
|
||||
val declarationTable: DeclarationTable,
|
||||
val serializeString: (String) -> ProtoString,
|
||||
val serializeString: (String) -> Int,
|
||||
val serializeFqName: (FqName) -> ProtoFqName
|
||||
) {
|
||||
|
||||
|
||||
+22
-82
@@ -79,17 +79,9 @@ public final class DescriptorReference extends
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 24: {
|
||||
bitField0_ |= 0x00000004;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
@@ -210,17 +202,17 @@ public final class DescriptorReference extends
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 3;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -362,7 +354,7 @@ public final class DescriptorReference extends
|
||||
private void initFields() {
|
||||
packageFqName_ = org.jetbrains.kotlin.backend.common.serialization.proto.FqName.getDefaultInstance();
|
||||
classFqName_ = org.jetbrains.kotlin.backend.common.serialization.proto.FqName.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
uniqId_ = org.jetbrains.kotlin.backend.common.serialization.proto.UniqId.getDefaultInstance();
|
||||
isGetter_ = false;
|
||||
isSetter_ = false;
|
||||
@@ -391,18 +383,6 @@ public final class DescriptorReference extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getPackageFqName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getClassFqName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasUniqId()) {
|
||||
if (!getUniqId().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -423,7 +403,7 @@ public final class DescriptorReference extends
|
||||
output.writeMessage(2, classFqName_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, name_);
|
||||
output.writeInt32(3, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeMessage(4, uniqId_);
|
||||
@@ -471,7 +451,7 @@ public final class DescriptorReference extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, name_);
|
||||
.computeInt32Size(3, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -607,7 +587,7 @@ public final class DescriptorReference extends
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
classFqName_ = org.jetbrains.kotlin.backend.common.serialization.proto.FqName.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
uniqId_ = org.jetbrains.kotlin.backend.common.serialization.proto.UniqId.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
@@ -711,7 +691,7 @@ public final class DescriptorReference extends
|
||||
mergeClassFqName(other.getClassFqName());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
if (other.hasUniqId()) {
|
||||
mergeUniqId(other.getUniqId());
|
||||
@@ -758,18 +738,6 @@ public final class DescriptorReference extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getPackageFqName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getClassFqName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasUniqId()) {
|
||||
if (!getUniqId().isInitialized()) {
|
||||
|
||||
@@ -918,63 +886,35 @@ public final class DescriptorReference extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -26,13 +26,13 @@ public interface DescriptorReferenceOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.FqName getClassFqName();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.UniqId uniq_id = 4;</code>
|
||||
|
||||
+44
-136
@@ -53,30 +53,14 @@ public final class FieldAccessCommon extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = super_.toBuilder();
|
||||
}
|
||||
super_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(super_);
|
||||
super_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
super_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
@@ -127,32 +111,32 @@ public final class FieldAccessCommon extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
public static final int SUPER_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_;
|
||||
private int super_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 2;</code>
|
||||
* <code>optional int32 super = 2;</code>
|
||||
*/
|
||||
public boolean hasSuper() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 2;</code>
|
||||
* <code>optional int32 super = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuper() {
|
||||
public int getSuper() {
|
||||
return super_;
|
||||
}
|
||||
|
||||
@@ -172,8 +156,8 @@ public final class FieldAccessCommon extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
super_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
super_ = 0;
|
||||
receiver_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -186,16 +170,6 @@ public final class FieldAccessCommon extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasSuper()) {
|
||||
if (!getSuper().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasReceiver()) {
|
||||
if (!getReceiver().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -210,10 +184,10 @@ public final class FieldAccessCommon extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, super_);
|
||||
output.writeInt32(2, super_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, receiver_);
|
||||
@@ -229,11 +203,11 @@ public final class FieldAccessCommon extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, super_);
|
||||
.computeInt32Size(2, super_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -333,9 +307,9 @@ public final class FieldAccessCommon extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
super_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
super_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
receiver_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
@@ -381,10 +355,10 @@ public final class FieldAccessCommon extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.FieldAccessCommon other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.FieldAccessCommon.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
if (other.hasSuper()) {
|
||||
mergeSuper(other.getSuper());
|
||||
setSuper(other.getSuper());
|
||||
}
|
||||
if (other.hasReceiver()) {
|
||||
mergeReceiver(other.getReceiver());
|
||||
@@ -399,16 +373,6 @@ public final class FieldAccessCommon extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasSuper()) {
|
||||
if (!getSuper().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasReceiver()) {
|
||||
if (!getReceiver().isInitialized()) {
|
||||
|
||||
@@ -437,123 +401,67 @@ public final class FieldAccessCommon extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int super_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 2;</code>
|
||||
* <code>optional int32 super = 2;</code>
|
||||
*/
|
||||
public boolean hasSuper() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 2;</code>
|
||||
* <code>optional int32 super = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuper() {
|
||||
public int getSuper() {
|
||||
return super_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 2;</code>
|
||||
* <code>optional int32 super = 2;</code>
|
||||
*/
|
||||
public Builder setSuper(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSuper(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
super_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 2;</code>
|
||||
*/
|
||||
public Builder setSuper(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
super_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 2;</code>
|
||||
*/
|
||||
public Builder mergeSuper(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
super_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
super_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(super_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
super_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 2;</code>
|
||||
* <code>optional int32 super = 2;</code>
|
||||
*/
|
||||
public Builder clearSuper() {
|
||||
super_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
super_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -8,22 +8,22 @@ public interface FieldAccessCommonOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 2;</code>
|
||||
* <code>optional int32 super = 2;</code>
|
||||
*/
|
||||
boolean hasSuper();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 2;</code>
|
||||
* <code>optional int32 super = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuper();
|
||||
int getSuper();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression receiver = 3;</code>
|
||||
|
||||
+51
-117
@@ -53,12 +53,25 @@ public final class FqName extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
case 8: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
segment_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>();
|
||||
segment_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
segment_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry));
|
||||
segment_.add(input.readInt32());
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
|
||||
segment_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
segment_.add(input.readInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -98,37 +111,24 @@ public final class FqName extends
|
||||
}
|
||||
|
||||
public static final int SEGMENT_FIELD_NUMBER = 1;
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> segment_;
|
||||
private java.util.List<java.lang.Integer> segment_;
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getSegmentList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getSegmentList() {
|
||||
return segment_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
*/
|
||||
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder>
|
||||
getSegmentOrBuilderList() {
|
||||
return segment_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
public int getSegmentCount() {
|
||||
return segment_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSegment(int index) {
|
||||
return segment_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder getSegmentOrBuilder(
|
||||
int index) {
|
||||
public int getSegment(int index) {
|
||||
return segment_.get(index);
|
||||
}
|
||||
|
||||
@@ -141,12 +141,6 @@ public final class FqName extends
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
for (int i = 0; i < getSegmentCount(); i++) {
|
||||
if (!getSegment(i).isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -155,7 +149,7 @@ public final class FqName extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
for (int i = 0; i < segment_.size(); i++) {
|
||||
output.writeMessage(1, segment_.get(i));
|
||||
output.writeInt32(1, segment_.get(i));
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -166,9 +160,14 @@ public final class FqName extends
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
for (int i = 0; i < segment_.size(); i++) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, segment_.get(i));
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < segment_.size(); i++) {
|
||||
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(segment_.get(i));
|
||||
}
|
||||
size += dataSize;
|
||||
size += 1 * getSegmentList().size();
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -314,12 +313,6 @@ public final class FqName extends
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
for (int i = 0; i < getSegmentCount(); i++) {
|
||||
if (!getSegment(i).isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -342,128 +335,69 @@ public final class FqName extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> segment_ =
|
||||
java.util.Collections.emptyList();
|
||||
private java.util.List<java.lang.Integer> segment_ = java.util.Collections.emptyList();
|
||||
private void ensureSegmentIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
segment_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>(segment_);
|
||||
segment_ = new java.util.ArrayList<java.lang.Integer>(segment_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getSegmentList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getSegmentList() {
|
||||
return java.util.Collections.unmodifiableList(segment_);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
public int getSegmentCount() {
|
||||
return segment_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSegment(int index) {
|
||||
public int getSegment(int index) {
|
||||
return segment_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
public Builder setSegment(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
int index, int value) {
|
||||
ensureSegmentIsMutable();
|
||||
segment_.set(index, value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
public Builder setSegment(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureSegmentIsMutable();
|
||||
segment_.set(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
*/
|
||||
public Builder addSegment(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder addSegment(int value) {
|
||||
ensureSegmentIsMutable();
|
||||
segment_.add(value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
*/
|
||||
public Builder addSegment(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureSegmentIsMutable();
|
||||
segment_.add(index, value);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
*/
|
||||
public Builder addSegment(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureSegmentIsMutable();
|
||||
segment_.add(builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
*/
|
||||
public Builder addSegment(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureSegmentIsMutable();
|
||||
segment_.add(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
public Builder addAllSegment(
|
||||
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> values) {
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureSegmentIsMutable();
|
||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, segment_);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
public Builder clearSegment() {
|
||||
segment_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
*/
|
||||
public Builder removeSegment(int index) {
|
||||
ensureSegmentIsMutable();
|
||||
segment_.remove(index);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+7
-8
@@ -8,16 +8,15 @@ public interface FqNameOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>
|
||||
getSegmentList();
|
||||
java.util.List<java.lang.Integer> getSegmentList();
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSegment(int index);
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex segment = 1;</code>
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
int getSegmentCount();
|
||||
/**
|
||||
* <code>repeated int32 segment = 1;</code>
|
||||
*/
|
||||
int getSegment(int index);
|
||||
}
|
||||
+22
-66
@@ -66,17 +66,9 @@ public final class IrAnonymousInit extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = body_.toBuilder();
|
||||
}
|
||||
body_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(body_);
|
||||
body_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
body_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -129,23 +121,23 @@ public final class IrAnonymousInit extends
|
||||
}
|
||||
|
||||
public static final int BODY_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body_;
|
||||
private int body_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 2;</code>
|
||||
* <code>required int32 body = 2;</code>
|
||||
*/
|
||||
public boolean hasBody() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 2;</code>
|
||||
* <code>required int32 body = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getBody() {
|
||||
public int getBody() {
|
||||
return body_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
body_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
body_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -165,10 +157,6 @@ public final class IrAnonymousInit extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getBody().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -180,7 +168,7 @@ public final class IrAnonymousInit extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, body_);
|
||||
output.writeInt32(2, body_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -197,7 +185,7 @@ public final class IrAnonymousInit extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, body_);
|
||||
.computeInt32Size(2, body_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -295,7 +283,7 @@ public final class IrAnonymousInit extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
body_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
body_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
return this;
|
||||
}
|
||||
@@ -338,7 +326,7 @@ public final class IrAnonymousInit extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasBody()) {
|
||||
mergeBody(other.getBody());
|
||||
setBody(other.getBody());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -358,10 +346,6 @@ public final class IrAnonymousInit extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getBody().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -444,63 +428,35 @@ public final class IrAnonymousInit extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int body_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 2;</code>
|
||||
* <code>required int32 body = 2;</code>
|
||||
*/
|
||||
public boolean hasBody() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 2;</code>
|
||||
* <code>required int32 body = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getBody() {
|
||||
public int getBody() {
|
||||
return body_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 2;</code>
|
||||
* <code>required int32 body = 2;</code>
|
||||
*/
|
||||
public Builder setBody(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setBody(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
body_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 2;</code>
|
||||
*/
|
||||
public Builder setBody(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
body_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 2;</code>
|
||||
*/
|
||||
public Builder mergeBody(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
body_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
body_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(body_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
body_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 2;</code>
|
||||
* <code>required int32 body = 2;</code>
|
||||
*/
|
||||
public Builder clearBody() {
|
||||
body_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
body_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -17,11 +17,11 @@ public interface IrAnonymousInitOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 2;</code>
|
||||
* <code>required int32 body = 2;</code>
|
||||
*/
|
||||
boolean hasBody();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 2;</code>
|
||||
* <code>required int32 body = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getBody();
|
||||
int getBody();
|
||||
}
|
||||
+22
-70
@@ -58,17 +58,9 @@ public final class IrBreak extends
|
||||
loopId_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = label_.toBuilder();
|
||||
}
|
||||
label_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(label_);
|
||||
label_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
label_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -121,23 +113,23 @@ public final class IrBreak extends
|
||||
}
|
||||
|
||||
public static final int LABEL_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label_;
|
||||
private int label_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public boolean hasLabel() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getLabel() {
|
||||
public int getLabel() {
|
||||
return label_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
loopId_ = 0;
|
||||
label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
label_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -149,12 +141,6 @@ public final class IrBreak extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasLabel()) {
|
||||
if (!getLabel().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -166,7 +152,7 @@ public final class IrBreak extends
|
||||
output.writeInt32(1, loopId_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, label_);
|
||||
output.writeInt32(2, label_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -183,7 +169,7 @@ public final class IrBreak extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, label_);
|
||||
.computeInt32Size(2, label_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -281,7 +267,7 @@ public final class IrBreak extends
|
||||
super.clear();
|
||||
loopId_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
label_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
return this;
|
||||
}
|
||||
@@ -324,7 +310,7 @@ public final class IrBreak extends
|
||||
setLoopId(other.getLoopId());
|
||||
}
|
||||
if (other.hasLabel()) {
|
||||
mergeLabel(other.getLabel());
|
||||
setLabel(other.getLabel());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -336,12 +322,6 @@ public final class IrBreak extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasLabel()) {
|
||||
if (!getLabel().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -396,63 +376,35 @@ public final class IrBreak extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int label_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public boolean hasLabel() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getLabel() {
|
||||
public int getLabel() {
|
||||
return label_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public Builder setLabel(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setLabel(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
label_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
*/
|
||||
public Builder setLabel(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
label_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
*/
|
||||
public Builder mergeLabel(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
label_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
label_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(label_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
label_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public Builder clearLabel() {
|
||||
label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
label_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -17,11 +17,11 @@ public interface IrBreakOrBuilder extends
|
||||
int getLoopId();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
boolean hasLabel();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getLabel();
|
||||
int getLabel();
|
||||
}
|
||||
+44
-136
@@ -53,17 +53,9 @@ public final class IrCall extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
@@ -79,17 +71,9 @@ public final class IrCall extends
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
subBuilder = super_.toBuilder();
|
||||
}
|
||||
super_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(super_);
|
||||
super_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 24: {
|
||||
bitField0_ |= 0x00000004;
|
||||
super_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
@@ -140,17 +124,17 @@ public final class IrCall extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
@@ -170,17 +154,17 @@ public final class IrCall extends
|
||||
}
|
||||
|
||||
public static final int SUPER_FIELD_NUMBER = 3;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_;
|
||||
private int super_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 3;</code>
|
||||
* <code>optional int32 super = 3;</code>
|
||||
*/
|
||||
public boolean hasSuper() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 3;</code>
|
||||
* <code>optional int32 super = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuper() {
|
||||
public int getSuper() {
|
||||
return super_;
|
||||
}
|
||||
|
||||
@@ -200,9 +184,9 @@ public final class IrCall extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
memberAccess_ = org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon.getDefaultInstance();
|
||||
super_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
super_ = 0;
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -219,20 +203,10 @@ public final class IrCall extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getMemberAccess().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasSuper()) {
|
||||
if (!getSuper().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasOrigin()) {
|
||||
if (!getOrigin().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -247,13 +221,13 @@ public final class IrCall extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, memberAccess_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, super_);
|
||||
output.writeInt32(3, super_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeMessage(4, origin_);
|
||||
@@ -269,7 +243,7 @@ public final class IrCall extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -277,7 +251,7 @@ public final class IrCall extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, super_);
|
||||
.computeInt32Size(3, super_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -377,11 +351,11 @@ public final class IrCall extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
memberAccess_ = org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
super_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
super_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
@@ -431,13 +405,13 @@ public final class IrCall extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrCall other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrCall.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
if (other.hasMemberAccess()) {
|
||||
mergeMemberAccess(other.getMemberAccess());
|
||||
}
|
||||
if (other.hasSuper()) {
|
||||
mergeSuper(other.getSuper());
|
||||
setSuper(other.getSuper());
|
||||
}
|
||||
if (other.hasOrigin()) {
|
||||
mergeOrigin(other.getOrigin());
|
||||
@@ -456,20 +430,10 @@ public final class IrCall extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getMemberAccess().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasSuper()) {
|
||||
if (!getSuper().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasOrigin()) {
|
||||
if (!getOrigin().isInitialized()) {
|
||||
|
||||
@@ -498,63 +462,35 @@ public final class IrCall extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -618,63 +554,35 @@ public final class IrCall extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int super_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 3;</code>
|
||||
* <code>optional int32 super = 3;</code>
|
||||
*/
|
||||
public boolean hasSuper() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 3;</code>
|
||||
* <code>optional int32 super = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuper() {
|
||||
public int getSuper() {
|
||||
return super_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 3;</code>
|
||||
* <code>optional int32 super = 3;</code>
|
||||
*/
|
||||
public Builder setSuper(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSuper(int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
super_ = value;
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 3;</code>
|
||||
*/
|
||||
public Builder setSuper(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
super_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 3;</code>
|
||||
*/
|
||||
public Builder mergeSuper(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
||||
super_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
super_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(super_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
super_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 3;</code>
|
||||
* <code>optional int32 super = 3;</code>
|
||||
*/
|
||||
public Builder clearSuper() {
|
||||
super_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
super_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -8,13 +8,13 @@ public interface IrCallOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon member_access = 2;</code>
|
||||
@@ -26,13 +26,13 @@ public interface IrCallOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon getMemberAccess();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 3;</code>
|
||||
* <code>optional int32 super = 3;</code>
|
||||
*/
|
||||
boolean hasSuper();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super = 3;</code>
|
||||
* <code>optional int32 super = 3;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuper();
|
||||
int getSuper();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin origin = 4;</code>
|
||||
|
||||
+73
-183
@@ -66,17 +66,9 @@ public final class IrClass extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
@@ -180,12 +172,25 @@ public final class IrClass extends
|
||||
bitField0_ |= 0x00001000;
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
case 112: {
|
||||
if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) {
|
||||
superType_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>();
|
||||
superType_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00002000;
|
||||
}
|
||||
superType_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry));
|
||||
superType_.add(input.readInt32());
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00002000) == 0x00002000) && input.getBytesUntilLimit() > 0) {
|
||||
superType_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00002000;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
superType_.add(input.readInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -241,17 +246,17 @@ public final class IrClass extends
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -429,43 +434,30 @@ public final class IrClass extends
|
||||
}
|
||||
|
||||
public static final int SUPER_TYPE_FIELD_NUMBER = 14;
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> superType_;
|
||||
private java.util.List<java.lang.Integer> superType_;
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getSuperTypeList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getSuperTypeList() {
|
||||
return superType_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
*/
|
||||
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder>
|
||||
getSuperTypeOrBuilderList() {
|
||||
return superType_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
public int getSuperTypeCount() {
|
||||
return superType_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuperType(int index) {
|
||||
return superType_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder getSuperTypeOrBuilder(
|
||||
int index) {
|
||||
public int getSuperType(int index) {
|
||||
return superType_.get(index);
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
kind_ = org.jetbrains.kotlin.backend.common.serialization.proto.ClassKind.CLASS;
|
||||
visibility_ = org.jetbrains.kotlin.backend.common.serialization.proto.Visibility.getDefaultInstance();
|
||||
modality_ = org.jetbrains.kotlin.backend.common.serialization.proto.ModalityKind.FINAL_MODALITY;
|
||||
@@ -537,10 +529,6 @@ public final class IrClass extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getVisibility().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -559,12 +547,6 @@ public final class IrClass extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getSuperTypeCount(); i++) {
|
||||
if (!getSuperType(i).isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -576,7 +558,7 @@ public final class IrClass extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, name_);
|
||||
output.writeInt32(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeEnum(3, kind_.getNumber());
|
||||
@@ -612,7 +594,7 @@ public final class IrClass extends
|
||||
output.writeMessage(13, declarationContainer_);
|
||||
}
|
||||
for (int i = 0; i < superType_.size(); i++) {
|
||||
output.writeMessage(14, superType_.get(i));
|
||||
output.writeInt32(14, superType_.get(i));
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -629,7 +611,7 @@ public final class IrClass extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, name_);
|
||||
.computeInt32Size(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -675,9 +657,14 @@ public final class IrClass extends
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(13, declarationContainer_);
|
||||
}
|
||||
for (int i = 0; i < superType_.size(); i++) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(14, superType_.get(i));
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < superType_.size(); i++) {
|
||||
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(superType_.get(i));
|
||||
}
|
||||
size += dataSize;
|
||||
size += 1 * getSuperTypeList().size();
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -775,7 +762,7 @@ public final class IrClass extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
kind_ = org.jetbrains.kotlin.backend.common.serialization.proto.ClassKind.CLASS;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
@@ -891,7 +878,7 @@ public final class IrClass extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
if (other.hasKind()) {
|
||||
setKind(other.getKind());
|
||||
@@ -994,10 +981,6 @@ public final class IrClass extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getVisibility().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -1016,12 +999,6 @@ public final class IrClass extends
|
||||
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getSuperTypeCount(); i++) {
|
||||
if (!getSuperType(i).isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1104,63 +1081,35 @@ public final class IrClass extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -1650,128 +1599,69 @@ public final class IrClass extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> superType_ =
|
||||
java.util.Collections.emptyList();
|
||||
private java.util.List<java.lang.Integer> superType_ = java.util.Collections.emptyList();
|
||||
private void ensureSuperTypeIsMutable() {
|
||||
if (!((bitField0_ & 0x00002000) == 0x00002000)) {
|
||||
superType_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>(superType_);
|
||||
superType_ = new java.util.ArrayList<java.lang.Integer>(superType_);
|
||||
bitField0_ |= 0x00002000;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getSuperTypeList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getSuperTypeList() {
|
||||
return java.util.Collections.unmodifiableList(superType_);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
public int getSuperTypeCount() {
|
||||
return superType_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuperType(int index) {
|
||||
public int getSuperType(int index) {
|
||||
return superType_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
public Builder setSuperType(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
int index, int value) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.set(index, value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
public Builder setSuperType(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.set(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
*/
|
||||
public Builder addSuperType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder addSuperType(int value) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.add(value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
*/
|
||||
public Builder addSuperType(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.add(index, value);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
*/
|
||||
public Builder addSuperType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.add(builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
*/
|
||||
public Builder addSuperType(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.add(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
public Builder addAllSuperType(
|
||||
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> values) {
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureSuperTypeIsMutable();
|
||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, superType_);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
public Builder clearSuperType() {
|
||||
superType_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00002000);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
*/
|
||||
public Builder removeSuperType(int index) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.remove(index);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+10
-11
@@ -17,13 +17,13 @@ public interface IrClassOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.ClassKind kind = 3;</code>
|
||||
@@ -133,16 +133,15 @@ public interface IrClassOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationContainer getDeclarationContainer();
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>
|
||||
getSuperTypeList();
|
||||
java.util.List<java.lang.Integer> getSuperTypeList();
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuperType(int index);
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 14;</code>
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
int getSuperTypeCount();
|
||||
/**
|
||||
* <code>repeated int32 super_type = 14;</code>
|
||||
*/
|
||||
int getSuperType(int index);
|
||||
}
|
||||
+44
-132
@@ -53,30 +53,14 @@ public final class IrClassReference extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = classSymbol_.toBuilder();
|
||||
}
|
||||
classSymbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(classSymbol_);
|
||||
classSymbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
classSymbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = classType_.toBuilder();
|
||||
}
|
||||
classType_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(classType_);
|
||||
classType_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
classType_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -114,38 +98,38 @@ public final class IrClassReference extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int CLASS_SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classSymbol_;
|
||||
private int classSymbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_symbol = 1;</code>
|
||||
* <code>required int32 class_symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasClassSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_symbol = 1;</code>
|
||||
* <code>required int32 class_symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getClassSymbol() {
|
||||
public int getClassSymbol() {
|
||||
return classSymbol_;
|
||||
}
|
||||
|
||||
public static final int CLASS_TYPE_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classType_;
|
||||
private int classType_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_type = 2;</code>
|
||||
* <code>required int32 class_type = 2;</code>
|
||||
*/
|
||||
public boolean hasClassType() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_type = 2;</code>
|
||||
* <code>required int32 class_type = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getClassType() {
|
||||
public int getClassType() {
|
||||
return classType_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
classSymbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
classType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
classSymbol_ = 0;
|
||||
classType_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -161,14 +145,6 @@ public final class IrClassReference extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getClassSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getClassType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -177,10 +153,10 @@ public final class IrClassReference extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, classSymbol_);
|
||||
output.writeInt32(1, classSymbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, classType_);
|
||||
output.writeInt32(2, classType_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -193,11 +169,11 @@ public final class IrClassReference extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, classSymbol_);
|
||||
.computeInt32Size(1, classSymbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, classType_);
|
||||
.computeInt32Size(2, classType_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -293,9 +269,9 @@ public final class IrClassReference extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
classSymbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
classSymbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
classType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
classType_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
return this;
|
||||
}
|
||||
@@ -335,10 +311,10 @@ public final class IrClassReference extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrClassReference other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrClassReference.getDefaultInstance()) return this;
|
||||
if (other.hasClassSymbol()) {
|
||||
mergeClassSymbol(other.getClassSymbol());
|
||||
setClassSymbol(other.getClassSymbol());
|
||||
}
|
||||
if (other.hasClassType()) {
|
||||
mergeClassType(other.getClassType());
|
||||
setClassType(other.getClassType());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -354,14 +330,6 @@ public final class IrClassReference extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getClassSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getClassType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -384,123 +352,67 @@ public final class IrClassReference extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classSymbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int classSymbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_symbol = 1;</code>
|
||||
* <code>required int32 class_symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasClassSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_symbol = 1;</code>
|
||||
* <code>required int32 class_symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getClassSymbol() {
|
||||
public int getClassSymbol() {
|
||||
return classSymbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_symbol = 1;</code>
|
||||
* <code>required int32 class_symbol = 1;</code>
|
||||
*/
|
||||
public Builder setClassSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setClassSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
classSymbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_symbol = 1;</code>
|
||||
*/
|
||||
public Builder setClassSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
classSymbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeClassSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
classSymbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
classSymbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(classSymbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
classSymbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_symbol = 1;</code>
|
||||
* <code>required int32 class_symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearClassSymbol() {
|
||||
classSymbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
classSymbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int classType_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_type = 2;</code>
|
||||
* <code>required int32 class_type = 2;</code>
|
||||
*/
|
||||
public boolean hasClassType() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_type = 2;</code>
|
||||
* <code>required int32 class_type = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getClassType() {
|
||||
public int getClassType() {
|
||||
return classType_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_type = 2;</code>
|
||||
* <code>required int32 class_type = 2;</code>
|
||||
*/
|
||||
public Builder setClassType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setClassType(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
classType_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_type = 2;</code>
|
||||
*/
|
||||
public Builder setClassType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
classType_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_type = 2;</code>
|
||||
*/
|
||||
public Builder mergeClassType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
classType_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
classType_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(classType_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
classType_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_type = 2;</code>
|
||||
* <code>required int32 class_type = 2;</code>
|
||||
*/
|
||||
public Builder clearClassType() {
|
||||
classType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
classType_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -8,20 +8,20 @@ public interface IrClassReferenceOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_symbol = 1;</code>
|
||||
* <code>required int32 class_symbol = 1;</code>
|
||||
*/
|
||||
boolean hasClassSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_symbol = 1;</code>
|
||||
* <code>required int32 class_symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getClassSymbol();
|
||||
int getClassSymbol();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_type = 2;</code>
|
||||
* <code>required int32 class_type = 2;</code>
|
||||
*/
|
||||
boolean hasClassType();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex class_type = 2;</code>
|
||||
* <code>required int32 class_type = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getClassType();
|
||||
int getClassType();
|
||||
}
|
||||
+22
-68
@@ -98,17 +98,9 @@ public final class IrConst extends
|
||||
value_ = input.readDouble();
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (valueCase_ == 10) {
|
||||
subBuilder = ((org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) value_).toBuilder();
|
||||
}
|
||||
value_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom((org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) value_);
|
||||
value_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 80: {
|
||||
valueCase_ = 10;
|
||||
value_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -347,19 +339,19 @@ public final class IrConst extends
|
||||
|
||||
public static final int STRING_FIELD_NUMBER = 10;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex string = 10;</code>
|
||||
* <code>optional int32 string = 10;</code>
|
||||
*/
|
||||
public boolean hasString() {
|
||||
return valueCase_ == 10;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex string = 10;</code>
|
||||
* <code>optional int32 string = 10;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getString() {
|
||||
public int getString() {
|
||||
if (valueCase_ == 10) {
|
||||
return (org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) value_;
|
||||
return (java.lang.Integer) value_;
|
||||
}
|
||||
return org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
return 0;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
@@ -370,12 +362,6 @@ public final class IrConst extends
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
if (hasString()) {
|
||||
if (!getString().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -420,7 +406,8 @@ public final class IrConst extends
|
||||
9, (double)((java.lang.Double) value_));
|
||||
}
|
||||
if (valueCase_ == 10) {
|
||||
output.writeMessage(10, (org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) value_);
|
||||
output.writeInt32(
|
||||
10, (int)((java.lang.Integer) value_));
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -478,7 +465,8 @@ public final class IrConst extends
|
||||
}
|
||||
if (valueCase_ == 10) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(10, (org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) value_);
|
||||
.computeInt32Size(
|
||||
10, (int)((java.lang.Integer) value_));
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -674,7 +662,7 @@ public final class IrConst extends
|
||||
break;
|
||||
}
|
||||
case STRING: {
|
||||
mergeString(other.getString());
|
||||
setString(other.getString());
|
||||
break;
|
||||
}
|
||||
case VALUE_NOT_SET: {
|
||||
@@ -687,12 +675,6 @@ public final class IrConst extends
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
if (hasString()) {
|
||||
if (!getString().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1054,59 +1036,31 @@ public final class IrConst extends
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex string = 10;</code>
|
||||
* <code>optional int32 string = 10;</code>
|
||||
*/
|
||||
public boolean hasString() {
|
||||
return valueCase_ == 10;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex string = 10;</code>
|
||||
* <code>optional int32 string = 10;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getString() {
|
||||
public int getString() {
|
||||
if (valueCase_ == 10) {
|
||||
return (org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) value_;
|
||||
return (java.lang.Integer) value_;
|
||||
}
|
||||
return org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
return 0;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex string = 10;</code>
|
||||
* <code>optional int32 string = 10;</code>
|
||||
*/
|
||||
public Builder setString(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setString(int value) {
|
||||
valueCase_ = 10;
|
||||
value_ = value;
|
||||
|
||||
valueCase_ = 10;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex string = 10;</code>
|
||||
*/
|
||||
public Builder setString(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
value_ = builderForValue.build();
|
||||
|
||||
valueCase_ = 10;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex string = 10;</code>
|
||||
*/
|
||||
public Builder mergeString(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (valueCase_ == 10 &&
|
||||
value_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
value_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder((org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) value_)
|
||||
.mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
value_ = value;
|
||||
}
|
||||
|
||||
valueCase_ = 10;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex string = 10;</code>
|
||||
* <code>optional int32 string = 10;</code>
|
||||
*/
|
||||
public Builder clearString() {
|
||||
if (valueCase_ == 10) {
|
||||
|
||||
+3
-3
@@ -89,11 +89,11 @@ public interface IrConstOrBuilder extends
|
||||
double getDouble();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex string = 10;</code>
|
||||
* <code>optional int32 string = 10;</code>
|
||||
*/
|
||||
boolean hasString();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex string = 10;</code>
|
||||
* <code>optional int32 string = 10;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getString();
|
||||
int getString();
|
||||
}
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrConstructorCall extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
@@ -119,17 +111,17 @@ public final class IrConstructorCall extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
@@ -164,7 +156,7 @@ public final class IrConstructorCall extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
constructorTypeArgumentsCount_ = 0;
|
||||
memberAccess_ = org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon.getDefaultInstance();
|
||||
}
|
||||
@@ -186,10 +178,6 @@ public final class IrConstructorCall extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getMemberAccess().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -202,7 +190,7 @@ public final class IrConstructorCall extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeInt32(2, constructorTypeArgumentsCount_);
|
||||
@@ -221,7 +209,7 @@ public final class IrConstructorCall extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -325,7 +313,7 @@ public final class IrConstructorCall extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
constructorTypeArgumentsCount_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -373,7 +361,7 @@ public final class IrConstructorCall extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrConstructorCall other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrConstructorCall.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
if (other.hasConstructorTypeArgumentsCount()) {
|
||||
setConstructorTypeArgumentsCount(other.getConstructorTypeArgumentsCount());
|
||||
@@ -399,10 +387,6 @@ public final class IrConstructorCall extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getMemberAccess().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -429,63 +413,35 @@ public final class IrConstructorCall extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ public interface IrConstructorCallOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
|
||||
/**
|
||||
* <code>required int32 constructor_type_arguments_count = 2;</code>
|
||||
|
||||
+22
-70
@@ -58,17 +58,9 @@ public final class IrContinue extends
|
||||
loopId_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = label_.toBuilder();
|
||||
}
|
||||
label_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(label_);
|
||||
label_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
label_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -121,23 +113,23 @@ public final class IrContinue extends
|
||||
}
|
||||
|
||||
public static final int LABEL_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label_;
|
||||
private int label_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public boolean hasLabel() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getLabel() {
|
||||
public int getLabel() {
|
||||
return label_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
loopId_ = 0;
|
||||
label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
label_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -149,12 +141,6 @@ public final class IrContinue extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasLabel()) {
|
||||
if (!getLabel().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -166,7 +152,7 @@ public final class IrContinue extends
|
||||
output.writeInt32(1, loopId_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, label_);
|
||||
output.writeInt32(2, label_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -183,7 +169,7 @@ public final class IrContinue extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, label_);
|
||||
.computeInt32Size(2, label_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -281,7 +267,7 @@ public final class IrContinue extends
|
||||
super.clear();
|
||||
loopId_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
label_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
return this;
|
||||
}
|
||||
@@ -324,7 +310,7 @@ public final class IrContinue extends
|
||||
setLoopId(other.getLoopId());
|
||||
}
|
||||
if (other.hasLabel()) {
|
||||
mergeLabel(other.getLabel());
|
||||
setLabel(other.getLabel());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -336,12 +322,6 @@ public final class IrContinue extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasLabel()) {
|
||||
if (!getLabel().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -396,63 +376,35 @@ public final class IrContinue extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int label_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public boolean hasLabel() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getLabel() {
|
||||
public int getLabel() {
|
||||
return label_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public Builder setLabel(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setLabel(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
label_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
*/
|
||||
public Builder setLabel(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
label_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
*/
|
||||
public Builder mergeLabel(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
label_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
label_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(label_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
label_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
public Builder clearLabel() {
|
||||
label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
label_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -17,11 +17,11 @@ public interface IrContinueOrBuilder extends
|
||||
int getLoopId();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
boolean hasLabel();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 2;</code>
|
||||
* <code>optional int32 label = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getLabel();
|
||||
int getLabel();
|
||||
}
|
||||
-351
@@ -1,351 +0,0 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
||||
|
||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
||||
|
||||
/**
|
||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex}
|
||||
*/
|
||||
public final class IrDataIndex extends
|
||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite implements
|
||||
// @@protoc_insertion_point(message_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex)
|
||||
IrDataIndexOrBuilder {
|
||||
// Use IrDataIndex.newBuilder() to construct.
|
||||
private IrDataIndex(org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder builder) {
|
||||
super(builder);
|
||||
this.unknownFields = builder.getUnknownFields();
|
||||
}
|
||||
private IrDataIndex(boolean noInit) { this.unknownFields = org.jetbrains.kotlin.protobuf.ByteString.EMPTY;}
|
||||
|
||||
private static final IrDataIndex defaultInstance;
|
||||
public static IrDataIndex getDefaultInstance() {
|
||||
return defaultInstance;
|
||||
}
|
||||
|
||||
public IrDataIndex getDefaultInstanceForType() {
|
||||
return defaultInstance;
|
||||
}
|
||||
|
||||
private final org.jetbrains.kotlin.protobuf.ByteString unknownFields;
|
||||
private IrDataIndex(
|
||||
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;
|
||||
index_ = 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<IrDataIndex> PARSER =
|
||||
new org.jetbrains.kotlin.protobuf.AbstractParser<IrDataIndex>() {
|
||||
public IrDataIndex parsePartialFrom(
|
||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
||||
return new IrDataIndex(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
@java.lang.Override
|
||||
public org.jetbrains.kotlin.protobuf.Parser<IrDataIndex> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
private int bitField0_;
|
||||
public static final int INDEX_FIELD_NUMBER = 1;
|
||||
private int index_;
|
||||
/**
|
||||
* <code>required int32 index = 1;</code>
|
||||
*/
|
||||
public boolean hasIndex() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required int32 index = 1;</code>
|
||||
*/
|
||||
public int getIndex() {
|
||||
return index_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
index_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
if (!hasIndex()) {
|
||||
memoizedIsInitialized = 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, index_);
|
||||
}
|
||||
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, index_);
|
||||
}
|
||||
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.backend.common.serialization.proto.IrDataIndex parseFrom(
|
||||
org.jetbrains.kotlin.protobuf.ByteString data)
|
||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex 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.backend.common.serialization.proto.IrDataIndex parseFrom(byte[] data)
|
||||
throws org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex 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.backend.common.serialization.proto.IrDataIndex parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input);
|
||||
}
|
||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex 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.backend.common.serialization.proto.IrDataIndex parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseDelimitedFrom(input);
|
||||
}
|
||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex 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.backend.common.serialization.proto.IrDataIndex parseFrom(
|
||||
org.jetbrains.kotlin.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input);
|
||||
}
|
||||
public static org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex 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.backend.common.serialization.proto.IrDataIndex prototype) {
|
||||
return newBuilder().mergeFrom(prototype);
|
||||
}
|
||||
public Builder toBuilder() { return newBuilder(this); }
|
||||
|
||||
/**
|
||||
* Protobuf type {@code org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
org.jetbrains.kotlin.protobuf.GeneratedMessageLite.Builder<
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex, Builder>
|
||||
implements
|
||||
// @@protoc_insertion_point(builder_implements:org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex)
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder {
|
||||
// Construct using org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private void maybeForceBuilderInitialization() {
|
||||
}
|
||||
private static Builder create() {
|
||||
return new Builder();
|
||||
}
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
index_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder clone() {
|
||||
return create().mergeFrom(buildPartial());
|
||||
}
|
||||
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getDefaultInstanceForType() {
|
||||
return org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
}
|
||||
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex build() {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex buildPartial() {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex result = new org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
int to_bitField0_ = 0;
|
||||
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
to_bitField0_ |= 0x00000001;
|
||||
}
|
||||
result.index_ = index_;
|
||||
result.bitField0_ = to_bitField0_;
|
||||
return result;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) return this;
|
||||
if (other.hasIndex()) {
|
||||
setIndex(other.getIndex());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
return this;
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
if (!hasIndex()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(
|
||||
org.jetbrains.kotlin.protobuf.CodedInputStream input,
|
||||
org.jetbrains.kotlin.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) e.getUnfinishedMessage();
|
||||
throw e;
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int index_ ;
|
||||
/**
|
||||
* <code>required int32 index = 1;</code>
|
||||
*/
|
||||
public boolean hasIndex() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required int32 index = 1;</code>
|
||||
*/
|
||||
public int getIndex() {
|
||||
return index_;
|
||||
}
|
||||
/**
|
||||
* <code>required int32 index = 1;</code>
|
||||
*/
|
||||
public Builder setIndex(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
index_ = value;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required int32 index = 1;</code>
|
||||
*/
|
||||
public Builder clearIndex() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
index_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex)
|
||||
}
|
||||
|
||||
static {
|
||||
defaultInstance = new IrDataIndex(true);
|
||||
defaultInstance.initFields();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex)
|
||||
}
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: compiler/ir/serialization.common/src/KotlinIr.proto
|
||||
|
||||
package org.jetbrains.kotlin.backend.common.serialization.proto;
|
||||
|
||||
public interface IrDataIndexOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex)
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required int32 index = 1;</code>
|
||||
*/
|
||||
boolean hasIndex();
|
||||
/**
|
||||
* <code>required int32 index = 1;</code>
|
||||
*/
|
||||
int getIndex();
|
||||
}
|
||||
+22
-74
@@ -53,17 +53,9 @@ public final class IrDeclarationBase extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
@@ -140,17 +132,17 @@ public final class IrDeclarationBase extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
@@ -200,7 +192,7 @@ public final class IrDeclarationBase extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationOrigin.getDefaultInstance();
|
||||
coordinates_ = org.jetbrains.kotlin.backend.common.serialization.proto.Coordinates.getDefaultInstance();
|
||||
annotations_ = org.jetbrains.kotlin.backend.common.serialization.proto.Annotations.getDefaultInstance();
|
||||
@@ -227,14 +219,6 @@ public final class IrDeclarationBase extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getOrigin().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getCoordinates().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -251,7 +235,7 @@ public final class IrDeclarationBase extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, origin_);
|
||||
@@ -273,7 +257,7 @@ public final class IrDeclarationBase extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -381,7 +365,7 @@ public final class IrDeclarationBase extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationOrigin.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -435,7 +419,7 @@ public final class IrDeclarationBase extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
if (other.hasOrigin()) {
|
||||
mergeOrigin(other.getOrigin());
|
||||
@@ -468,14 +452,6 @@ public final class IrDeclarationBase extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getOrigin().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getCoordinates().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -506,63 +482,35 @@ public final class IrDeclarationBase extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ public interface IrDeclarationBaseOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationOrigin origin = 2;</code>
|
||||
|
||||
+22
-68
@@ -65,17 +65,9 @@ public final class IrDeclarationOrigin extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (eitherCase_ == 2) {
|
||||
subBuilder = ((org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) either_).toBuilder();
|
||||
}
|
||||
either_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom((org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) either_);
|
||||
either_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
eitherCase_ = 2;
|
||||
either_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -162,19 +154,19 @@ public final class IrDeclarationOrigin extends
|
||||
|
||||
public static final int CUSTOM_FIELD_NUMBER = 2;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex custom = 2;</code>
|
||||
* <code>optional int32 custom = 2;</code>
|
||||
*/
|
||||
public boolean hasCustom() {
|
||||
return eitherCase_ == 2;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex custom = 2;</code>
|
||||
* <code>optional int32 custom = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getCustom() {
|
||||
public int getCustom() {
|
||||
if (eitherCase_ == 2) {
|
||||
return (org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) either_;
|
||||
return (java.lang.Integer) either_;
|
||||
}
|
||||
return org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
return 0;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
@@ -185,12 +177,6 @@ public final class IrDeclarationOrigin extends
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
if (hasCustom()) {
|
||||
if (!getCustom().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -202,7 +188,8 @@ public final class IrDeclarationOrigin extends
|
||||
output.writeEnum(1, ((org.jetbrains.kotlin.backend.common.serialization.proto.KnownOrigin) either_).getNumber());
|
||||
}
|
||||
if (eitherCase_ == 2) {
|
||||
output.writeMessage(2, (org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) either_);
|
||||
output.writeInt32(
|
||||
2, (int)((java.lang.Integer) either_));
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -219,7 +206,8 @@ public final class IrDeclarationOrigin extends
|
||||
}
|
||||
if (eitherCase_ == 2) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, (org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) either_);
|
||||
.computeInt32Size(
|
||||
2, (int)((java.lang.Integer) either_));
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -359,7 +347,7 @@ public final class IrDeclarationOrigin extends
|
||||
break;
|
||||
}
|
||||
case CUSTOM: {
|
||||
mergeCustom(other.getCustom());
|
||||
setCustom(other.getCustom());
|
||||
break;
|
||||
}
|
||||
case EITHER_NOT_SET: {
|
||||
@@ -372,12 +360,6 @@ public final class IrDeclarationOrigin extends
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
if (hasCustom()) {
|
||||
if (!getCustom().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -454,59 +436,31 @@ public final class IrDeclarationOrigin extends
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex custom = 2;</code>
|
||||
* <code>optional int32 custom = 2;</code>
|
||||
*/
|
||||
public boolean hasCustom() {
|
||||
return eitherCase_ == 2;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex custom = 2;</code>
|
||||
* <code>optional int32 custom = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getCustom() {
|
||||
public int getCustom() {
|
||||
if (eitherCase_ == 2) {
|
||||
return (org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) either_;
|
||||
return (java.lang.Integer) either_;
|
||||
}
|
||||
return org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
return 0;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex custom = 2;</code>
|
||||
* <code>optional int32 custom = 2;</code>
|
||||
*/
|
||||
public Builder setCustom(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setCustom(int value) {
|
||||
eitherCase_ = 2;
|
||||
either_ = value;
|
||||
|
||||
eitherCase_ = 2;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex custom = 2;</code>
|
||||
*/
|
||||
public Builder setCustom(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
either_ = builderForValue.build();
|
||||
|
||||
eitherCase_ = 2;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex custom = 2;</code>
|
||||
*/
|
||||
public Builder mergeCustom(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (eitherCase_ == 2 &&
|
||||
either_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
either_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder((org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex) either_)
|
||||
.mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
either_ = value;
|
||||
}
|
||||
|
||||
eitherCase_ = 2;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex custom = 2;</code>
|
||||
* <code>optional int32 custom = 2;</code>
|
||||
*/
|
||||
public Builder clearCustom() {
|
||||
if (eitherCase_ == 2) {
|
||||
|
||||
+3
-3
@@ -17,11 +17,11 @@ public interface IrDeclarationOriginOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.KnownOrigin getOrigin();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex custom = 2;</code>
|
||||
* <code>optional int32 custom = 2;</code>
|
||||
*/
|
||||
boolean hasCustom();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex custom = 2;</code>
|
||||
* <code>optional int32 custom = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getCustom();
|
||||
int getCustom();
|
||||
}
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrDelegatingConstructorCall extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
@@ -114,17 +106,17 @@ public final class IrDelegatingConstructorCall extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
@@ -144,7 +136,7 @@ public final class IrDelegatingConstructorCall extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
memberAccess_ = org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon.getDefaultInstance();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -161,10 +153,6 @@ public final class IrDelegatingConstructorCall extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getMemberAccess().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -177,7 +165,7 @@ public final class IrDelegatingConstructorCall extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, memberAccess_);
|
||||
@@ -193,7 +181,7 @@ public final class IrDelegatingConstructorCall extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -293,7 +281,7 @@ public final class IrDelegatingConstructorCall extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
memberAccess_ = org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -335,7 +323,7 @@ public final class IrDelegatingConstructorCall extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrDelegatingConstructorCall other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrDelegatingConstructorCall.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
if (other.hasMemberAccess()) {
|
||||
mergeMemberAccess(other.getMemberAccess());
|
||||
@@ -354,10 +342,6 @@ public final class IrDelegatingConstructorCall extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getMemberAccess().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -384,63 +368,35 @@ public final class IrDelegatingConstructorCall extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ public interface IrDelegatingConstructorCallOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon member_access = 2;</code>
|
||||
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrDynamicMemberExpression extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = memberName_.toBuilder();
|
||||
}
|
||||
memberName_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(memberName_);
|
||||
memberName_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
memberName_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
@@ -114,17 +106,17 @@ public final class IrDynamicMemberExpression extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int MEMBERNAME_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName_;
|
||||
private int memberName_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName = 1;</code>
|
||||
* <code>required int32 memberName = 1;</code>
|
||||
*/
|
||||
public boolean hasMemberName() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName = 1;</code>
|
||||
* <code>required int32 memberName = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getMemberName() {
|
||||
public int getMemberName() {
|
||||
return memberName_;
|
||||
}
|
||||
|
||||
@@ -144,7 +136,7 @@ public final class IrDynamicMemberExpression extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
memberName_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
memberName_ = 0;
|
||||
receiver_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -161,10 +153,6 @@ public final class IrDynamicMemberExpression extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getMemberName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getReceiver().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -177,7 +165,7 @@ public final class IrDynamicMemberExpression extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, memberName_);
|
||||
output.writeInt32(1, memberName_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, receiver_);
|
||||
@@ -193,7 +181,7 @@ public final class IrDynamicMemberExpression extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, memberName_);
|
||||
.computeInt32Size(1, memberName_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -293,7 +281,7 @@ public final class IrDynamicMemberExpression extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
memberName_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
memberName_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
receiver_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -335,7 +323,7 @@ public final class IrDynamicMemberExpression extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrDynamicMemberExpression other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrDynamicMemberExpression.getDefaultInstance()) return this;
|
||||
if (other.hasMemberName()) {
|
||||
mergeMemberName(other.getMemberName());
|
||||
setMemberName(other.getMemberName());
|
||||
}
|
||||
if (other.hasReceiver()) {
|
||||
mergeReceiver(other.getReceiver());
|
||||
@@ -354,10 +342,6 @@ public final class IrDynamicMemberExpression extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getMemberName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getReceiver().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -384,63 +368,35 @@ public final class IrDynamicMemberExpression extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int memberName_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName = 1;</code>
|
||||
* <code>required int32 memberName = 1;</code>
|
||||
*/
|
||||
public boolean hasMemberName() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName = 1;</code>
|
||||
* <code>required int32 memberName = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getMemberName() {
|
||||
public int getMemberName() {
|
||||
return memberName_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName = 1;</code>
|
||||
* <code>required int32 memberName = 1;</code>
|
||||
*/
|
||||
public Builder setMemberName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setMemberName(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
memberName_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName = 1;</code>
|
||||
*/
|
||||
public Builder setMemberName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
memberName_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName = 1;</code>
|
||||
*/
|
||||
public Builder mergeMemberName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
memberName_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
memberName_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(memberName_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
memberName_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName = 1;</code>
|
||||
* <code>required int32 memberName = 1;</code>
|
||||
*/
|
||||
public Builder clearMemberName() {
|
||||
memberName_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
memberName_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ public interface IrDynamicMemberExpressionOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName = 1;</code>
|
||||
* <code>required int32 memberName = 1;</code>
|
||||
*/
|
||||
boolean hasMemberName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex memberName = 1;</code>
|
||||
* <code>required int32 memberName = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getMemberName();
|
||||
int getMemberName();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression receiver = 2;</code>
|
||||
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrEnumConstructorCall extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
@@ -114,17 +106,17 @@ public final class IrEnumConstructorCall extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
@@ -144,7 +136,7 @@ public final class IrEnumConstructorCall extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
memberAccess_ = org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon.getDefaultInstance();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -161,10 +153,6 @@ public final class IrEnumConstructorCall extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getMemberAccess().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -177,7 +165,7 @@ public final class IrEnumConstructorCall extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, memberAccess_);
|
||||
@@ -193,7 +181,7 @@ public final class IrEnumConstructorCall extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -293,7 +281,7 @@ public final class IrEnumConstructorCall extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
memberAccess_ = org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -335,7 +323,7 @@ public final class IrEnumConstructorCall extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrEnumConstructorCall other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrEnumConstructorCall.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
if (other.hasMemberAccess()) {
|
||||
mergeMemberAccess(other.getMemberAccess());
|
||||
@@ -354,10 +342,6 @@ public final class IrEnumConstructorCall extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getMemberAccess().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -384,63 +368,35 @@ public final class IrEnumConstructorCall extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ public interface IrEnumConstructorCallOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon member_access = 2;</code>
|
||||
|
||||
+44
-136
@@ -66,17 +66,9 @@ public final class IrEnumEntry extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = initializer_.toBuilder();
|
||||
}
|
||||
initializer_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(initializer_);
|
||||
initializer_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
initializer_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
@@ -92,17 +84,9 @@ public final class IrEnumEntry extends
|
||||
bitField0_ |= 0x00000004;
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 32: {
|
||||
bitField0_ |= 0x00000008;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -155,17 +139,17 @@ public final class IrEnumEntry extends
|
||||
}
|
||||
|
||||
public static final int INITIALIZER_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer_;
|
||||
private int initializer_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public boolean hasInitializer() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getInitializer() {
|
||||
public int getInitializer() {
|
||||
return initializer_;
|
||||
}
|
||||
|
||||
@@ -185,25 +169,25 @@ public final class IrEnumEntry extends
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 4;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 4;</code>
|
||||
* <code>required int32 name = 4;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 4;</code>
|
||||
* <code>required int32 name = 4;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
initializer_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
initializer_ = 0;
|
||||
correspondingClass_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrClass.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -223,22 +207,12 @@ public final class IrEnumEntry extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasInitializer()) {
|
||||
if (!getInitializer().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasCorrespondingClass()) {
|
||||
if (!getCorrespondingClass().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -250,13 +224,13 @@ public final class IrEnumEntry extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, initializer_);
|
||||
output.writeInt32(2, initializer_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, correspondingClass_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeMessage(4, name_);
|
||||
output.writeInt32(4, name_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -273,7 +247,7 @@ public final class IrEnumEntry extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, initializer_);
|
||||
.computeInt32Size(2, initializer_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -281,7 +255,7 @@ public final class IrEnumEntry extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, name_);
|
||||
.computeInt32Size(4, name_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -379,11 +353,11 @@ public final class IrEnumEntry extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
initializer_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
initializer_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
correspondingClass_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrClass.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
return this;
|
||||
}
|
||||
@@ -434,13 +408,13 @@ public final class IrEnumEntry extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasInitializer()) {
|
||||
mergeInitializer(other.getInitializer());
|
||||
setInitializer(other.getInitializer());
|
||||
}
|
||||
if (other.hasCorrespondingClass()) {
|
||||
mergeCorrespondingClass(other.getCorrespondingClass());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -460,22 +434,12 @@ public final class IrEnumEntry extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasInitializer()) {
|
||||
if (!getInitializer().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasCorrespondingClass()) {
|
||||
if (!getCorrespondingClass().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -558,63 +522,35 @@ public final class IrEnumEntry extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int initializer_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public boolean hasInitializer() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getInitializer() {
|
||||
public int getInitializer() {
|
||||
return initializer_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public Builder setInitializer(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setInitializer(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
initializer_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
*/
|
||||
public Builder setInitializer(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
initializer_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
*/
|
||||
public Builder mergeInitializer(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
initializer_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
initializer_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(initializer_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
initializer_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public Builder clearInitializer() {
|
||||
initializer_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
initializer_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -678,63 +614,35 @@ public final class IrEnumEntry extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 4;</code>
|
||||
* <code>required int32 name = 4;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 4;</code>
|
||||
* <code>required int32 name = 4;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 4;</code>
|
||||
* <code>required int32 name = 4;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000008;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 4;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000008;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 4;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000008;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 4;</code>
|
||||
* <code>required int32 name = 4;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -17,13 +17,13 @@ public interface IrEnumEntryOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
boolean hasInitializer();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getInitializer();
|
||||
int getInitializer();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrClass corresponding_class = 3;</code>
|
||||
@@ -35,11 +35,11 @@ public interface IrEnumEntryOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrClass getCorrespondingClass();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 4;</code>
|
||||
* <code>required int32 name = 4;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 4;</code>
|
||||
* <code>required int32 name = 4;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
}
|
||||
+22
-66
@@ -66,17 +66,9 @@ public final class IrExpression extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = type_.toBuilder();
|
||||
}
|
||||
type_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(type_);
|
||||
type_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
type_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
@@ -142,17 +134,17 @@ public final class IrExpression extends
|
||||
}
|
||||
|
||||
public static final int TYPE_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_;
|
||||
private int type_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
|
||||
@@ -173,7 +165,7 @@ public final class IrExpression extends
|
||||
|
||||
private void initFields() {
|
||||
operation_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrOperation.getDefaultInstance();
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = 0;
|
||||
coordinates_ = org.jetbrains.kotlin.backend.common.serialization.proto.Coordinates.getDefaultInstance();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -198,10 +190,6 @@ public final class IrExpression extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getCoordinates().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -217,7 +205,7 @@ public final class IrExpression extends
|
||||
output.writeMessage(1, operation_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, type_);
|
||||
output.writeInt32(2, type_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, coordinates_);
|
||||
@@ -237,7 +225,7 @@ public final class IrExpression extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, type_);
|
||||
.computeInt32Size(2, type_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -339,7 +327,7 @@ public final class IrExpression extends
|
||||
super.clear();
|
||||
operation_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrOperation.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
coordinates_ = org.jetbrains.kotlin.backend.common.serialization.proto.Coordinates.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
@@ -388,7 +376,7 @@ public final class IrExpression extends
|
||||
mergeOperation(other.getOperation());
|
||||
}
|
||||
if (other.hasType()) {
|
||||
mergeType(other.getType());
|
||||
setType(other.getType());
|
||||
}
|
||||
if (other.hasCoordinates()) {
|
||||
mergeCoordinates(other.getCoordinates());
|
||||
@@ -415,10 +403,6 @@ public final class IrExpression extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getCoordinates().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -505,63 +489,35 @@ public final class IrExpression extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int type_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public Builder setType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setType(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
type_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
*/
|
||||
public Builder setType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
type_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
*/
|
||||
public Builder mergeType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
type_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
type_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(type_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
type_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public Builder clearType() {
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
type_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -17,13 +17,13 @@ public interface IrExpressionOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrOperation getOperation();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
boolean hasType();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType();
|
||||
int getType();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.Coordinates coordinates = 3;</code>
|
||||
|
||||
+66
-202
@@ -66,30 +66,14 @@ public final class IrField extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = initializer_.toBuilder();
|
||||
}
|
||||
initializer_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(initializer_);
|
||||
initializer_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
initializer_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 24: {
|
||||
bitField0_ |= 0x00000004;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
@@ -120,17 +104,9 @@ public final class IrField extends
|
||||
isStatic_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
||||
subBuilder = type_.toBuilder();
|
||||
}
|
||||
type_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(type_);
|
||||
type_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 64: {
|
||||
bitField0_ |= 0x00000080;
|
||||
type_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -183,32 +159,32 @@ public final class IrField extends
|
||||
}
|
||||
|
||||
public static final int INITIALIZER_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer_;
|
||||
private int initializer_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public boolean hasInitializer() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getInitializer() {
|
||||
public int getInitializer() {
|
||||
return initializer_;
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 3;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -273,29 +249,29 @@ public final class IrField extends
|
||||
}
|
||||
|
||||
public static final int TYPE_FIELD_NUMBER = 8;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_;
|
||||
private int type_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 8;</code>
|
||||
* <code>required int32 type = 8;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000080) == 0x00000080);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 8;</code>
|
||||
* <code>required int32 type = 8;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
initializer_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
initializer_ = 0;
|
||||
name_ = 0;
|
||||
visibility_ = org.jetbrains.kotlin.backend.common.serialization.proto.Visibility.getDefaultInstance();
|
||||
isFinal_ = false;
|
||||
isExternal_ = false;
|
||||
isStatic_ = false;
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -335,24 +311,10 @@ public final class IrField extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasInitializer()) {
|
||||
if (!getInitializer().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getVisibility().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -364,10 +326,10 @@ public final class IrField extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, initializer_);
|
||||
output.writeInt32(2, initializer_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, name_);
|
||||
output.writeInt32(3, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeMessage(4, visibility_);
|
||||
@@ -382,7 +344,7 @@ public final class IrField extends
|
||||
output.writeBool(7, isStatic_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
||||
output.writeMessage(8, type_);
|
||||
output.writeInt32(8, type_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -399,11 +361,11 @@ public final class IrField extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, initializer_);
|
||||
.computeInt32Size(2, initializer_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, name_);
|
||||
.computeInt32Size(3, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -423,7 +385,7 @@ public final class IrField extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(8, type_);
|
||||
.computeInt32Size(8, type_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -521,9 +483,9 @@ public final class IrField extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
initializer_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
initializer_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
visibility_ = org.jetbrains.kotlin.backend.common.serialization.proto.Visibility.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
@@ -533,7 +495,7 @@ public final class IrField extends
|
||||
bitField0_ = (bitField0_ & ~0x00000020);
|
||||
isStatic_ = false;
|
||||
bitField0_ = (bitField0_ & ~0x00000040);
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000080);
|
||||
return this;
|
||||
}
|
||||
@@ -600,10 +562,10 @@ public final class IrField extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasInitializer()) {
|
||||
mergeInitializer(other.getInitializer());
|
||||
setInitializer(other.getInitializer());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
if (other.hasVisibility()) {
|
||||
mergeVisibility(other.getVisibility());
|
||||
@@ -618,7 +580,7 @@ public final class IrField extends
|
||||
setIsStatic(other.getIsStatic());
|
||||
}
|
||||
if (other.hasType()) {
|
||||
mergeType(other.getType());
|
||||
setType(other.getType());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -658,24 +620,10 @@ public final class IrField extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasInitializer()) {
|
||||
if (!getInitializer().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getVisibility().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -758,123 +706,67 @@ public final class IrField extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int initializer_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public boolean hasInitializer() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getInitializer() {
|
||||
public int getInitializer() {
|
||||
return initializer_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public Builder setInitializer(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setInitializer(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
initializer_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
*/
|
||||
public Builder setInitializer(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
initializer_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
*/
|
||||
public Builder mergeInitializer(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
initializer_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
initializer_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(initializer_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
initializer_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
public Builder clearInitializer() {
|
||||
initializer_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
initializer_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -1034,63 +926,35 @@ public final class IrField extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int type_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 8;</code>
|
||||
* <code>required int32 type = 8;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000080) == 0x00000080);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 8;</code>
|
||||
* <code>required int32 type = 8;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 8;</code>
|
||||
* <code>required int32 type = 8;</code>
|
||||
*/
|
||||
public Builder setType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setType(int value) {
|
||||
bitField0_ |= 0x00000080;
|
||||
type_ = value;
|
||||
|
||||
bitField0_ |= 0x00000080;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 8;</code>
|
||||
*/
|
||||
public Builder setType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
type_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000080;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 8;</code>
|
||||
*/
|
||||
public Builder mergeType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000080) == 0x00000080) &&
|
||||
type_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
type_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(type_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
type_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000080;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 8;</code>
|
||||
* <code>required int32 type = 8;</code>
|
||||
*/
|
||||
public Builder clearType() {
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000080);
|
||||
type_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+9
-9
@@ -17,22 +17,22 @@ public interface IrFieldOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
boolean hasInitializer();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex initializer = 2;</code>
|
||||
* <code>optional int32 initializer = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getInitializer();
|
||||
int getInitializer();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 3;</code>
|
||||
* <code>required int32 name = 3;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.Visibility visibility = 4;</code>
|
||||
@@ -71,11 +71,11 @@ public interface IrFieldOrBuilder extends
|
||||
boolean getIsStatic();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 8;</code>
|
||||
* <code>required int32 type = 8;</code>
|
||||
*/
|
||||
boolean hasType();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 8;</code>
|
||||
* <code>required int32 type = 8;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType();
|
||||
int getType();
|
||||
}
|
||||
+51
-125
@@ -100,12 +100,25 @@ public final class IrFile extends
|
||||
bitField0_ |= 0x00000004;
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
case 40: {
|
||||
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
explicitlyExportedToCompiler_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>();
|
||||
explicitlyExportedToCompiler_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000010;
|
||||
}
|
||||
explicitlyExportedToCompiler_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry));
|
||||
explicitlyExportedToCompiler_.add(input.readInt32());
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) {
|
||||
explicitlyExportedToCompiler_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000010;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
explicitlyExportedToCompiler_.add(input.readInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -229,37 +242,24 @@ public final class IrFile extends
|
||||
}
|
||||
|
||||
public static final int EXPLICITLY_EXPORTED_TO_COMPILER_FIELD_NUMBER = 5;
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> explicitlyExportedToCompiler_;
|
||||
private java.util.List<java.lang.Integer> explicitlyExportedToCompiler_;
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getExplicitlyExportedToCompilerList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getExplicitlyExportedToCompilerList() {
|
||||
return explicitlyExportedToCompiler_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder>
|
||||
getExplicitlyExportedToCompilerOrBuilderList() {
|
||||
return explicitlyExportedToCompiler_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public int getExplicitlyExportedToCompilerCount() {
|
||||
return explicitlyExportedToCompiler_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getExplicitlyExportedToCompiler(int index) {
|
||||
return explicitlyExportedToCompiler_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder getExplicitlyExportedToCompilerOrBuilder(
|
||||
int index) {
|
||||
public int getExplicitlyExportedToCompiler(int index) {
|
||||
return explicitlyExportedToCompiler_.get(index);
|
||||
}
|
||||
|
||||
@@ -298,20 +298,10 @@ public final class IrFile extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getFqName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getAnnotations().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getExplicitlyExportedToCompilerCount(); i++) {
|
||||
if (!getExplicitlyExportedToCompiler(i).isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -332,7 +322,7 @@ public final class IrFile extends
|
||||
output.writeMessage(4, annotations_);
|
||||
}
|
||||
for (int i = 0; i < explicitlyExportedToCompiler_.size(); i++) {
|
||||
output.writeMessage(5, explicitlyExportedToCompiler_.get(i));
|
||||
output.writeInt32(5, explicitlyExportedToCompiler_.get(i));
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -359,9 +349,14 @@ public final class IrFile extends
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, annotations_);
|
||||
}
|
||||
for (int i = 0; i < explicitlyExportedToCompiler_.size(); i++) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(5, explicitlyExportedToCompiler_.get(i));
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < explicitlyExportedToCompiler_.size(); i++) {
|
||||
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(explicitlyExportedToCompiler_.get(i));
|
||||
}
|
||||
size += dataSize;
|
||||
size += 1 * getExplicitlyExportedToCompilerList().size();
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -575,20 +570,10 @@ public final class IrFile extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getFqName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getAnnotations().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getExplicitlyExportedToCompilerCount(); i++) {
|
||||
if (!getExplicitlyExportedToCompiler(i).isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -916,128 +901,69 @@ public final class IrFile extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> explicitlyExportedToCompiler_ =
|
||||
java.util.Collections.emptyList();
|
||||
private java.util.List<java.lang.Integer> explicitlyExportedToCompiler_ = java.util.Collections.emptyList();
|
||||
private void ensureExplicitlyExportedToCompilerIsMutable() {
|
||||
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
explicitlyExportedToCompiler_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>(explicitlyExportedToCompiler_);
|
||||
explicitlyExportedToCompiler_ = new java.util.ArrayList<java.lang.Integer>(explicitlyExportedToCompiler_);
|
||||
bitField0_ |= 0x00000010;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getExplicitlyExportedToCompilerList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getExplicitlyExportedToCompilerList() {
|
||||
return java.util.Collections.unmodifiableList(explicitlyExportedToCompiler_);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public int getExplicitlyExportedToCompilerCount() {
|
||||
return explicitlyExportedToCompiler_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getExplicitlyExportedToCompiler(int index) {
|
||||
public int getExplicitlyExportedToCompiler(int index) {
|
||||
return explicitlyExportedToCompiler_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public Builder setExplicitlyExportedToCompiler(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
int index, int value) {
|
||||
ensureExplicitlyExportedToCompilerIsMutable();
|
||||
explicitlyExportedToCompiler_.set(index, value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public Builder setExplicitlyExportedToCompiler(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureExplicitlyExportedToCompilerIsMutable();
|
||||
explicitlyExportedToCompiler_.set(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public Builder addExplicitlyExportedToCompiler(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder addExplicitlyExportedToCompiler(int value) {
|
||||
ensureExplicitlyExportedToCompilerIsMutable();
|
||||
explicitlyExportedToCompiler_.add(value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public Builder addExplicitlyExportedToCompiler(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureExplicitlyExportedToCompilerIsMutable();
|
||||
explicitlyExportedToCompiler_.add(index, value);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public Builder addExplicitlyExportedToCompiler(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureExplicitlyExportedToCompilerIsMutable();
|
||||
explicitlyExportedToCompiler_.add(builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public Builder addExplicitlyExportedToCompiler(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureExplicitlyExportedToCompilerIsMutable();
|
||||
explicitlyExportedToCompiler_.add(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public Builder addAllExplicitlyExportedToCompiler(
|
||||
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> values) {
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureExplicitlyExportedToCompilerIsMutable();
|
||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, explicitlyExportedToCompiler_);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public Builder clearExplicitlyExportedToCompiler() {
|
||||
explicitlyExportedToCompiler_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
public Builder removeExplicitlyExportedToCompiler(int index) {
|
||||
ensureExplicitlyExportedToCompilerIsMutable();
|
||||
explicitlyExportedToCompiler_.remove(index);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+7
-8
@@ -49,16 +49,15 @@ public interface IrFileOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.Annotations getAnnotations();
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>
|
||||
getExplicitlyExportedToCompilerList();
|
||||
java.util.List<java.lang.Integer> getExplicitlyExportedToCompilerList();
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getExplicitlyExportedToCompiler(int index);
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex explicitly_exported_to_compiler = 5;</code>
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
int getExplicitlyExportedToCompilerCount();
|
||||
/**
|
||||
* <code>repeated int32 explicitly_exported_to_compiler = 5;</code>
|
||||
*/
|
||||
int getExplicitlyExportedToCompiler(int index);
|
||||
}
|
||||
+51
-145
@@ -88,12 +88,25 @@ public final class IrFunction extends
|
||||
isSuspend_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
case 40: {
|
||||
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
overridden_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>();
|
||||
overridden_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000010;
|
||||
}
|
||||
overridden_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry));
|
||||
overridden_.add(input.readInt32());
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) {
|
||||
overridden_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000010;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
overridden_.add(input.readInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -194,30 +207,20 @@ public final class IrFunction extends
|
||||
}
|
||||
|
||||
public static final int OVERRIDDEN_FIELD_NUMBER = 5;
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> overridden_;
|
||||
private java.util.List<java.lang.Integer> overridden_;
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getOverriddenList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getOverriddenList() {
|
||||
return overridden_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder>
|
||||
getOverriddenOrBuilderList() {
|
||||
return overridden_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
@@ -227,24 +230,13 @@ public final class IrFunction extends
|
||||
return overridden_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getOverridden(int index) {
|
||||
return overridden_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder getOverriddenOrBuilder(
|
||||
int index) {
|
||||
public int getOverridden(int index) {
|
||||
return overridden_.get(index);
|
||||
}
|
||||
|
||||
@@ -281,12 +273,6 @@ public final class IrFunction extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getOverriddenCount(); i++) {
|
||||
if (!getOverridden(i).isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -307,7 +293,7 @@ public final class IrFunction extends
|
||||
output.writeBool(4, isSuspend_);
|
||||
}
|
||||
for (int i = 0; i < overridden_.size(); i++) {
|
||||
output.writeMessage(5, overridden_.get(i));
|
||||
output.writeInt32(5, overridden_.get(i));
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -334,9 +320,14 @@ public final class IrFunction extends
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeBoolSize(4, isSuspend_);
|
||||
}
|
||||
for (int i = 0; i < overridden_.size(); i++) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(5, overridden_.get(i));
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < overridden_.size(); i++) {
|
||||
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(overridden_.get(i));
|
||||
}
|
||||
size += dataSize;
|
||||
size += 1 * getOverriddenList().size();
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -540,12 +531,6 @@ public final class IrFunction extends
|
||||
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getOverriddenCount(); i++) {
|
||||
if (!getOverridden(i).isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -727,27 +712,26 @@ public final class IrFunction extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> overridden_ =
|
||||
java.util.Collections.emptyList();
|
||||
private java.util.List<java.lang.Integer> overridden_ = java.util.Collections.emptyList();
|
||||
private void ensureOverriddenIsMutable() {
|
||||
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
overridden_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>(overridden_);
|
||||
overridden_ = new java.util.ArrayList<java.lang.Integer>(overridden_);
|
||||
bitField0_ |= 0x00000010;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getOverriddenList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getOverriddenList() {
|
||||
return java.util.Collections.unmodifiableList(overridden_);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
@@ -757,124 +741,59 @@ public final class IrFunction extends
|
||||
return overridden_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getOverridden(int index) {
|
||||
public int getOverridden(int index) {
|
||||
return overridden_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public Builder setOverridden(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
int index, int value) {
|
||||
ensureOverriddenIsMutable();
|
||||
overridden_.set(index, value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public Builder setOverridden(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureOverriddenIsMutable();
|
||||
overridden_.set(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public Builder addOverridden(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder addOverridden(int value) {
|
||||
ensureOverriddenIsMutable();
|
||||
overridden_.add(value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public Builder addOverridden(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureOverriddenIsMutable();
|
||||
overridden_.add(index, value);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public Builder addOverridden(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureOverriddenIsMutable();
|
||||
overridden_.add(builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public Builder addOverridden(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureOverriddenIsMutable();
|
||||
overridden_.add(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public Builder addAllOverridden(
|
||||
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> values) {
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureOverriddenIsMutable();
|
||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, overridden_);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
@@ -883,20 +802,7 @@ public final class IrFunction extends
|
||||
public Builder clearOverridden() {
|
||||
overridden_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
public Builder removeOverridden(int index) {
|
||||
ensureOverriddenIsMutable();
|
||||
overridden_.remove(index);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+66
-202
@@ -66,17 +66,9 @@ public final class IrFunctionBase extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
@@ -149,30 +141,14 @@ public final class IrFunctionBase extends
|
||||
valueParameter_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.PARSER, extensionRegistry));
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000100) == 0x00000100)) {
|
||||
subBuilder = body_.toBuilder();
|
||||
}
|
||||
body_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(body_);
|
||||
body_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 80: {
|
||||
bitField0_ |= 0x00000100;
|
||||
body_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000200) == 0x00000200)) {
|
||||
subBuilder = returnType_.toBuilder();
|
||||
}
|
||||
returnType_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(returnType_);
|
||||
returnType_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 88: {
|
||||
bitField0_ |= 0x00000200;
|
||||
returnType_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -228,17 +204,17 @@ public final class IrFunctionBase extends
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -368,38 +344,38 @@ public final class IrFunctionBase extends
|
||||
}
|
||||
|
||||
public static final int BODY_FIELD_NUMBER = 10;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body_;
|
||||
private int body_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 10;</code>
|
||||
* <code>optional int32 body = 10;</code>
|
||||
*/
|
||||
public boolean hasBody() {
|
||||
return ((bitField0_ & 0x00000100) == 0x00000100);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 10;</code>
|
||||
* <code>optional int32 body = 10;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getBody() {
|
||||
public int getBody() {
|
||||
return body_;
|
||||
}
|
||||
|
||||
public static final int RETURN_TYPE_FIELD_NUMBER = 11;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex returnType_;
|
||||
private int returnType_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_type = 11;</code>
|
||||
* <code>required int32 return_type = 11;</code>
|
||||
*/
|
||||
public boolean hasReturnType() {
|
||||
return ((bitField0_ & 0x00000200) == 0x00000200);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_type = 11;</code>
|
||||
* <code>required int32 return_type = 11;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getReturnType() {
|
||||
public int getReturnType() {
|
||||
return returnType_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
visibility_ = org.jetbrains.kotlin.backend.common.serialization.proto.Visibility.getDefaultInstance();
|
||||
isInline_ = false;
|
||||
isExternal_ = false;
|
||||
@@ -407,8 +383,8 @@ public final class IrFunctionBase extends
|
||||
dispatchReceiver_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.getDefaultInstance();
|
||||
extensionReceiver_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrValueParameter.getDefaultInstance();
|
||||
valueParameter_ = java.util.Collections.emptyList();
|
||||
body_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
returnType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
body_ = 0;
|
||||
returnType_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -448,10 +424,6 @@ public final class IrFunctionBase extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getVisibility().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -478,16 +450,6 @@ public final class IrFunctionBase extends
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasBody()) {
|
||||
if (!getBody().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!getReturnType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -499,7 +461,7 @@ public final class IrFunctionBase extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, name_);
|
||||
output.writeInt32(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, visibility_);
|
||||
@@ -523,10 +485,10 @@ public final class IrFunctionBase extends
|
||||
output.writeMessage(9, valueParameter_.get(i));
|
||||
}
|
||||
if (((bitField0_ & 0x00000100) == 0x00000100)) {
|
||||
output.writeMessage(10, body_);
|
||||
output.writeInt32(10, body_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000200) == 0x00000200)) {
|
||||
output.writeMessage(11, returnType_);
|
||||
output.writeInt32(11, returnType_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -543,7 +505,7 @@ public final class IrFunctionBase extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, name_);
|
||||
.computeInt32Size(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -575,11 +537,11 @@ public final class IrFunctionBase extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000100) == 0x00000100)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(10, body_);
|
||||
.computeInt32Size(10, body_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000200) == 0x00000200)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(11, returnType_);
|
||||
.computeInt32Size(11, returnType_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -677,7 +639,7 @@ public final class IrFunctionBase extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
visibility_ = org.jetbrains.kotlin.backend.common.serialization.proto.Visibility.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
@@ -693,9 +655,9 @@ public final class IrFunctionBase extends
|
||||
bitField0_ = (bitField0_ & ~0x00000080);
|
||||
valueParameter_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000100);
|
||||
body_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
body_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000200);
|
||||
returnType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
returnType_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000400);
|
||||
return this;
|
||||
}
|
||||
@@ -775,7 +737,7 @@ public final class IrFunctionBase extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
if (other.hasVisibility()) {
|
||||
mergeVisibility(other.getVisibility());
|
||||
@@ -806,10 +768,10 @@ public final class IrFunctionBase extends
|
||||
|
||||
}
|
||||
if (other.hasBody()) {
|
||||
mergeBody(other.getBody());
|
||||
setBody(other.getBody());
|
||||
}
|
||||
if (other.hasReturnType()) {
|
||||
mergeReturnType(other.getReturnType());
|
||||
setReturnType(other.getReturnType());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -849,10 +811,6 @@ public final class IrFunctionBase extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getVisibility().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -879,16 +837,6 @@ public final class IrFunctionBase extends
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasBody()) {
|
||||
if (!getBody().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!getReturnType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -971,63 +919,35 @@ public final class IrFunctionBase extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -1460,123 +1380,67 @@ public final class IrFunctionBase extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int body_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 10;</code>
|
||||
* <code>optional int32 body = 10;</code>
|
||||
*/
|
||||
public boolean hasBody() {
|
||||
return ((bitField0_ & 0x00000200) == 0x00000200);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 10;</code>
|
||||
* <code>optional int32 body = 10;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getBody() {
|
||||
public int getBody() {
|
||||
return body_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 10;</code>
|
||||
* <code>optional int32 body = 10;</code>
|
||||
*/
|
||||
public Builder setBody(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setBody(int value) {
|
||||
bitField0_ |= 0x00000200;
|
||||
body_ = value;
|
||||
|
||||
bitField0_ |= 0x00000200;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 10;</code>
|
||||
*/
|
||||
public Builder setBody(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
body_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000200;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 10;</code>
|
||||
*/
|
||||
public Builder mergeBody(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000200) == 0x00000200) &&
|
||||
body_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
body_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(body_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
body_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000200;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 10;</code>
|
||||
* <code>optional int32 body = 10;</code>
|
||||
*/
|
||||
public Builder clearBody() {
|
||||
body_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000200);
|
||||
body_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex returnType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int returnType_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_type = 11;</code>
|
||||
* <code>required int32 return_type = 11;</code>
|
||||
*/
|
||||
public boolean hasReturnType() {
|
||||
return ((bitField0_ & 0x00000400) == 0x00000400);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_type = 11;</code>
|
||||
* <code>required int32 return_type = 11;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getReturnType() {
|
||||
public int getReturnType() {
|
||||
return returnType_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_type = 11;</code>
|
||||
* <code>required int32 return_type = 11;</code>
|
||||
*/
|
||||
public Builder setReturnType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setReturnType(int value) {
|
||||
bitField0_ |= 0x00000400;
|
||||
returnType_ = value;
|
||||
|
||||
bitField0_ |= 0x00000400;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_type = 11;</code>
|
||||
*/
|
||||
public Builder setReturnType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
returnType_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000400;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_type = 11;</code>
|
||||
*/
|
||||
public Builder mergeReturnType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000400) == 0x00000400) &&
|
||||
returnType_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
returnType_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(returnType_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
returnType_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000400;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_type = 11;</code>
|
||||
* <code>required int32 return_type = 11;</code>
|
||||
*/
|
||||
public Builder clearReturnType() {
|
||||
returnType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000400);
|
||||
returnType_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+9
-9
@@ -17,13 +17,13 @@ public interface IrFunctionBaseOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.Visibility visibility = 3;</code>
|
||||
@@ -94,20 +94,20 @@ public interface IrFunctionBaseOrBuilder extends
|
||||
int getValueParameterCount();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 10;</code>
|
||||
* <code>optional int32 body = 10;</code>
|
||||
*/
|
||||
boolean hasBody();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex body = 10;</code>
|
||||
* <code>optional int32 body = 10;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getBody();
|
||||
int getBody();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_type = 11;</code>
|
||||
* <code>required int32 return_type = 11;</code>
|
||||
*/
|
||||
boolean hasReturnType();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_type = 11;</code>
|
||||
* <code>required int32 return_type = 11;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getReturnType();
|
||||
int getReturnType();
|
||||
}
|
||||
+11
-12
@@ -44,28 +44,27 @@ public interface IrFunctionOrBuilder extends
|
||||
boolean getIsSuspend();
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>
|
||||
getOverriddenList();
|
||||
java.util.List<java.lang.Integer> getOverriddenList();
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getOverridden(int index);
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex overridden = 5;</code>
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
int getOverriddenCount();
|
||||
/**
|
||||
* <code>repeated int32 overridden = 5;</code>
|
||||
*
|
||||
* <pre>
|
||||
*optional UniqId corresponding_property = 7;
|
||||
* </pre>
|
||||
*/
|
||||
int getOverridden(int index);
|
||||
}
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrFunctionReference extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
@@ -127,17 +119,17 @@ public final class IrFunctionReference extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
@@ -172,7 +164,7 @@ public final class IrFunctionReference extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
memberAccess_ = org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon.getDefaultInstance();
|
||||
}
|
||||
@@ -190,10 +182,6 @@ public final class IrFunctionReference extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasOrigin()) {
|
||||
if (!getOrigin().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -212,7 +200,7 @@ public final class IrFunctionReference extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, origin_);
|
||||
@@ -231,7 +219,7 @@ public final class IrFunctionReference extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -335,7 +323,7 @@ public final class IrFunctionReference extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -383,7 +371,7 @@ public final class IrFunctionReference extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrFunctionReference other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrFunctionReference.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
if (other.hasOrigin()) {
|
||||
mergeOrigin(other.getOrigin());
|
||||
@@ -405,10 +393,6 @@ public final class IrFunctionReference extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasOrigin()) {
|
||||
if (!getOrigin().isInitialized()) {
|
||||
|
||||
@@ -441,63 +425,35 @@ public final class IrFunctionReference extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ public interface IrFunctionReferenceOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin origin = 2;</code>
|
||||
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrGetEnumValue extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -101,22 +93,22 @@ public final class IrGetEnumValue extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 2;</code>
|
||||
* <code>required int32 symbol = 2;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 2;</code>
|
||||
* <code>required int32 symbol = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -128,10 +120,6 @@ public final class IrGetEnumValue extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -140,7 +128,7 @@ public final class IrGetEnumValue extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(2, symbol_);
|
||||
output.writeInt32(2, symbol_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -153,7 +141,7 @@ public final class IrGetEnumValue extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, symbol_);
|
||||
.computeInt32Size(2, symbol_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -249,7 +237,7 @@ public final class IrGetEnumValue extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
@@ -285,7 +273,7 @@ public final class IrGetEnumValue extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrGetEnumValue other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrGetEnumValue.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -297,10 +285,6 @@ public final class IrGetEnumValue extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -323,63 +307,35 @@ public final class IrGetEnumValue extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 2;</code>
|
||||
* <code>required int32 symbol = 2;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 2;</code>
|
||||
* <code>required int32 symbol = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 2;</code>
|
||||
* <code>required int32 symbol = 2;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 2;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 2;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 2;</code>
|
||||
* <code>required int32 symbol = 2;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,11 +8,11 @@ public interface IrGetEnumValueOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 2;</code>
|
||||
* <code>required int32 symbol = 2;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 2;</code>
|
||||
* <code>required int32 symbol = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
}
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrGetObject extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -101,22 +93,22 @@ public final class IrGetObject extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -128,10 +120,6 @@ public final class IrGetObject extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -140,7 +128,7 @@ public final class IrGetObject extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -153,7 +141,7 @@ public final class IrGetObject extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -249,7 +237,7 @@ public final class IrGetObject extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
@@ -285,7 +273,7 @@ public final class IrGetObject extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrGetObject other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrGetObject.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -297,10 +285,6 @@ public final class IrGetObject extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -323,63 +307,35 @@ public final class IrGetObject extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,11 +8,11 @@ public interface IrGetObjectOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
}
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrGetValue extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
@@ -114,17 +106,17 @@ public final class IrGetValue extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
@@ -144,7 +136,7 @@ public final class IrGetValue extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -157,10 +149,6 @@ public final class IrGetValue extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasOrigin()) {
|
||||
if (!getOrigin().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -175,7 +163,7 @@ public final class IrGetValue extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, origin_);
|
||||
@@ -191,7 +179,7 @@ public final class IrGetValue extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -291,7 +279,7 @@ public final class IrGetValue extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -333,7 +321,7 @@ public final class IrGetValue extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrGetValue other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrGetValue.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
if (other.hasOrigin()) {
|
||||
mergeOrigin(other.getOrigin());
|
||||
@@ -348,10 +336,6 @@ public final class IrGetValue extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasOrigin()) {
|
||||
if (!getOrigin().isInitialized()) {
|
||||
|
||||
@@ -380,63 +364,35 @@ public final class IrGetValue extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ public interface IrGetValueOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin origin = 2;</code>
|
||||
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrInstanceInitializerCall extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -101,22 +93,22 @@ public final class IrInstanceInitializerCall extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -128,10 +120,6 @@ public final class IrInstanceInitializerCall extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -140,7 +128,7 @@ public final class IrInstanceInitializerCall extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -153,7 +141,7 @@ public final class IrInstanceInitializerCall extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -249,7 +237,7 @@ public final class IrInstanceInitializerCall extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
@@ -285,7 +273,7 @@ public final class IrInstanceInitializerCall extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrInstanceInitializerCall other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrInstanceInitializerCall.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -297,10 +285,6 @@ public final class IrInstanceInitializerCall extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -323,63 +307,35 @@ public final class IrInstanceInitializerCall extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,11 +8,11 @@ public interface IrInstanceInitializerCallOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
}
|
||||
+44
-132
@@ -66,30 +66,14 @@ public final class IrLocalDelegatedProperty extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
subBuilder = type_.toBuilder();
|
||||
}
|
||||
type_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(type_);
|
||||
type_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 24: {
|
||||
bitField0_ |= 0x00000004;
|
||||
type_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
@@ -186,32 +170,32 @@ public final class IrLocalDelegatedProperty extends
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
public static final int TYPE_FIELD_NUMBER = 3;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_;
|
||||
private int type_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
|
||||
@@ -277,8 +261,8 @@ public final class IrLocalDelegatedProperty extends
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
type_ = 0;
|
||||
isVar_ = false;
|
||||
delegate_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrVariable.getDefaultInstance();
|
||||
getter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrFunction.getDefaultInstance();
|
||||
@@ -314,14 +298,6 @@ public final class IrLocalDelegatedProperty extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getDelegate().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -349,10 +325,10 @@ public final class IrLocalDelegatedProperty extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, name_);
|
||||
output.writeInt32(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, type_);
|
||||
output.writeInt32(3, type_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeBool(4, isVar_);
|
||||
@@ -381,11 +357,11 @@ public final class IrLocalDelegatedProperty extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, name_);
|
||||
.computeInt32Size(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, type_);
|
||||
.computeInt32Size(3, type_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -499,9 +475,9 @@ public final class IrLocalDelegatedProperty extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
isVar_ = false;
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
@@ -572,10 +548,10 @@ public final class IrLocalDelegatedProperty extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
if (other.hasType()) {
|
||||
mergeType(other.getType());
|
||||
setType(other.getType());
|
||||
}
|
||||
if (other.hasIsVar()) {
|
||||
setIsVar(other.getIsVar());
|
||||
@@ -619,14 +595,6 @@ public final class IrLocalDelegatedProperty extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getDelegate().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -725,123 +693,67 @@ public final class IrLocalDelegatedProperty extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int type_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public Builder setType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setType(int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
type_ = value;
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
*/
|
||||
public Builder setType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
type_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
*/
|
||||
public Builder mergeType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
||||
type_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
type_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(type_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
type_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public Builder clearType() {
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
type_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -17,22 +17,22 @@ public interface IrLocalDelegatedPropertyOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
boolean hasType();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType();
|
||||
int getType();
|
||||
|
||||
/**
|
||||
* <code>required bool is_var = 4;</code>
|
||||
|
||||
+88
-272
@@ -53,56 +53,24 @@ public final class IrLocalDelegatedPropertyReference extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = delegate_.toBuilder();
|
||||
}
|
||||
delegate_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(delegate_);
|
||||
delegate_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
delegate_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = getter_.toBuilder();
|
||||
}
|
||||
getter_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(getter_);
|
||||
getter_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
getter_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
subBuilder = setter_.toBuilder();
|
||||
}
|
||||
setter_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(setter_);
|
||||
setter_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 24: {
|
||||
bitField0_ |= 0x00000004;
|
||||
setter_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 32: {
|
||||
bitField0_ |= 0x00000008;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
@@ -153,62 +121,62 @@ public final class IrLocalDelegatedPropertyReference extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int DELEGATE_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate_;
|
||||
private int delegate_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate = 1;</code>
|
||||
* <code>required int32 delegate = 1;</code>
|
||||
*/
|
||||
public boolean hasDelegate() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate = 1;</code>
|
||||
* <code>required int32 delegate = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getDelegate() {
|
||||
public int getDelegate() {
|
||||
return delegate_;
|
||||
}
|
||||
|
||||
public static final int GETTER_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter_;
|
||||
private int getter_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public boolean hasGetter() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getGetter() {
|
||||
public int getGetter() {
|
||||
return getter_;
|
||||
}
|
||||
|
||||
public static final int SETTER_FIELD_NUMBER = 3;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter_;
|
||||
private int setter_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public boolean hasSetter() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSetter() {
|
||||
public int getSetter() {
|
||||
return setter_;
|
||||
}
|
||||
|
||||
public static final int SYMBOL_FIELD_NUMBER = 4;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 4;</code>
|
||||
* <code>required int32 symbol = 4;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 4;</code>
|
||||
* <code>required int32 symbol = 4;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
@@ -228,10 +196,10 @@ public final class IrLocalDelegatedPropertyReference extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
delegate_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
getter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
setter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
delegate_ = 0;
|
||||
getter_ = 0;
|
||||
setter_ = 0;
|
||||
symbol_ = 0;
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -248,26 +216,6 @@ public final class IrLocalDelegatedPropertyReference extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getDelegate().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasGetter()) {
|
||||
if (!getGetter().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasSetter()) {
|
||||
if (!getSetter().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasOrigin()) {
|
||||
if (!getOrigin().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -282,16 +230,16 @@ public final class IrLocalDelegatedPropertyReference extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, delegate_);
|
||||
output.writeInt32(1, delegate_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, getter_);
|
||||
output.writeInt32(2, getter_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, setter_);
|
||||
output.writeInt32(3, setter_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeMessage(4, symbol_);
|
||||
output.writeInt32(4, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
output.writeMessage(5, origin_);
|
||||
@@ -307,19 +255,19 @@ public final class IrLocalDelegatedPropertyReference extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, delegate_);
|
||||
.computeInt32Size(1, delegate_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, getter_);
|
||||
.computeInt32Size(2, getter_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, setter_);
|
||||
.computeInt32Size(3, setter_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, symbol_);
|
||||
.computeInt32Size(4, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -419,13 +367,13 @@ public final class IrLocalDelegatedPropertyReference extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
delegate_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
delegate_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
getter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
getter_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
setter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
setter_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
@@ -479,16 +427,16 @@ public final class IrLocalDelegatedPropertyReference extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrLocalDelegatedPropertyReference other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrLocalDelegatedPropertyReference.getDefaultInstance()) return this;
|
||||
if (other.hasDelegate()) {
|
||||
mergeDelegate(other.getDelegate());
|
||||
setDelegate(other.getDelegate());
|
||||
}
|
||||
if (other.hasGetter()) {
|
||||
mergeGetter(other.getGetter());
|
||||
setGetter(other.getGetter());
|
||||
}
|
||||
if (other.hasSetter()) {
|
||||
mergeSetter(other.getSetter());
|
||||
setSetter(other.getSetter());
|
||||
}
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
if (other.hasOrigin()) {
|
||||
mergeOrigin(other.getOrigin());
|
||||
@@ -507,26 +455,6 @@ public final class IrLocalDelegatedPropertyReference extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getDelegate().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasGetter()) {
|
||||
if (!getGetter().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasSetter()) {
|
||||
if (!getSetter().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasOrigin()) {
|
||||
if (!getOrigin().isInitialized()) {
|
||||
|
||||
@@ -555,243 +483,131 @@ public final class IrLocalDelegatedPropertyReference extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int delegate_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate = 1;</code>
|
||||
* <code>required int32 delegate = 1;</code>
|
||||
*/
|
||||
public boolean hasDelegate() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate = 1;</code>
|
||||
* <code>required int32 delegate = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getDelegate() {
|
||||
public int getDelegate() {
|
||||
return delegate_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate = 1;</code>
|
||||
* <code>required int32 delegate = 1;</code>
|
||||
*/
|
||||
public Builder setDelegate(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setDelegate(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
delegate_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate = 1;</code>
|
||||
*/
|
||||
public Builder setDelegate(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
delegate_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate = 1;</code>
|
||||
*/
|
||||
public Builder mergeDelegate(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
delegate_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
delegate_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(delegate_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
delegate_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate = 1;</code>
|
||||
* <code>required int32 delegate = 1;</code>
|
||||
*/
|
||||
public Builder clearDelegate() {
|
||||
delegate_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
delegate_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int getter_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public boolean hasGetter() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getGetter() {
|
||||
public int getGetter() {
|
||||
return getter_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public Builder setGetter(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setGetter(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
getter_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
*/
|
||||
public Builder setGetter(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
getter_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
*/
|
||||
public Builder mergeGetter(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
getter_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
getter_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(getter_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
getter_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public Builder clearGetter() {
|
||||
getter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
getter_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int setter_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public boolean hasSetter() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSetter() {
|
||||
public int getSetter() {
|
||||
return setter_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public Builder setSetter(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSetter(int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
setter_ = value;
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
*/
|
||||
public Builder setSetter(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
setter_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
*/
|
||||
public Builder mergeSetter(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
||||
setter_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
setter_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(setter_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
setter_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public Builder clearSetter() {
|
||||
setter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
setter_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 4;</code>
|
||||
* <code>required int32 symbol = 4;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 4;</code>
|
||||
* <code>required int32 symbol = 4;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 4;</code>
|
||||
* <code>required int32 symbol = 4;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000008;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 4;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000008;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 4;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000008;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 4;</code>
|
||||
* <code>required int32 symbol = 4;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+12
-12
@@ -8,40 +8,40 @@ public interface IrLocalDelegatedPropertyReferenceOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate = 1;</code>
|
||||
* <code>required int32 delegate = 1;</code>
|
||||
*/
|
||||
boolean hasDelegate();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex delegate = 1;</code>
|
||||
* <code>required int32 delegate = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getDelegate();
|
||||
int getDelegate();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
boolean hasGetter();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getGetter();
|
||||
int getGetter();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
boolean hasSetter();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSetter();
|
||||
int getSetter();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 4;</code>
|
||||
* <code>required int32 symbol = 4;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 4;</code>
|
||||
* <code>required int32 symbol = 4;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin origin = 5;</code>
|
||||
|
||||
-12
@@ -1215,12 +1215,6 @@ public final class IrOperation extends
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasConst()) {
|
||||
if (!getConst().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasContinue()) {
|
||||
if (!getContinue().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -2036,12 +2030,6 @@ public final class IrOperation extends
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasConst()) {
|
||||
if (!getConst().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasContinue()) {
|
||||
if (!getContinue().isInitialized()) {
|
||||
|
||||
|
||||
+22
-66
@@ -66,17 +66,9 @@ public final class IrProperty extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
@@ -218,17 +210,17 @@ public final class IrProperty extends
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -384,7 +376,7 @@ public final class IrProperty extends
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
visibility_ = org.jetbrains.kotlin.backend.common.serialization.proto.Visibility.getDefaultInstance();
|
||||
modality_ = org.jetbrains.kotlin.backend.common.serialization.proto.ModalityKind.FINAL_MODALITY;
|
||||
isVar_ = false;
|
||||
@@ -442,10 +434,6 @@ public final class IrProperty extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getVisibility().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -479,7 +467,7 @@ public final class IrProperty extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, name_);
|
||||
output.writeInt32(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, visibility_);
|
||||
@@ -526,7 +514,7 @@ public final class IrProperty extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, name_);
|
||||
.computeInt32Size(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -664,7 +652,7 @@ public final class IrProperty extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
visibility_ = org.jetbrains.kotlin.backend.common.serialization.proto.Visibility.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
@@ -767,7 +755,7 @@ public final class IrProperty extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
if (other.hasVisibility()) {
|
||||
mergeVisibility(other.getVisibility());
|
||||
@@ -845,10 +833,6 @@ public final class IrProperty extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getVisibility().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -953,63 +937,35 @@ public final class IrProperty extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -17,13 +17,13 @@ public interface IrPropertyOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.Visibility visibility = 3;</code>
|
||||
|
||||
+88
-276
@@ -53,43 +53,19 @@ public final class IrPropertyReference extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = field_.toBuilder();
|
||||
}
|
||||
field_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(field_);
|
||||
field_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
field_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = getter_.toBuilder();
|
||||
}
|
||||
getter_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(getter_);
|
||||
getter_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
getter_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
subBuilder = setter_.toBuilder();
|
||||
}
|
||||
setter_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(setter_);
|
||||
setter_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 24: {
|
||||
bitField0_ |= 0x00000004;
|
||||
setter_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
@@ -118,17 +94,9 @@ public final class IrPropertyReference extends
|
||||
bitField0_ |= 0x00000010;
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 48: {
|
||||
bitField0_ |= 0x00000020;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -166,47 +134,47 @@ public final class IrPropertyReference extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int FIELD_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field_;
|
||||
private int field_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field = 1;</code>
|
||||
* <code>optional int32 field = 1;</code>
|
||||
*/
|
||||
public boolean hasField() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field = 1;</code>
|
||||
* <code>optional int32 field = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getField() {
|
||||
public int getField() {
|
||||
return field_;
|
||||
}
|
||||
|
||||
public static final int GETTER_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter_;
|
||||
private int getter_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public boolean hasGetter() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getGetter() {
|
||||
public int getGetter() {
|
||||
return getter_;
|
||||
}
|
||||
|
||||
public static final int SETTER_FIELD_NUMBER = 3;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter_;
|
||||
private int setter_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public boolean hasSetter() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSetter() {
|
||||
public int getSetter() {
|
||||
return setter_;
|
||||
}
|
||||
|
||||
@@ -241,27 +209,27 @@ public final class IrPropertyReference extends
|
||||
}
|
||||
|
||||
public static final int SYMBOL_FIELD_NUMBER = 6;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 6;</code>
|
||||
* <code>required int32 symbol = 6;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000020) == 0x00000020);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 6;</code>
|
||||
* <code>required int32 symbol = 6;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
field_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
getter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
setter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
field_ = 0;
|
||||
getter_ = 0;
|
||||
setter_ = 0;
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
memberAccess_ = org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon.getDefaultInstance();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -277,24 +245,6 @@ public final class IrPropertyReference extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasField()) {
|
||||
if (!getField().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasGetter()) {
|
||||
if (!getGetter().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasSetter()) {
|
||||
if (!getSetter().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasOrigin()) {
|
||||
if (!getOrigin().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -305,10 +255,6 @@ public final class IrPropertyReference extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -317,13 +263,13 @@ public final class IrPropertyReference extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, field_);
|
||||
output.writeInt32(1, field_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, getter_);
|
||||
output.writeInt32(2, getter_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, setter_);
|
||||
output.writeInt32(3, setter_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeMessage(4, origin_);
|
||||
@@ -332,7 +278,7 @@ public final class IrPropertyReference extends
|
||||
output.writeMessage(5, memberAccess_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
||||
output.writeMessage(6, symbol_);
|
||||
output.writeInt32(6, symbol_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -345,15 +291,15 @@ public final class IrPropertyReference extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, field_);
|
||||
.computeInt32Size(1, field_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, getter_);
|
||||
.computeInt32Size(2, getter_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, setter_);
|
||||
.computeInt32Size(3, setter_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -365,7 +311,7 @@ public final class IrPropertyReference extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(6, symbol_);
|
||||
.computeInt32Size(6, symbol_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -461,17 +407,17 @@ public final class IrPropertyReference extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
field_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
field_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
getter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
getter_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
setter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
setter_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
memberAccess_ = org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000020);
|
||||
return this;
|
||||
}
|
||||
@@ -527,13 +473,13 @@ public final class IrPropertyReference extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrPropertyReference other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrPropertyReference.getDefaultInstance()) return this;
|
||||
if (other.hasField()) {
|
||||
mergeField(other.getField());
|
||||
setField(other.getField());
|
||||
}
|
||||
if (other.hasGetter()) {
|
||||
mergeGetter(other.getGetter());
|
||||
setGetter(other.getGetter());
|
||||
}
|
||||
if (other.hasSetter()) {
|
||||
mergeSetter(other.getSetter());
|
||||
setSetter(other.getSetter());
|
||||
}
|
||||
if (other.hasOrigin()) {
|
||||
mergeOrigin(other.getOrigin());
|
||||
@@ -542,7 +488,7 @@ public final class IrPropertyReference extends
|
||||
mergeMemberAccess(other.getMemberAccess());
|
||||
}
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -558,24 +504,6 @@ public final class IrPropertyReference extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasField()) {
|
||||
if (!getField().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasGetter()) {
|
||||
if (!getGetter().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasSetter()) {
|
||||
if (!getSetter().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasOrigin()) {
|
||||
if (!getOrigin().isInitialized()) {
|
||||
|
||||
@@ -586,10 +514,6 @@ public final class IrPropertyReference extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -612,183 +536,99 @@ public final class IrPropertyReference extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int field_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field = 1;</code>
|
||||
* <code>optional int32 field = 1;</code>
|
||||
*/
|
||||
public boolean hasField() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field = 1;</code>
|
||||
* <code>optional int32 field = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getField() {
|
||||
public int getField() {
|
||||
return field_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field = 1;</code>
|
||||
* <code>optional int32 field = 1;</code>
|
||||
*/
|
||||
public Builder setField(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setField(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
field_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field = 1;</code>
|
||||
*/
|
||||
public Builder setField(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
field_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field = 1;</code>
|
||||
*/
|
||||
public Builder mergeField(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
field_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
field_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(field_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
field_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field = 1;</code>
|
||||
* <code>optional int32 field = 1;</code>
|
||||
*/
|
||||
public Builder clearField() {
|
||||
field_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
field_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int getter_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public boolean hasGetter() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getGetter() {
|
||||
public int getGetter() {
|
||||
return getter_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public Builder setGetter(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setGetter(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
getter_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
*/
|
||||
public Builder setGetter(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
getter_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
*/
|
||||
public Builder mergeGetter(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
getter_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
getter_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(getter_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
getter_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
public Builder clearGetter() {
|
||||
getter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
getter_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int setter_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public boolean hasSetter() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSetter() {
|
||||
public int getSetter() {
|
||||
return setter_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public Builder setSetter(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSetter(int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
setter_ = value;
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
*/
|
||||
public Builder setSetter(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
setter_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
*/
|
||||
public Builder mergeSetter(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
||||
setter_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
setter_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(setter_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
setter_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
public Builder clearSetter() {
|
||||
setter_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
setter_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -912,63 +752,35 @@ public final class IrPropertyReference extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 6;</code>
|
||||
* <code>required int32 symbol = 6;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000020) == 0x00000020);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 6;</code>
|
||||
* <code>required int32 symbol = 6;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 6;</code>
|
||||
* <code>required int32 symbol = 6;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000020;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000020;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 6;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000020;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 6;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000020) == 0x00000020) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000020;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 6;</code>
|
||||
* <code>required int32 symbol = 6;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000020);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+12
-12
@@ -8,31 +8,31 @@ public interface IrPropertyReferenceOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field = 1;</code>
|
||||
* <code>optional int32 field = 1;</code>
|
||||
*/
|
||||
boolean hasField();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex field = 1;</code>
|
||||
* <code>optional int32 field = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getField();
|
||||
int getField();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
boolean hasGetter();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getter = 2;</code>
|
||||
* <code>optional int32 getter = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getGetter();
|
||||
int getGetter();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
boolean hasSetter();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex setter = 3;</code>
|
||||
* <code>optional int32 setter = 3;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSetter();
|
||||
int getSetter();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin origin = 4;</code>
|
||||
@@ -53,11 +53,11 @@ public interface IrPropertyReferenceOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.MemberAccessCommon getMemberAccess();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 6;</code>
|
||||
* <code>required int32 symbol = 6;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 6;</code>
|
||||
* <code>required int32 symbol = 6;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
}
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrReturn extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = returnTarget_.toBuilder();
|
||||
}
|
||||
returnTarget_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(returnTarget_);
|
||||
returnTarget_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
returnTarget_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
@@ -114,17 +106,17 @@ public final class IrReturn extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int RETURN_TARGET_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex returnTarget_;
|
||||
private int returnTarget_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_target = 1;</code>
|
||||
* <code>required int32 return_target = 1;</code>
|
||||
*/
|
||||
public boolean hasReturnTarget() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_target = 1;</code>
|
||||
* <code>required int32 return_target = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getReturnTarget() {
|
||||
public int getReturnTarget() {
|
||||
return returnTarget_;
|
||||
}
|
||||
|
||||
@@ -144,7 +136,7 @@ public final class IrReturn extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
returnTarget_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
returnTarget_ = 0;
|
||||
value_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -161,10 +153,6 @@ public final class IrReturn extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getReturnTarget().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getValue().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -177,7 +165,7 @@ public final class IrReturn extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, returnTarget_);
|
||||
output.writeInt32(1, returnTarget_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, value_);
|
||||
@@ -193,7 +181,7 @@ public final class IrReturn extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, returnTarget_);
|
||||
.computeInt32Size(1, returnTarget_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -293,7 +281,7 @@ public final class IrReturn extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
returnTarget_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
returnTarget_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
value_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -335,7 +323,7 @@ public final class IrReturn extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrReturn other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrReturn.getDefaultInstance()) return this;
|
||||
if (other.hasReturnTarget()) {
|
||||
mergeReturnTarget(other.getReturnTarget());
|
||||
setReturnTarget(other.getReturnTarget());
|
||||
}
|
||||
if (other.hasValue()) {
|
||||
mergeValue(other.getValue());
|
||||
@@ -354,10 +342,6 @@ public final class IrReturn extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getReturnTarget().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getValue().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -384,63 +368,35 @@ public final class IrReturn extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex returnTarget_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int returnTarget_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_target = 1;</code>
|
||||
* <code>required int32 return_target = 1;</code>
|
||||
*/
|
||||
public boolean hasReturnTarget() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_target = 1;</code>
|
||||
* <code>required int32 return_target = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getReturnTarget() {
|
||||
public int getReturnTarget() {
|
||||
return returnTarget_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_target = 1;</code>
|
||||
* <code>required int32 return_target = 1;</code>
|
||||
*/
|
||||
public Builder setReturnTarget(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setReturnTarget(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
returnTarget_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_target = 1;</code>
|
||||
*/
|
||||
public Builder setReturnTarget(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
returnTarget_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_target = 1;</code>
|
||||
*/
|
||||
public Builder mergeReturnTarget(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
returnTarget_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
returnTarget_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(returnTarget_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
returnTarget_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_target = 1;</code>
|
||||
* <code>required int32 return_target = 1;</code>
|
||||
*/
|
||||
public Builder clearReturnTarget() {
|
||||
returnTarget_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
returnTarget_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ public interface IrReturnOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_target = 1;</code>
|
||||
* <code>required int32 return_target = 1;</code>
|
||||
*/
|
||||
boolean hasReturnTarget();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex return_target = 1;</code>
|
||||
* <code>required int32 return_target = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getReturnTarget();
|
||||
int getReturnTarget();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression value = 2;</code>
|
||||
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrSetVariable extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = symbol_.toBuilder();
|
||||
}
|
||||
symbol_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(symbol_);
|
||||
symbol_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
@@ -127,17 +119,17 @@ public final class IrSetVariable extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int SYMBOL_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_;
|
||||
private int symbol_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
|
||||
@@ -172,7 +164,7 @@ public final class IrSetVariable extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
value_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
}
|
||||
@@ -190,10 +182,6 @@ public final class IrSetVariable extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getValue().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -212,7 +200,7 @@ public final class IrSetVariable extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, symbol_);
|
||||
output.writeInt32(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, value_);
|
||||
@@ -231,7 +219,7 @@ public final class IrSetVariable extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, symbol_);
|
||||
.computeInt32Size(1, symbol_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -335,7 +323,7 @@ public final class IrSetVariable extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
symbol_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
value_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -383,7 +371,7 @@ public final class IrSetVariable extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrSetVariable other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrSetVariable.getDefaultInstance()) return this;
|
||||
if (other.hasSymbol()) {
|
||||
mergeSymbol(other.getSymbol());
|
||||
setSymbol(other.getSymbol());
|
||||
}
|
||||
if (other.hasValue()) {
|
||||
mergeValue(other.getValue());
|
||||
@@ -405,10 +393,6 @@ public final class IrSetVariable extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getSymbol().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getValue().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -441,63 +425,35 @@ public final class IrSetVariable extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int symbol_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public boolean hasSymbol() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol() {
|
||||
public int getSymbol() {
|
||||
return symbol_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setSymbol(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
symbol_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder setSymbol(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
symbol_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
*/
|
||||
public Builder mergeSymbol(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
symbol_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
symbol_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(symbol_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
symbol_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
public Builder clearSymbol() {
|
||||
symbol_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
symbol_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ public interface IrSetVariableOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
boolean hasSymbol();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex symbol = 1;</code>
|
||||
* <code>required int32 symbol = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSymbol();
|
||||
int getSymbol();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression value = 2;</code>
|
||||
|
||||
+22
-66
@@ -66,17 +66,9 @@ public final class IrSimpleType extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = classifier_.toBuilder();
|
||||
}
|
||||
classifier_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(classifier_);
|
||||
classifier_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
classifier_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
@@ -158,17 +150,17 @@ public final class IrSimpleType extends
|
||||
}
|
||||
|
||||
public static final int CLASSIFIER_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier_;
|
||||
private int classifier_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier = 2;</code>
|
||||
* <code>required int32 classifier = 2;</code>
|
||||
*/
|
||||
public boolean hasClassifier() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier = 2;</code>
|
||||
* <code>required int32 classifier = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getClassifier() {
|
||||
public int getClassifier() {
|
||||
return classifier_;
|
||||
}
|
||||
|
||||
@@ -239,7 +231,7 @@ public final class IrSimpleType extends
|
||||
|
||||
private void initFields() {
|
||||
annotations_ = org.jetbrains.kotlin.backend.common.serialization.proto.Annotations.getDefaultInstance();
|
||||
classifier_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
classifier_ = 0;
|
||||
hasQuestionMark_ = false;
|
||||
argument_ = java.util.Collections.emptyList();
|
||||
abbreviation_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeAbbreviation.getDefaultInstance();
|
||||
@@ -266,10 +258,6 @@ public final class IrSimpleType extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getClassifier().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getArgumentCount(); i++) {
|
||||
if (!getArgument(i).isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -293,7 +281,7 @@ public final class IrSimpleType extends
|
||||
output.writeMessage(1, annotations_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, classifier_);
|
||||
output.writeInt32(2, classifier_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeBool(3, hasQuestionMark_);
|
||||
@@ -319,7 +307,7 @@ public final class IrSimpleType extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, classifier_);
|
||||
.computeInt32Size(2, classifier_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -429,7 +417,7 @@ public final class IrSimpleType extends
|
||||
super.clear();
|
||||
annotations_ = org.jetbrains.kotlin.backend.common.serialization.proto.Annotations.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
classifier_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
classifier_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
hasQuestionMark_ = false;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
@@ -491,7 +479,7 @@ public final class IrSimpleType extends
|
||||
mergeAnnotations(other.getAnnotations());
|
||||
}
|
||||
if (other.hasClassifier()) {
|
||||
mergeClassifier(other.getClassifier());
|
||||
setClassifier(other.getClassifier());
|
||||
}
|
||||
if (other.hasHasQuestionMark()) {
|
||||
setHasQuestionMark(other.getHasQuestionMark());
|
||||
@@ -531,10 +519,6 @@ public final class IrSimpleType extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getClassifier().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getArgumentCount(); i++) {
|
||||
if (!getArgument(i).isInitialized()) {
|
||||
|
||||
@@ -629,63 +613,35 @@ public final class IrSimpleType extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int classifier_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier = 2;</code>
|
||||
* <code>required int32 classifier = 2;</code>
|
||||
*/
|
||||
public boolean hasClassifier() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier = 2;</code>
|
||||
* <code>required int32 classifier = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getClassifier() {
|
||||
public int getClassifier() {
|
||||
return classifier_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier = 2;</code>
|
||||
* <code>required int32 classifier = 2;</code>
|
||||
*/
|
||||
public Builder setClassifier(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setClassifier(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
classifier_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier = 2;</code>
|
||||
*/
|
||||
public Builder setClassifier(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
classifier_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier = 2;</code>
|
||||
*/
|
||||
public Builder mergeClassifier(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
classifier_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
classifier_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(classifier_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
classifier_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier = 2;</code>
|
||||
* <code>required int32 classifier = 2;</code>
|
||||
*/
|
||||
public Builder clearClassifier() {
|
||||
classifier_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
classifier_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -17,13 +17,13 @@ public interface IrSimpleTypeOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.Annotations getAnnotations();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier = 2;</code>
|
||||
* <code>required int32 classifier = 2;</code>
|
||||
*/
|
||||
boolean hasClassifier();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex classifier = 2;</code>
|
||||
* <code>required int32 classifier = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getClassifier();
|
||||
int getClassifier();
|
||||
|
||||
/**
|
||||
* <code>required bool has_question_mark = 3;</code>
|
||||
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrStatementOrigin extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -101,22 +93,22 @@ public final class IrStatementOrigin extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int NAME_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 1;</code>
|
||||
* <code>required int32 name = 1;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 1;</code>
|
||||
* <code>required int32 name = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -128,10 +120,6 @@ public final class IrStatementOrigin extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -140,7 +128,7 @@ public final class IrStatementOrigin extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, name_);
|
||||
output.writeInt32(1, name_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -153,7 +141,7 @@ public final class IrStatementOrigin extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, name_);
|
||||
.computeInt32Size(1, name_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -249,7 +237,7 @@ public final class IrStatementOrigin extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
@@ -285,7 +273,7 @@ public final class IrStatementOrigin extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance()) return this;
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -297,10 +285,6 @@ public final class IrStatementOrigin extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -323,63 +307,35 @@ public final class IrStatementOrigin extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 1;</code>
|
||||
* <code>required int32 name = 1;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 1;</code>
|
||||
* <code>required int32 name = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 1;</code>
|
||||
* <code>required int32 name = 1;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 1;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 1;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 1;</code>
|
||||
* <code>required int32 name = 1;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,11 +8,11 @@ public interface IrStatementOriginOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 1;</code>
|
||||
* <code>required int32 name = 1;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 1;</code>
|
||||
* <code>required int32 name = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
}
|
||||
-12
@@ -259,12 +259,6 @@ public final class IrSymbolData extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasFqname()) {
|
||||
if (!getFqname().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasDescriptorReference()) {
|
||||
if (!getDescriptorReference().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -516,12 +510,6 @@ public final class IrSymbolData extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasFqname()) {
|
||||
if (!getFqname().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasDescriptorReference()) {
|
||||
if (!getDescriptorReference().isInitialized()) {
|
||||
|
||||
|
||||
+22
-66
@@ -66,17 +66,9 @@ public final class IrTypeAbbreviation extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = typeAlias_.toBuilder();
|
||||
}
|
||||
typeAlias_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(typeAlias_);
|
||||
typeAlias_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
typeAlias_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
@@ -145,17 +137,17 @@ public final class IrTypeAbbreviation extends
|
||||
}
|
||||
|
||||
public static final int TYPE_ALIAS_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex typeAlias_;
|
||||
private int typeAlias_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_alias = 2;</code>
|
||||
* <code>required int32 type_alias = 2;</code>
|
||||
*/
|
||||
public boolean hasTypeAlias() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_alias = 2;</code>
|
||||
* <code>required int32 type_alias = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getTypeAlias() {
|
||||
public int getTypeAlias() {
|
||||
return typeAlias_;
|
||||
}
|
||||
|
||||
@@ -211,7 +203,7 @@ public final class IrTypeAbbreviation extends
|
||||
|
||||
private void initFields() {
|
||||
annotations_ = org.jetbrains.kotlin.backend.common.serialization.proto.Annotations.getDefaultInstance();
|
||||
typeAlias_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
typeAlias_ = 0;
|
||||
hasQuestionMark_ = false;
|
||||
argument_ = java.util.Collections.emptyList();
|
||||
}
|
||||
@@ -237,10 +229,6 @@ public final class IrTypeAbbreviation extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getTypeAlias().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getArgumentCount(); i++) {
|
||||
if (!getArgument(i).isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -258,7 +246,7 @@ public final class IrTypeAbbreviation extends
|
||||
output.writeMessage(1, annotations_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, typeAlias_);
|
||||
output.writeInt32(2, typeAlias_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeBool(3, hasQuestionMark_);
|
||||
@@ -281,7 +269,7 @@ public final class IrTypeAbbreviation extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, typeAlias_);
|
||||
.computeInt32Size(2, typeAlias_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -387,7 +375,7 @@ public final class IrTypeAbbreviation extends
|
||||
super.clear();
|
||||
annotations_ = org.jetbrains.kotlin.backend.common.serialization.proto.Annotations.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
typeAlias_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
typeAlias_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
hasQuestionMark_ = false;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
@@ -443,7 +431,7 @@ public final class IrTypeAbbreviation extends
|
||||
mergeAnnotations(other.getAnnotations());
|
||||
}
|
||||
if (other.hasTypeAlias()) {
|
||||
mergeTypeAlias(other.getTypeAlias());
|
||||
setTypeAlias(other.getTypeAlias());
|
||||
}
|
||||
if (other.hasHasQuestionMark()) {
|
||||
setHasQuestionMark(other.getHasQuestionMark());
|
||||
@@ -480,10 +468,6 @@ public final class IrTypeAbbreviation extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getTypeAlias().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getArgumentCount(); i++) {
|
||||
if (!getArgument(i).isInitialized()) {
|
||||
|
||||
@@ -572,63 +556,35 @@ public final class IrTypeAbbreviation extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex typeAlias_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int typeAlias_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_alias = 2;</code>
|
||||
* <code>required int32 type_alias = 2;</code>
|
||||
*/
|
||||
public boolean hasTypeAlias() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_alias = 2;</code>
|
||||
* <code>required int32 type_alias = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getTypeAlias() {
|
||||
public int getTypeAlias() {
|
||||
return typeAlias_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_alias = 2;</code>
|
||||
* <code>required int32 type_alias = 2;</code>
|
||||
*/
|
||||
public Builder setTypeAlias(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setTypeAlias(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
typeAlias_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_alias = 2;</code>
|
||||
*/
|
||||
public Builder setTypeAlias(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
typeAlias_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_alias = 2;</code>
|
||||
*/
|
||||
public Builder mergeTypeAlias(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
typeAlias_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
typeAlias_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(typeAlias_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
typeAlias_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_alias = 2;</code>
|
||||
* <code>required int32 type_alias = 2;</code>
|
||||
*/
|
||||
public Builder clearTypeAlias() {
|
||||
typeAlias_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
typeAlias_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -17,13 +17,13 @@ public interface IrTypeAbbreviationOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.Annotations getAnnotations();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_alias = 2;</code>
|
||||
* <code>required int32 type_alias = 2;</code>
|
||||
*/
|
||||
boolean hasTypeAlias();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_alias = 2;</code>
|
||||
* <code>required int32 type_alias = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getTypeAlias();
|
||||
int getTypeAlias();
|
||||
|
||||
/**
|
||||
* <code>required bool has_question_mark = 3;</code>
|
||||
|
||||
+44
-132
@@ -66,17 +66,9 @@ public final class IrTypeAlias extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
@@ -105,17 +97,9 @@ public final class IrTypeAlias extends
|
||||
bitField0_ |= 0x00000008;
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
subBuilder = expandedType_.toBuilder();
|
||||
}
|
||||
expandedType_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(expandedType_);
|
||||
expandedType_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 40: {
|
||||
bitField0_ |= 0x00000010;
|
||||
expandedType_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
@@ -173,17 +157,17 @@ public final class IrTypeAlias extends
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -218,17 +202,17 @@ public final class IrTypeAlias extends
|
||||
}
|
||||
|
||||
public static final int EXPANDED_TYPE_FIELD_NUMBER = 5;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expandedType_;
|
||||
private int expandedType_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expanded_type = 5;</code>
|
||||
* <code>required int32 expanded_type = 5;</code>
|
||||
*/
|
||||
public boolean hasExpandedType() {
|
||||
return ((bitField0_ & 0x00000010) == 0x00000010);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expanded_type = 5;</code>
|
||||
* <code>required int32 expanded_type = 5;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getExpandedType() {
|
||||
public int getExpandedType() {
|
||||
return expandedType_;
|
||||
}
|
||||
|
||||
@@ -249,10 +233,10 @@ public final class IrTypeAlias extends
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
visibility_ = org.jetbrains.kotlin.backend.common.serialization.proto.Visibility.getDefaultInstance();
|
||||
typeParameters_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameterContainer.getDefaultInstance();
|
||||
expandedType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
expandedType_ = 0;
|
||||
isActual_ = false;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -289,10 +273,6 @@ public final class IrTypeAlias extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getVisibility().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -301,10 +281,6 @@ public final class IrTypeAlias extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getExpandedType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -316,7 +292,7 @@ public final class IrTypeAlias extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, name_);
|
||||
output.writeInt32(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, visibility_);
|
||||
@@ -325,7 +301,7 @@ public final class IrTypeAlias extends
|
||||
output.writeMessage(4, typeParameters_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
output.writeMessage(5, expandedType_);
|
||||
output.writeInt32(5, expandedType_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
||||
output.writeBool(6, isActual_);
|
||||
@@ -345,7 +321,7 @@ public final class IrTypeAlias extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, name_);
|
||||
.computeInt32Size(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -357,7 +333,7 @@ public final class IrTypeAlias extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(5, expandedType_);
|
||||
.computeInt32Size(5, expandedType_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -459,13 +435,13 @@ public final class IrTypeAlias extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
visibility_ = org.jetbrains.kotlin.backend.common.serialization.proto.Visibility.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
typeParameters_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameterContainer.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
expandedType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
expandedType_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
isActual_ = false;
|
||||
bitField0_ = (bitField0_ & ~0x00000020);
|
||||
@@ -526,7 +502,7 @@ public final class IrTypeAlias extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
if (other.hasVisibility()) {
|
||||
mergeVisibility(other.getVisibility());
|
||||
@@ -535,7 +511,7 @@ public final class IrTypeAlias extends
|
||||
mergeTypeParameters(other.getTypeParameters());
|
||||
}
|
||||
if (other.hasExpandedType()) {
|
||||
mergeExpandedType(other.getExpandedType());
|
||||
setExpandedType(other.getExpandedType());
|
||||
}
|
||||
if (other.hasIsActual()) {
|
||||
setIsActual(other.getIsActual());
|
||||
@@ -574,10 +550,6 @@ public final class IrTypeAlias extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getVisibility().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -586,10 +558,6 @@ public final class IrTypeAlias extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getExpandedType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -672,63 +640,35 @@ public final class IrTypeAlias extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -852,63 +792,35 @@ public final class IrTypeAlias extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expandedType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int expandedType_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expanded_type = 5;</code>
|
||||
* <code>required int32 expanded_type = 5;</code>
|
||||
*/
|
||||
public boolean hasExpandedType() {
|
||||
return ((bitField0_ & 0x00000010) == 0x00000010);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expanded_type = 5;</code>
|
||||
* <code>required int32 expanded_type = 5;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getExpandedType() {
|
||||
public int getExpandedType() {
|
||||
return expandedType_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expanded_type = 5;</code>
|
||||
* <code>required int32 expanded_type = 5;</code>
|
||||
*/
|
||||
public Builder setExpandedType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setExpandedType(int value) {
|
||||
bitField0_ |= 0x00000010;
|
||||
expandedType_ = value;
|
||||
|
||||
bitField0_ |= 0x00000010;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expanded_type = 5;</code>
|
||||
*/
|
||||
public Builder setExpandedType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
expandedType_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000010;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expanded_type = 5;</code>
|
||||
*/
|
||||
public Builder mergeExpandedType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010) &&
|
||||
expandedType_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
expandedType_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(expandedType_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
expandedType_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000010;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expanded_type = 5;</code>
|
||||
* <code>required int32 expanded_type = 5;</code>
|
||||
*/
|
||||
public Builder clearExpandedType() {
|
||||
expandedType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
expandedType_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -17,13 +17,13 @@ public interface IrTypeAliasOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.Visibility visibility = 3;</code>
|
||||
@@ -44,13 +44,13 @@ public interface IrTypeAliasOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeParameterContainer getTypeParameters();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expanded_type = 5;</code>
|
||||
* <code>required int32 expanded_type = 5;</code>
|
||||
*/
|
||||
boolean hasExpandedType();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex expanded_type = 5;</code>
|
||||
* <code>required int32 expanded_type = 5;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getExpandedType();
|
||||
int getExpandedType();
|
||||
|
||||
/**
|
||||
* <code>required bool is_actual = 6;</code>
|
||||
|
||||
+22
-66
@@ -65,17 +65,9 @@ public final class IrTypeOp extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = operand_.toBuilder();
|
||||
}
|
||||
operand_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(operand_);
|
||||
operand_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
operand_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
@@ -141,17 +133,17 @@ public final class IrTypeOp extends
|
||||
}
|
||||
|
||||
public static final int OPERAND_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand_;
|
||||
private int operand_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand = 2;</code>
|
||||
* <code>required int32 operand = 2;</code>
|
||||
*/
|
||||
public boolean hasOperand() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand = 2;</code>
|
||||
* <code>required int32 operand = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getOperand() {
|
||||
public int getOperand() {
|
||||
return operand_;
|
||||
}
|
||||
|
||||
@@ -172,7 +164,7 @@ public final class IrTypeOp extends
|
||||
|
||||
private void initFields() {
|
||||
operator_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeOperator.CAST;
|
||||
operand_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
operand_ = 0;
|
||||
argument_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -193,10 +185,6 @@ public final class IrTypeOp extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getOperand().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getArgument().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
@@ -212,7 +200,7 @@ public final class IrTypeOp extends
|
||||
output.writeEnum(1, operator_.getNumber());
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, operand_);
|
||||
output.writeInt32(2, operand_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, argument_);
|
||||
@@ -232,7 +220,7 @@ public final class IrTypeOp extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, operand_);
|
||||
.computeInt32Size(2, operand_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -334,7 +322,7 @@ public final class IrTypeOp extends
|
||||
super.clear();
|
||||
operator_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeOperator.CAST;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
operand_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
operand_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
argument_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
@@ -383,7 +371,7 @@ public final class IrTypeOp extends
|
||||
setOperator(other.getOperator());
|
||||
}
|
||||
if (other.hasOperand()) {
|
||||
mergeOperand(other.getOperand());
|
||||
setOperand(other.getOperand());
|
||||
}
|
||||
if (other.hasArgument()) {
|
||||
mergeArgument(other.getArgument());
|
||||
@@ -406,10 +394,6 @@ public final class IrTypeOp extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getOperand().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getArgument().isInitialized()) {
|
||||
|
||||
return false;
|
||||
@@ -471,63 +455,35 @@ public final class IrTypeOp extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int operand_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand = 2;</code>
|
||||
* <code>required int32 operand = 2;</code>
|
||||
*/
|
||||
public boolean hasOperand() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand = 2;</code>
|
||||
* <code>required int32 operand = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getOperand() {
|
||||
public int getOperand() {
|
||||
return operand_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand = 2;</code>
|
||||
* <code>required int32 operand = 2;</code>
|
||||
*/
|
||||
public Builder setOperand(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setOperand(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
operand_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand = 2;</code>
|
||||
*/
|
||||
public Builder setOperand(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
operand_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand = 2;</code>
|
||||
*/
|
||||
public Builder mergeOperand(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
operand_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
operand_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(operand_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
operand_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand = 2;</code>
|
||||
* <code>required int32 operand = 2;</code>
|
||||
*/
|
||||
public Builder clearOperand() {
|
||||
operand_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
operand_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -17,13 +17,13 @@ public interface IrTypeOpOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeOperator getOperator();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand = 2;</code>
|
||||
* <code>required int32 operand = 2;</code>
|
||||
*/
|
||||
boolean hasOperand();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex operand = 2;</code>
|
||||
* <code>required int32 operand = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getOperand();
|
||||
int getOperand();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression argument = 3;</code>
|
||||
|
||||
+73
-183
@@ -66,17 +66,9 @@ public final class IrTypeParameter extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
@@ -96,12 +88,25 @@ public final class IrTypeParameter extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
case 40: {
|
||||
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
superType_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>();
|
||||
superType_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000010;
|
||||
}
|
||||
superType_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry));
|
||||
superType_.add(input.readInt32());
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) {
|
||||
superType_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000010;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
superType_.add(input.readInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
@@ -162,17 +167,17 @@ public final class IrTypeParameter extends
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -207,37 +212,24 @@ public final class IrTypeParameter extends
|
||||
}
|
||||
|
||||
public static final int SUPER_TYPE_FIELD_NUMBER = 5;
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> superType_;
|
||||
private java.util.List<java.lang.Integer> superType_;
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getSuperTypeList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getSuperTypeList() {
|
||||
return superType_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
*/
|
||||
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder>
|
||||
getSuperTypeOrBuilderList() {
|
||||
return superType_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
public int getSuperTypeCount() {
|
||||
return superType_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuperType(int index) {
|
||||
return superType_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder getSuperTypeOrBuilder(
|
||||
int index) {
|
||||
public int getSuperType(int index) {
|
||||
return superType_.get(index);
|
||||
}
|
||||
|
||||
@@ -258,7 +250,7 @@ public final class IrTypeParameter extends
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
index_ = 0;
|
||||
variance_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeVariance.IN;
|
||||
superType_ = java.util.Collections.emptyList();
|
||||
@@ -294,16 +286,6 @@ public final class IrTypeParameter extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getSuperTypeCount(); i++) {
|
||||
if (!getSuperType(i).isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -315,7 +297,7 @@ public final class IrTypeParameter extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, name_);
|
||||
output.writeInt32(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeInt32(3, index_);
|
||||
@@ -324,7 +306,7 @@ public final class IrTypeParameter extends
|
||||
output.writeEnum(4, variance_.getNumber());
|
||||
}
|
||||
for (int i = 0; i < superType_.size(); i++) {
|
||||
output.writeMessage(5, superType_.get(i));
|
||||
output.writeInt32(5, superType_.get(i));
|
||||
}
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
output.writeBool(6, isReified_);
|
||||
@@ -344,7 +326,7 @@ public final class IrTypeParameter extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, name_);
|
||||
.computeInt32Size(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -354,9 +336,14 @@ public final class IrTypeParameter extends
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeEnumSize(4, variance_.getNumber());
|
||||
}
|
||||
for (int i = 0; i < superType_.size(); i++) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(5, superType_.get(i));
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < superType_.size(); i++) {
|
||||
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(superType_.get(i));
|
||||
}
|
||||
size += dataSize;
|
||||
size += 1 * getSuperTypeList().size();
|
||||
}
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -458,7 +445,7 @@ public final class IrTypeParameter extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
index_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
@@ -526,7 +513,7 @@ public final class IrTypeParameter extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
if (other.hasIndex()) {
|
||||
setIndex(other.getIndex());
|
||||
@@ -577,16 +564,6 @@ public final class IrTypeParameter extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getSuperTypeCount(); i++) {
|
||||
if (!getSuperType(i).isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -669,63 +646,35 @@ public final class IrTypeParameter extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -796,128 +745,69 @@ public final class IrTypeParameter extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> superType_ =
|
||||
java.util.Collections.emptyList();
|
||||
private java.util.List<java.lang.Integer> superType_ = java.util.Collections.emptyList();
|
||||
private void ensureSuperTypeIsMutable() {
|
||||
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
superType_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>(superType_);
|
||||
superType_ = new java.util.ArrayList<java.lang.Integer>(superType_);
|
||||
bitField0_ |= 0x00000010;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getSuperTypeList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getSuperTypeList() {
|
||||
return java.util.Collections.unmodifiableList(superType_);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
public int getSuperTypeCount() {
|
||||
return superType_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuperType(int index) {
|
||||
public int getSuperType(int index) {
|
||||
return superType_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
public Builder setSuperType(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
int index, int value) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.set(index, value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
public Builder setSuperType(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.set(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
*/
|
||||
public Builder addSuperType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder addSuperType(int value) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.add(value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
*/
|
||||
public Builder addSuperType(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.add(index, value);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
*/
|
||||
public Builder addSuperType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.add(builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
*/
|
||||
public Builder addSuperType(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.add(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
public Builder addAllSuperType(
|
||||
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> values) {
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureSuperTypeIsMutable();
|
||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, superType_);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
public Builder clearSuperType() {
|
||||
superType_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
*/
|
||||
public Builder removeSuperType(int index) {
|
||||
ensureSuperTypeIsMutable();
|
||||
superType_.remove(index);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+10
-11
@@ -17,13 +17,13 @@ public interface IrTypeParameterOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
|
||||
/**
|
||||
* <code>required int32 index = 3;</code>
|
||||
@@ -44,18 +44,17 @@ public interface IrTypeParameterOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeVariance getVariance();
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>
|
||||
getSuperTypeList();
|
||||
java.util.List<java.lang.Integer> getSuperTypeList();
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getSuperType(int index);
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex super_type = 5;</code>
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
int getSuperTypeCount();
|
||||
/**
|
||||
* <code>repeated int32 super_type = 5;</code>
|
||||
*/
|
||||
int getSuperType(int index);
|
||||
|
||||
/**
|
||||
* <code>required bool is_reified = 6;</code>
|
||||
|
||||
+22
-66
@@ -65,17 +65,9 @@ public final class IrTypeProjection extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = type_.toBuilder();
|
||||
}
|
||||
type_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(type_);
|
||||
type_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
type_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -128,23 +120,23 @@ public final class IrTypeProjection extends
|
||||
}
|
||||
|
||||
public static final int TYPE_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_;
|
||||
private int type_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
variance_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeVariance.IN;
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -160,10 +152,6 @@ public final class IrTypeProjection extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -175,7 +163,7 @@ public final class IrTypeProjection extends
|
||||
output.writeEnum(1, variance_.getNumber());
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, type_);
|
||||
output.writeInt32(2, type_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -192,7 +180,7 @@ public final class IrTypeProjection extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, type_);
|
||||
.computeInt32Size(2, type_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -290,7 +278,7 @@ public final class IrTypeProjection extends
|
||||
super.clear();
|
||||
variance_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeVariance.IN;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
return this;
|
||||
}
|
||||
@@ -333,7 +321,7 @@ public final class IrTypeProjection extends
|
||||
setVariance(other.getVariance());
|
||||
}
|
||||
if (other.hasType()) {
|
||||
mergeType(other.getType());
|
||||
setType(other.getType());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -349,10 +337,6 @@ public final class IrTypeProjection extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -410,63 +394,35 @@ public final class IrTypeProjection extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int type_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public Builder setType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setType(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
type_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
*/
|
||||
public Builder setType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
type_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
*/
|
||||
public Builder mergeType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
type_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
type_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(type_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
type_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
public Builder clearType() {
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
type_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -17,11 +17,11 @@ public interface IrTypeProjectionOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrTypeVariance getVariance();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
boolean hasType();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 2;</code>
|
||||
* <code>required int32 type = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType();
|
||||
int getType();
|
||||
}
|
||||
+88
-272
@@ -66,17 +66,9 @@ public final class IrValueParameter extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
@@ -84,30 +76,14 @@ public final class IrValueParameter extends
|
||||
index_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
subBuilder = type_.toBuilder();
|
||||
}
|
||||
type_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(type_);
|
||||
type_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 32: {
|
||||
bitField0_ |= 0x00000008;
|
||||
type_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
subBuilder = varargElementType_.toBuilder();
|
||||
}
|
||||
varargElementType_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(varargElementType_);
|
||||
varargElementType_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 40: {
|
||||
bitField0_ |= 0x00000010;
|
||||
varargElementType_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
@@ -120,17 +96,9 @@ public final class IrValueParameter extends
|
||||
isNoinline_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
||||
subBuilder = defaultValue_.toBuilder();
|
||||
}
|
||||
defaultValue_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(defaultValue_);
|
||||
defaultValue_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 64: {
|
||||
bitField0_ |= 0x00000080;
|
||||
defaultValue_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -183,17 +151,17 @@ public final class IrValueParameter extends
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -213,32 +181,32 @@ public final class IrValueParameter extends
|
||||
}
|
||||
|
||||
public static final int TYPE_FIELD_NUMBER = 4;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_;
|
||||
private int type_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 4;</code>
|
||||
* <code>required int32 type = 4;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 4;</code>
|
||||
* <code>required int32 type = 4;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
|
||||
public static final int VARARG_ELEMENT_TYPE_FIELD_NUMBER = 5;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex varargElementType_;
|
||||
private int varargElementType_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex vararg_element_type = 5;</code>
|
||||
* <code>optional int32 vararg_element_type = 5;</code>
|
||||
*/
|
||||
public boolean hasVarargElementType() {
|
||||
return ((bitField0_ & 0x00000010) == 0x00000010);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex vararg_element_type = 5;</code>
|
||||
* <code>optional int32 vararg_element_type = 5;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getVarargElementType() {
|
||||
public int getVarargElementType() {
|
||||
return varargElementType_;
|
||||
}
|
||||
|
||||
@@ -273,29 +241,29 @@ public final class IrValueParameter extends
|
||||
}
|
||||
|
||||
public static final int DEFAULT_VALUE_FIELD_NUMBER = 8;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex defaultValue_;
|
||||
private int defaultValue_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex default_value = 8;</code>
|
||||
* <code>optional int32 default_value = 8;</code>
|
||||
*/
|
||||
public boolean hasDefaultValue() {
|
||||
return ((bitField0_ & 0x00000080) == 0x00000080);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex default_value = 8;</code>
|
||||
* <code>optional int32 default_value = 8;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getDefaultValue() {
|
||||
public int getDefaultValue() {
|
||||
return defaultValue_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
index_ = 0;
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
varargElementType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = 0;
|
||||
varargElementType_ = 0;
|
||||
isCrossinline_ = false;
|
||||
isNoinline_ = false;
|
||||
defaultValue_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
defaultValue_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -331,26 +299,6 @@ public final class IrValueParameter extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasVarargElementType()) {
|
||||
if (!getVarargElementType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasDefaultValue()) {
|
||||
if (!getDefaultValue().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -362,16 +310,16 @@ public final class IrValueParameter extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, name_);
|
||||
output.writeInt32(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeInt32(3, index_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeMessage(4, type_);
|
||||
output.writeInt32(4, type_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
output.writeMessage(5, varargElementType_);
|
||||
output.writeInt32(5, varargElementType_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
||||
output.writeBool(6, isCrossinline_);
|
||||
@@ -380,7 +328,7 @@ public final class IrValueParameter extends
|
||||
output.writeBool(7, isNoinline_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
||||
output.writeMessage(8, defaultValue_);
|
||||
output.writeInt32(8, defaultValue_);
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -397,7 +345,7 @@ public final class IrValueParameter extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, name_);
|
||||
.computeInt32Size(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -405,11 +353,11 @@ public final class IrValueParameter extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, type_);
|
||||
.computeInt32Size(4, type_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(5, varargElementType_);
|
||||
.computeInt32Size(5, varargElementType_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -421,7 +369,7 @@ public final class IrValueParameter extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(8, defaultValue_);
|
||||
.computeInt32Size(8, defaultValue_);
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -519,19 +467,19 @@ public final class IrValueParameter extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
index_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
varargElementType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
varargElementType_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
isCrossinline_ = false;
|
||||
bitField0_ = (bitField0_ & ~0x00000020);
|
||||
isNoinline_ = false;
|
||||
bitField0_ = (bitField0_ & ~0x00000040);
|
||||
defaultValue_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
defaultValue_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000080);
|
||||
return this;
|
||||
}
|
||||
@@ -598,16 +546,16 @@ public final class IrValueParameter extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
if (other.hasIndex()) {
|
||||
setIndex(other.getIndex());
|
||||
}
|
||||
if (other.hasType()) {
|
||||
mergeType(other.getType());
|
||||
setType(other.getType());
|
||||
}
|
||||
if (other.hasVarargElementType()) {
|
||||
mergeVarargElementType(other.getVarargElementType());
|
||||
setVarargElementType(other.getVarargElementType());
|
||||
}
|
||||
if (other.hasIsCrossinline()) {
|
||||
setIsCrossinline(other.getIsCrossinline());
|
||||
@@ -616,7 +564,7 @@ public final class IrValueParameter extends
|
||||
setIsNoinline(other.getIsNoinline());
|
||||
}
|
||||
if (other.hasDefaultValue()) {
|
||||
mergeDefaultValue(other.getDefaultValue());
|
||||
setDefaultValue(other.getDefaultValue());
|
||||
}
|
||||
setUnknownFields(
|
||||
getUnknownFields().concat(other.unknownFields));
|
||||
@@ -652,26 +600,6 @@ public final class IrValueParameter extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasVarargElementType()) {
|
||||
if (!getVarargElementType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasDefaultValue()) {
|
||||
if (!getDefaultValue().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -754,63 +682,35 @@ public final class IrValueParameter extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -846,123 +746,67 @@ public final class IrValueParameter extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int type_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 4;</code>
|
||||
* <code>required int32 type = 4;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 4;</code>
|
||||
* <code>required int32 type = 4;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 4;</code>
|
||||
* <code>required int32 type = 4;</code>
|
||||
*/
|
||||
public Builder setType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setType(int value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
type_ = value;
|
||||
|
||||
bitField0_ |= 0x00000008;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 4;</code>
|
||||
*/
|
||||
public Builder setType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
type_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000008;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 4;</code>
|
||||
*/
|
||||
public Builder mergeType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008) &&
|
||||
type_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
type_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(type_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
type_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000008;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 4;</code>
|
||||
* <code>required int32 type = 4;</code>
|
||||
*/
|
||||
public Builder clearType() {
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
type_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex varargElementType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int varargElementType_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex vararg_element_type = 5;</code>
|
||||
* <code>optional int32 vararg_element_type = 5;</code>
|
||||
*/
|
||||
public boolean hasVarargElementType() {
|
||||
return ((bitField0_ & 0x00000010) == 0x00000010);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex vararg_element_type = 5;</code>
|
||||
* <code>optional int32 vararg_element_type = 5;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getVarargElementType() {
|
||||
public int getVarargElementType() {
|
||||
return varargElementType_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex vararg_element_type = 5;</code>
|
||||
* <code>optional int32 vararg_element_type = 5;</code>
|
||||
*/
|
||||
public Builder setVarargElementType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setVarargElementType(int value) {
|
||||
bitField0_ |= 0x00000010;
|
||||
varargElementType_ = value;
|
||||
|
||||
bitField0_ |= 0x00000010;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex vararg_element_type = 5;</code>
|
||||
*/
|
||||
public Builder setVarargElementType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
varargElementType_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000010;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex vararg_element_type = 5;</code>
|
||||
*/
|
||||
public Builder mergeVarargElementType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000010) == 0x00000010) &&
|
||||
varargElementType_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
varargElementType_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(varargElementType_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
varargElementType_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000010;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex vararg_element_type = 5;</code>
|
||||
* <code>optional int32 vararg_element_type = 5;</code>
|
||||
*/
|
||||
public Builder clearVarargElementType() {
|
||||
varargElementType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
varargElementType_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -1030,63 +874,35 @@ public final class IrValueParameter extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex defaultValue_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int defaultValue_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex default_value = 8;</code>
|
||||
* <code>optional int32 default_value = 8;</code>
|
||||
*/
|
||||
public boolean hasDefaultValue() {
|
||||
return ((bitField0_ & 0x00000080) == 0x00000080);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex default_value = 8;</code>
|
||||
* <code>optional int32 default_value = 8;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getDefaultValue() {
|
||||
public int getDefaultValue() {
|
||||
return defaultValue_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex default_value = 8;</code>
|
||||
* <code>optional int32 default_value = 8;</code>
|
||||
*/
|
||||
public Builder setDefaultValue(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setDefaultValue(int value) {
|
||||
bitField0_ |= 0x00000080;
|
||||
defaultValue_ = value;
|
||||
|
||||
bitField0_ |= 0x00000080;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex default_value = 8;</code>
|
||||
*/
|
||||
public Builder setDefaultValue(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
defaultValue_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000080;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex default_value = 8;</code>
|
||||
*/
|
||||
public Builder mergeDefaultValue(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000080) == 0x00000080) &&
|
||||
defaultValue_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
defaultValue_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(defaultValue_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
defaultValue_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000080;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex default_value = 8;</code>
|
||||
* <code>optional int32 default_value = 8;</code>
|
||||
*/
|
||||
public Builder clearDefaultValue() {
|
||||
defaultValue_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000080);
|
||||
defaultValue_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+12
-12
@@ -17,13 +17,13 @@ public interface IrValueParameterOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
|
||||
/**
|
||||
* <code>required int32 index = 3;</code>
|
||||
@@ -35,22 +35,22 @@ public interface IrValueParameterOrBuilder extends
|
||||
int getIndex();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 4;</code>
|
||||
* <code>required int32 type = 4;</code>
|
||||
*/
|
||||
boolean hasType();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 4;</code>
|
||||
* <code>required int32 type = 4;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType();
|
||||
int getType();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex vararg_element_type = 5;</code>
|
||||
* <code>optional int32 vararg_element_type = 5;</code>
|
||||
*/
|
||||
boolean hasVarargElementType();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex vararg_element_type = 5;</code>
|
||||
* <code>optional int32 vararg_element_type = 5;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getVarargElementType();
|
||||
int getVarargElementType();
|
||||
|
||||
/**
|
||||
* <code>required bool is_crossinline = 6;</code>
|
||||
@@ -71,11 +71,11 @@ public interface IrValueParameterOrBuilder extends
|
||||
boolean getIsNoinline();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex default_value = 8;</code>
|
||||
* <code>optional int32 default_value = 8;</code>
|
||||
*/
|
||||
boolean hasDefaultValue();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex default_value = 8;</code>
|
||||
* <code>optional int32 default_value = 8;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getDefaultValue();
|
||||
int getDefaultValue();
|
||||
}
|
||||
+22
-66
@@ -53,17 +53,9 @@ public final class IrVararg extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
subBuilder = elementType_.toBuilder();
|
||||
}
|
||||
elementType_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(elementType_);
|
||||
elementType_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
elementType_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
@@ -112,17 +104,17 @@ public final class IrVararg extends
|
||||
|
||||
private int bitField0_;
|
||||
public static final int ELEMENT_TYPE_FIELD_NUMBER = 1;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex elementType_;
|
||||
private int elementType_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex element_type = 1;</code>
|
||||
* <code>required int32 element_type = 1;</code>
|
||||
*/
|
||||
public boolean hasElementType() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex element_type = 1;</code>
|
||||
* <code>required int32 element_type = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getElementType() {
|
||||
public int getElementType() {
|
||||
return elementType_;
|
||||
}
|
||||
|
||||
@@ -162,7 +154,7 @@ public final class IrVararg extends
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
elementType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
elementType_ = 0;
|
||||
element_ = java.util.Collections.emptyList();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@@ -175,10 +167,6 @@ public final class IrVararg extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getElementType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getElementCount(); i++) {
|
||||
if (!getElement(i).isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -193,7 +181,7 @@ public final class IrVararg extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeMessage(1, elementType_);
|
||||
output.writeInt32(1, elementType_);
|
||||
}
|
||||
for (int i = 0; i < element_.size(); i++) {
|
||||
output.writeMessage(2, element_.get(i));
|
||||
@@ -209,7 +197,7 @@ public final class IrVararg extends
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, elementType_);
|
||||
.computeInt32Size(1, elementType_);
|
||||
}
|
||||
for (int i = 0; i < element_.size(); i++) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -309,7 +297,7 @@ public final class IrVararg extends
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
elementType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
elementType_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
element_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
@@ -352,7 +340,7 @@ public final class IrVararg extends
|
||||
public Builder mergeFrom(org.jetbrains.kotlin.backend.common.serialization.proto.IrVararg other) {
|
||||
if (other == org.jetbrains.kotlin.backend.common.serialization.proto.IrVararg.getDefaultInstance()) return this;
|
||||
if (other.hasElementType()) {
|
||||
mergeElementType(other.getElementType());
|
||||
setElementType(other.getElementType());
|
||||
}
|
||||
if (!other.element_.isEmpty()) {
|
||||
if (element_.isEmpty()) {
|
||||
@@ -374,10 +362,6 @@ public final class IrVararg extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getElementType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < getElementCount(); i++) {
|
||||
if (!getElement(i).isInitialized()) {
|
||||
|
||||
@@ -406,63 +390,35 @@ public final class IrVararg extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex elementType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int elementType_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex element_type = 1;</code>
|
||||
* <code>required int32 element_type = 1;</code>
|
||||
*/
|
||||
public boolean hasElementType() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex element_type = 1;</code>
|
||||
* <code>required int32 element_type = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getElementType() {
|
||||
public int getElementType() {
|
||||
return elementType_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex element_type = 1;</code>
|
||||
* <code>required int32 element_type = 1;</code>
|
||||
*/
|
||||
public Builder setElementType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setElementType(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
elementType_ = value;
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex element_type = 1;</code>
|
||||
*/
|
||||
public Builder setElementType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
elementType_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex element_type = 1;</code>
|
||||
*/
|
||||
public Builder mergeElementType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001) &&
|
||||
elementType_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
elementType_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(elementType_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
elementType_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000001;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex element_type = 1;</code>
|
||||
* <code>required int32 element_type = 1;</code>
|
||||
*/
|
||||
public Builder clearElementType() {
|
||||
elementType_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
elementType_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -8,13 +8,13 @@ public interface IrVarargOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex element_type = 1;</code>
|
||||
* <code>required int32 element_type = 1;</code>
|
||||
*/
|
||||
boolean hasElementType();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex element_type = 1;</code>
|
||||
* <code>required int32 element_type = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getElementType();
|
||||
int getElementType();
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrVarargElement element = 2;</code>
|
||||
|
||||
+44
-132
@@ -66,30 +66,14 @@ public final class IrVariable extends
|
||||
bitField0_ |= 0x00000001;
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
subBuilder = name_.toBuilder();
|
||||
}
|
||||
name_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(name_);
|
||||
name_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 16: {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
subBuilder = type_.toBuilder();
|
||||
}
|
||||
type_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(type_);
|
||||
type_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 24: {
|
||||
bitField0_ |= 0x00000004;
|
||||
type_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
@@ -170,32 +154,32 @@ public final class IrVariable extends
|
||||
}
|
||||
|
||||
public static final int NAME_FIELD_NUMBER = 2;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_;
|
||||
private int name_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
|
||||
public static final int TYPE_FIELD_NUMBER = 3;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_;
|
||||
private int type_;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
|
||||
@@ -261,8 +245,8 @@ public final class IrVariable extends
|
||||
|
||||
private void initFields() {
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
type_ = 0;
|
||||
isVar_ = false;
|
||||
isConst_ = false;
|
||||
isLateinit_ = false;
|
||||
@@ -302,14 +286,6 @@ public final class IrVariable extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasInitializer()) {
|
||||
if (!getInitializer().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -327,10 +303,10 @@ public final class IrVariable extends
|
||||
output.writeMessage(1, base_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeMessage(2, name_);
|
||||
output.writeInt32(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, type_);
|
||||
output.writeInt32(3, type_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeBool(4, isVar_);
|
||||
@@ -359,11 +335,11 @@ public final class IrVariable extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(2, name_);
|
||||
.computeInt32Size(2, name_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, type_);
|
||||
.computeInt32Size(3, type_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -477,9 +453,9 @@ public final class IrVariable extends
|
||||
super.clear();
|
||||
base_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
name_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
type_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
isVar_ = false;
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
@@ -550,10 +526,10 @@ public final class IrVariable extends
|
||||
mergeBase(other.getBase());
|
||||
}
|
||||
if (other.hasName()) {
|
||||
mergeName(other.getName());
|
||||
setName(other.getName());
|
||||
}
|
||||
if (other.hasType()) {
|
||||
mergeType(other.getType());
|
||||
setType(other.getType());
|
||||
}
|
||||
if (other.hasIsVar()) {
|
||||
setIsVar(other.getIsVar());
|
||||
@@ -601,14 +577,6 @@ public final class IrVariable extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getName().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (!getType().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasInitializer()) {
|
||||
if (!getInitializer().isInitialized()) {
|
||||
|
||||
@@ -697,123 +665,67 @@ public final class IrVariable extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int name_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public boolean hasName() {
|
||||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName() {
|
||||
public int getName() {
|
||||
return name_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder setName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setName(int value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
name_ = value;
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder setName(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
name_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
*/
|
||||
public Builder mergeName(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002) &&
|
||||
name_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
name_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(name_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
name_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000002;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
public Builder clearName() {
|
||||
name_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
name_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int type_ ;
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public boolean hasType() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType() {
|
||||
public int getType() {
|
||||
return type_;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public Builder setType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setType(int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
type_ = value;
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
*/
|
||||
public Builder setType(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
type_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
*/
|
||||
public Builder mergeType(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
||||
type_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
type_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(type_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
type_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
public Builder clearType() {
|
||||
type_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
type_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -17,22 +17,22 @@ public interface IrVariableOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDeclarationBase getBase();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
boolean hasName();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex name = 2;</code>
|
||||
* <code>required int32 name = 2;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getName();
|
||||
int getName();
|
||||
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
boolean hasType();
|
||||
/**
|
||||
* <code>required .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type = 3;</code>
|
||||
* <code>required int32 type = 3;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getType();
|
||||
int getType();
|
||||
|
||||
/**
|
||||
* <code>required bool is_var = 4;</code>
|
||||
|
||||
+22
-70
@@ -71,17 +71,9 @@ public final class Loop extends
|
||||
bitField0_ |= 0x00000002;
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder subBuilder = null;
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
subBuilder = label_.toBuilder();
|
||||
}
|
||||
label_ = input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(label_);
|
||||
label_ = subBuilder.buildPartial();
|
||||
}
|
||||
case 24: {
|
||||
bitField0_ |= 0x00000004;
|
||||
label_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
@@ -175,17 +167,17 @@ public final class Loop extends
|
||||
}
|
||||
|
||||
public static final int LABEL_FIELD_NUMBER = 3;
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label_;
|
||||
private int label_;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 3;</code>
|
||||
* <code>optional int32 label = 3;</code>
|
||||
*/
|
||||
public boolean hasLabel() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 3;</code>
|
||||
* <code>optional int32 label = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getLabel() {
|
||||
public int getLabel() {
|
||||
return label_;
|
||||
}
|
||||
|
||||
@@ -222,7 +214,7 @@ public final class Loop extends
|
||||
private void initFields() {
|
||||
loopId_ = 0;
|
||||
condition_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
label_ = 0;
|
||||
body_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
origin_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrStatementOrigin.getDefaultInstance();
|
||||
}
|
||||
@@ -244,12 +236,6 @@ public final class Loop extends
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
if (hasLabel()) {
|
||||
if (!getLabel().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasBody()) {
|
||||
if (!getBody().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
@@ -276,7 +262,7 @@ public final class Loop extends
|
||||
output.writeMessage(2, condition_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeMessage(3, label_);
|
||||
output.writeInt32(3, label_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeMessage(4, body_);
|
||||
@@ -303,7 +289,7 @@ public final class Loop extends
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, label_);
|
||||
.computeInt32Size(3, label_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
@@ -411,7 +397,7 @@ public final class Loop extends
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
condition_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
label_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
body_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression.getDefaultInstance();
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
@@ -473,7 +459,7 @@ public final class Loop extends
|
||||
mergeCondition(other.getCondition());
|
||||
}
|
||||
if (other.hasLabel()) {
|
||||
mergeLabel(other.getLabel());
|
||||
setLabel(other.getLabel());
|
||||
}
|
||||
if (other.hasBody()) {
|
||||
mergeBody(other.getBody());
|
||||
@@ -499,12 +485,6 @@ public final class Loop extends
|
||||
|
||||
return false;
|
||||
}
|
||||
if (hasLabel()) {
|
||||
if (!getLabel().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasBody()) {
|
||||
if (!getBody().isInitialized()) {
|
||||
|
||||
@@ -631,63 +611,35 @@ public final class Loop extends
|
||||
return this;
|
||||
}
|
||||
|
||||
private org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
private int label_ ;
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 3;</code>
|
||||
* <code>optional int32 label = 3;</code>
|
||||
*/
|
||||
public boolean hasLabel() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 3;</code>
|
||||
* <code>optional int32 label = 3;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getLabel() {
|
||||
public int getLabel() {
|
||||
return label_;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 3;</code>
|
||||
* <code>optional int32 label = 3;</code>
|
||||
*/
|
||||
public Builder setLabel(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder setLabel(int value) {
|
||||
bitField0_ |= 0x00000004;
|
||||
label_ = value;
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 3;</code>
|
||||
*/
|
||||
public Builder setLabel(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
label_ = builderForValue.build();
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 3;</code>
|
||||
*/
|
||||
public Builder mergeLabel(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004) &&
|
||||
label_ != org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance()) {
|
||||
label_ =
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.newBuilder(label_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
label_ = value;
|
||||
}
|
||||
|
||||
bitField0_ |= 0x00000004;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 3;</code>
|
||||
* <code>optional int32 label = 3;</code>
|
||||
*/
|
||||
public Builder clearLabel() {
|
||||
label_ = org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.getDefaultInstance();
|
||||
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
label_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -26,13 +26,13 @@ public interface LoopOrBuilder extends
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression getCondition();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 3;</code>
|
||||
* <code>optional int32 label = 3;</code>
|
||||
*/
|
||||
boolean hasLabel();
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex label = 3;</code>
|
||||
* <code>optional int32 label = 3;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getLabel();
|
||||
int getLabel();
|
||||
|
||||
/**
|
||||
* <code>optional .org.jetbrains.kotlin.backend.common.serialization.proto.IrExpression body = 4;</code>
|
||||
|
||||
-8
@@ -251,10 +251,6 @@ public final class MemberAccessCommon extends
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!getTypeArguments().isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -494,10 +490,6 @@ public final class MemberAccessCommon extends
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!getTypeArguments().isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
+51
-117
@@ -53,12 +53,25 @@ public final class TypeArguments extends
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
case 8: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
typeArgument_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>();
|
||||
typeArgument_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
typeArgument_.add(input.readMessage(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.PARSER, extensionRegistry));
|
||||
typeArgument_.add(input.readInt32());
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
|
||||
typeArgument_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
typeArgument_.add(input.readInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -98,37 +111,24 @@ public final class TypeArguments extends
|
||||
}
|
||||
|
||||
public static final int TYPE_ARGUMENT_FIELD_NUMBER = 1;
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> typeArgument_;
|
||||
private java.util.List<java.lang.Integer> typeArgument_;
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getTypeArgumentList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getTypeArgumentList() {
|
||||
return typeArgument_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
*/
|
||||
public java.util.List<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder>
|
||||
getTypeArgumentOrBuilderList() {
|
||||
return typeArgument_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
public int getTypeArgumentCount() {
|
||||
return typeArgument_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getTypeArgument(int index) {
|
||||
return typeArgument_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndexOrBuilder getTypeArgumentOrBuilder(
|
||||
int index) {
|
||||
public int getTypeArgument(int index) {
|
||||
return typeArgument_.get(index);
|
||||
}
|
||||
|
||||
@@ -141,12 +141,6 @@ public final class TypeArguments extends
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
for (int i = 0; i < getTypeArgumentCount(); i++) {
|
||||
if (!getTypeArgument(i).isInitialized()) {
|
||||
memoizedIsInitialized = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
@@ -155,7 +149,7 @@ public final class TypeArguments extends
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
for (int i = 0; i < typeArgument_.size(); i++) {
|
||||
output.writeMessage(1, typeArgument_.get(i));
|
||||
output.writeInt32(1, typeArgument_.get(i));
|
||||
}
|
||||
output.writeRawBytes(unknownFields);
|
||||
}
|
||||
@@ -166,9 +160,14 @@ public final class TypeArguments extends
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
for (int i = 0; i < typeArgument_.size(); i++) {
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, typeArgument_.get(i));
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < typeArgument_.size(); i++) {
|
||||
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(typeArgument_.get(i));
|
||||
}
|
||||
size += dataSize;
|
||||
size += 1 * getTypeArgumentList().size();
|
||||
}
|
||||
size += unknownFields.size();
|
||||
memoizedSerializedSize = size;
|
||||
@@ -314,12 +313,6 @@ public final class TypeArguments extends
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
for (int i = 0; i < getTypeArgumentCount(); i++) {
|
||||
if (!getTypeArgument(i).isInitialized()) {
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -342,128 +335,69 @@ public final class TypeArguments extends
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> typeArgument_ =
|
||||
java.util.Collections.emptyList();
|
||||
private java.util.List<java.lang.Integer> typeArgument_ = java.util.Collections.emptyList();
|
||||
private void ensureTypeArgumentIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
typeArgument_ = new java.util.ArrayList<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>(typeArgument_);
|
||||
typeArgument_ = new java.util.ArrayList<java.lang.Integer>(typeArgument_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
public java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> getTypeArgumentList() {
|
||||
public java.util.List<java.lang.Integer>
|
||||
getTypeArgumentList() {
|
||||
return java.util.Collections.unmodifiableList(typeArgument_);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
public int getTypeArgumentCount() {
|
||||
return typeArgument_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
public org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getTypeArgument(int index) {
|
||||
public int getTypeArgument(int index) {
|
||||
return typeArgument_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
public Builder setTypeArgument(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
int index, int value) {
|
||||
ensureTypeArgumentIsMutable();
|
||||
typeArgument_.set(index, value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
public Builder setTypeArgument(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureTypeArgumentIsMutable();
|
||||
typeArgument_.set(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
*/
|
||||
public Builder addTypeArgument(org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
public Builder addTypeArgument(int value) {
|
||||
ensureTypeArgumentIsMutable();
|
||||
typeArgument_.add(value);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
*/
|
||||
public Builder addTypeArgument(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureTypeArgumentIsMutable();
|
||||
typeArgument_.add(index, value);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
*/
|
||||
public Builder addTypeArgument(
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureTypeArgumentIsMutable();
|
||||
typeArgument_.add(builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
*/
|
||||
public Builder addTypeArgument(
|
||||
int index, org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex.Builder builderForValue) {
|
||||
ensureTypeArgumentIsMutable();
|
||||
typeArgument_.add(index, builderForValue.build());
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
public Builder addAllTypeArgument(
|
||||
java.lang.Iterable<? extends org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex> values) {
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureTypeArgumentIsMutable();
|
||||
org.jetbrains.kotlin.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, typeArgument_);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
public Builder clearTypeArgument() {
|
||||
typeArgument_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
*/
|
||||
public Builder removeTypeArgument(int index) {
|
||||
ensureTypeArgumentIsMutable();
|
||||
typeArgument_.remove(index);
|
||||
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
+7
-8
@@ -8,16 +8,15 @@ public interface TypeArgumentsOrBuilder extends
|
||||
org.jetbrains.kotlin.protobuf.MessageLiteOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
java.util.List<org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex>
|
||||
getTypeArgumentList();
|
||||
java.util.List<java.lang.Integer> getTypeArgumentList();
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
*/
|
||||
org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex getTypeArgument(int index);
|
||||
/**
|
||||
* <code>repeated .org.jetbrains.kotlin.backend.common.serialization.proto.IrDataIndex type_argument = 1;</code>
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
int getTypeArgumentCount();
|
||||
/**
|
||||
* <code>repeated int32 type_argument = 1;</code>
|
||||
*/
|
||||
int getTypeArgument(int index);
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user