KT-3008 Change the way how modules are referenced in JS
This commit is contained in:
@@ -603,7 +603,7 @@ public final class DebugJsProtoBuf {
|
||||
/**
|
||||
* <code>repeated string importedModules = 3;</code>
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
org.jetbrains.kotlin.protobuf.ByteString
|
||||
getImportedModulesBytes(int index);
|
||||
}
|
||||
/**
|
||||
@@ -678,7 +678,7 @@ public final class DebugJsProtoBuf {
|
||||
}
|
||||
case 26: {
|
||||
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
importedModules_ = new com.google.protobuf.LazyStringArrayList();
|
||||
importedModules_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList();
|
||||
mutable_bitField0_ |= 0x00000004;
|
||||
}
|
||||
importedModules_.add(input.readBytes());
|
||||
@@ -696,7 +696,7 @@ public final class DebugJsProtoBuf {
|
||||
entry_ = java.util.Collections.unmodifiableList(entry_);
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
importedModules_ = new com.google.protobuf.UnmodifiableLazyStringList(importedModules_);
|
||||
importedModules_ = new org.jetbrains.kotlin.protobuf.UnmodifiableLazyStringList(importedModules_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
@@ -733,7 +733,7 @@ public final class DebugJsProtoBuf {
|
||||
* Protobuf enum {@code org.jetbrains.kotlin.serialization.js.Library.Kind}
|
||||
*/
|
||||
public enum Kind
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
implements org.jetbrains.kotlin.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>PLAIN = 1;</code>
|
||||
*/
|
||||
@@ -773,27 +773,27 @@ public final class DebugJsProtoBuf {
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<Kind>
|
||||
public static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static com.google.protobuf.Internal.EnumLiteMap<Kind>
|
||||
private static org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind>
|
||||
internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<Kind>() {
|
||||
new org.jetbrains.kotlin.protobuf.Internal.EnumLiteMap<Kind>() {
|
||||
public Kind findValueByNumber(int number) {
|
||||
return Kind.valueOf(number);
|
||||
}
|
||||
};
|
||||
|
||||
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
||||
public final org.jetbrains.kotlin.protobuf.Descriptors.EnumValueDescriptor
|
||||
getValueDescriptor() {
|
||||
return getDescriptor().getValues().get(index);
|
||||
}
|
||||
public final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
public final org.jetbrains.kotlin.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptorForType() {
|
||||
return getDescriptor();
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
public static final org.jetbrains.kotlin.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptor() {
|
||||
return org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
@@ -801,7 +801,7 @@ public final class DebugJsProtoBuf {
|
||||
private static final Kind[] VALUES = values();
|
||||
|
||||
public static Kind valueOf(
|
||||
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
||||
org.jetbrains.kotlin.protobuf.Descriptors.EnumValueDescriptor desc) {
|
||||
if (desc.getType() != getDescriptor()) {
|
||||
throw new java.lang.IllegalArgumentException(
|
||||
"EnumValueDescriptor is not for this type.");
|
||||
@@ -1446,7 +1446,7 @@ public final class DebugJsProtoBuf {
|
||||
|
||||
// repeated string importedModules = 3;
|
||||
public static final int IMPORTEDMODULES_FIELD_NUMBER = 3;
|
||||
private com.google.protobuf.LazyStringList importedModules_;
|
||||
private org.jetbrains.kotlin.protobuf.LazyStringList importedModules_;
|
||||
/**
|
||||
* <code>repeated string importedModules = 3;</code>
|
||||
*/
|
||||
@@ -1469,7 +1469,7 @@ public final class DebugJsProtoBuf {
|
||||
/**
|
||||
* <code>repeated string importedModules = 3;</code>
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
public org.jetbrains.kotlin.protobuf.ByteString
|
||||
getImportedModulesBytes(int index) {
|
||||
return importedModules_.getByteString(index);
|
||||
}
|
||||
@@ -1477,7 +1477,7 @@ public final class DebugJsProtoBuf {
|
||||
private void initFields() {
|
||||
entry_ = java.util.Collections.emptyList();
|
||||
kind_ = org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.Kind.PLAIN;
|
||||
importedModules_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
importedModules_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
@@ -1520,13 +1520,13 @@ public final class DebugJsProtoBuf {
|
||||
.computeMessageSize(1, entry_.get(i));
|
||||
}
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
size += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, kind_.getNumber());
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < importedModules_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
dataSize += org.jetbrains.kotlin.protobuf.CodedOutputStream
|
||||
.computeBytesSizeNoTag(importedModules_.getByteString(i));
|
||||
}
|
||||
size += dataSize;
|
||||
@@ -1657,7 +1657,7 @@ public final class DebugJsProtoBuf {
|
||||
}
|
||||
kind_ = org.jetbrains.kotlin.serialization.js.DebugJsProtoBuf.Library.Kind.PLAIN;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
importedModules_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
importedModules_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
return this;
|
||||
}
|
||||
@@ -1701,7 +1701,7 @@ public final class DebugJsProtoBuf {
|
||||
}
|
||||
result.kind_ = kind_;
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
importedModules_ = new com.google.protobuf.UnmodifiableLazyStringList(
|
||||
importedModules_ = new org.jetbrains.kotlin.protobuf.UnmodifiableLazyStringList(
|
||||
importedModules_);
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
}
|
||||
@@ -2071,10 +2071,10 @@ public final class DebugJsProtoBuf {
|
||||
}
|
||||
|
||||
// repeated string importedModules = 3;
|
||||
private com.google.protobuf.LazyStringList importedModules_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
private org.jetbrains.kotlin.protobuf.LazyStringList importedModules_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
|
||||
private void ensureImportedModulesIsMutable() {
|
||||
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
importedModules_ = new com.google.protobuf.LazyStringArrayList(importedModules_);
|
||||
importedModules_ = new org.jetbrains.kotlin.protobuf.LazyStringArrayList(importedModules_);
|
||||
bitField0_ |= 0x00000004;
|
||||
}
|
||||
}
|
||||
@@ -2100,7 +2100,7 @@ public final class DebugJsProtoBuf {
|
||||
/**
|
||||
* <code>repeated string importedModules = 3;</code>
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
public org.jetbrains.kotlin.protobuf.ByteString
|
||||
getImportedModulesBytes(int index) {
|
||||
return importedModules_.getByteString(index);
|
||||
}
|
||||
@@ -2144,7 +2144,7 @@ public final class DebugJsProtoBuf {
|
||||
* <code>repeated string importedModules = 3;</code>
|
||||
*/
|
||||
public Builder clearImportedModules() {
|
||||
importedModules_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||
importedModules_ = org.jetbrains.kotlin.protobuf.LazyStringArrayList.EMPTY;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -2153,7 +2153,7 @@ public final class DebugJsProtoBuf {
|
||||
* <code>repeated string importedModules = 3;</code>
|
||||
*/
|
||||
public Builder addImportedModulesBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
org.jetbrains.kotlin.protobuf.ByteString value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user