diff --git a/jps/jps-plugin/test/org/jetbrains/jet/descriptors/serialization/DebugJavaProtoBuf.java b/jps/jps-plugin/test/org/jetbrains/jet/descriptors/serialization/DebugJavaProtoBuf.java
new file mode 100644
index 00000000000..69e40086b29
--- /dev/null
+++ b/jps/jps-plugin/test/org/jetbrains/jet/descriptors/serialization/DebugJavaProtoBuf.java
@@ -0,0 +1,3883 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: core/serialization.java/src/java_descriptors.debug.proto
+
+package org.jetbrains.jet.descriptors.serialization;
+
+public final class DebugJavaProtoBuf {
+ private DebugJavaProtoBuf() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ registry.add(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.methodSignature);
+ registry.add(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.propertySignature);
+ registry.add(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.implClassName);
+ registry.add(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.index);
+ }
+ public interface JavaTypeOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // optional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
+ *
+ *
+ * One of these should be present + *+ */ + boolean hasPrimitiveType(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
+ *
+ * + * One of these should be present + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.PrimitiveType getPrimitiveType(); + + // optional int32 class_fq_name = 2; + /** + *
optional int32 class_fq_name = 2;
+ */
+ boolean hasClassFqName();
+ /**
+ * optional int32 class_fq_name = 2;
+ */
+ int getClassFqName();
+
+ // optional int32 array_dimension = 3 [default = 0];
+ /**
+ * optional int32 array_dimension = 3 [default = 0];
+ */
+ boolean hasArrayDimension();
+ /**
+ * optional int32 array_dimension = 3 [default = 0];
+ */
+ int getArrayDimension();
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.JavaType}
+ */
+ public static final class JavaType extends
+ com.google.protobuf.GeneratedMessage
+ implements JavaTypeOrBuilder {
+ // Use JavaType.newBuilder() to construct.
+ private JavaType(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private JavaType(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final JavaType defaultInstance;
+ public static JavaType getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public JavaType getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private JavaType(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ int rawValue = input.readEnum();
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.PrimitiveType value = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.PrimitiveType.valueOf(rawValue);
+ if (value == null) {
+ unknownFields.mergeVarintField(1, rawValue);
+ } else {
+ bitField0_ |= 0x00000001;
+ primitiveType_ = value;
+ }
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000002;
+ classFqName_ = input.readInt32();
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000004;
+ arrayDimension_ = input.readInt32();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_JavaType_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_JavaType_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.class, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder.class);
+ }
+
+ public static com.google.protobuf.ParserVOID = 0;
+ *
+ * + * These values correspond to ASM Type sorts + *+ */ + VOID(0, 0), + /** + *
BOOLEAN = 1;
+ */
+ BOOLEAN(1, 1),
+ /**
+ * CHAR = 2;
+ */
+ CHAR(2, 2),
+ /**
+ * BYTE = 3;
+ */
+ BYTE(3, 3),
+ /**
+ * SHORT = 4;
+ */
+ SHORT(4, 4),
+ /**
+ * INT = 5;
+ */
+ INT(5, 5),
+ /**
+ * FLOAT = 6;
+ */
+ FLOAT(6, 6),
+ /**
+ * LONG = 7;
+ */
+ LONG(7, 7),
+ /**
+ * DOUBLE = 8;
+ */
+ DOUBLE(8, 8),
+ ;
+
+ /**
+ * VOID = 0;
+ *
+ * + * These values correspond to ASM Type sorts + *+ */ + public static final int VOID_VALUE = 0; + /** + *
BOOLEAN = 1;
+ */
+ public static final int BOOLEAN_VALUE = 1;
+ /**
+ * CHAR = 2;
+ */
+ public static final int CHAR_VALUE = 2;
+ /**
+ * BYTE = 3;
+ */
+ public static final int BYTE_VALUE = 3;
+ /**
+ * SHORT = 4;
+ */
+ public static final int SHORT_VALUE = 4;
+ /**
+ * INT = 5;
+ */
+ public static final int INT_VALUE = 5;
+ /**
+ * FLOAT = 6;
+ */
+ public static final int FLOAT_VALUE = 6;
+ /**
+ * LONG = 7;
+ */
+ public static final int LONG_VALUE = 7;
+ /**
+ * DOUBLE = 8;
+ */
+ public static final int DOUBLE_VALUE = 8;
+
+
+ public final int getNumber() { return value; }
+
+ public static PrimitiveType valueOf(int value) {
+ switch (value) {
+ case 0: return VOID;
+ case 1: return BOOLEAN;
+ case 2: return CHAR;
+ case 3: return BYTE;
+ case 4: return SHORT;
+ case 5: return INT;
+ case 6: return FLOAT;
+ case 7: return LONG;
+ case 8: return DOUBLE;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMapoptional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
+ *
+ * + * One of these should be present + *+ */ + public boolean hasPrimitiveType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
+ *
+ * + * One of these should be present + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.PrimitiveType getPrimitiveType() { + return primitiveType_; + } + + // optional int32 class_fq_name = 2; + public static final int CLASS_FQ_NAME_FIELD_NUMBER = 2; + private int classFqName_; + /** + *
optional int32 class_fq_name = 2;
+ */
+ public boolean hasClassFqName() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * optional int32 class_fq_name = 2;
+ */
+ public int getClassFqName() {
+ return classFqName_;
+ }
+
+ // optional int32 array_dimension = 3 [default = 0];
+ public static final int ARRAY_DIMENSION_FIELD_NUMBER = 3;
+ private int arrayDimension_;
+ /**
+ * optional int32 array_dimension = 3 [default = 0];
+ */
+ public boolean hasArrayDimension() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional int32 array_dimension = 3 [default = 0];
+ */
+ public int getArrayDimension() {
+ return arrayDimension_;
+ }
+
+ private void initFields() {
+ primitiveType_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.PrimitiveType.VOID;
+ classFqName_ = 0;
+ arrayDimension_ = 0;
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeEnum(1, primitiveType_.getNumber());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeInt32(2, classFqName_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeInt32(3, arrayDimension_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(1, primitiveType_.getNumber());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, classFqName_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, arrayDimension_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.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.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.JavaType}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderoptional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
+ *
+ * + * One of these should be present + *+ */ + public boolean hasPrimitiveType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
+ *
+ * + * One of these should be present + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.PrimitiveType getPrimitiveType() { + return primitiveType_; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
+ *
+ * + * One of these should be present + *+ */ + public Builder setPrimitiveType(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.PrimitiveType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + primitiveType_ = value; + onChanged(); + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaType.PrimitiveType primitive_type = 1;
+ *
+ * + * One of these should be present + *+ */ + public Builder clearPrimitiveType() { + bitField0_ = (bitField0_ & ~0x00000001); + primitiveType_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.PrimitiveType.VOID; + onChanged(); + return this; + } + + // optional int32 class_fq_name = 2; + private int classFqName_ ; + /** + *
optional int32 class_fq_name = 2;
+ */
+ public boolean hasClassFqName() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * optional int32 class_fq_name = 2;
+ */
+ public int getClassFqName() {
+ return classFqName_;
+ }
+ /**
+ * optional int32 class_fq_name = 2;
+ */
+ public Builder setClassFqName(int value) {
+ bitField0_ |= 0x00000002;
+ classFqName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional int32 class_fq_name = 2;
+ */
+ public Builder clearClassFqName() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ classFqName_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional int32 array_dimension = 3 [default = 0];
+ private int arrayDimension_ ;
+ /**
+ * optional int32 array_dimension = 3 [default = 0];
+ */
+ public boolean hasArrayDimension() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional int32 array_dimension = 3 [default = 0];
+ */
+ public int getArrayDimension() {
+ return arrayDimension_;
+ }
+ /**
+ * optional int32 array_dimension = 3 [default = 0];
+ */
+ public Builder setArrayDimension(int value) {
+ bitField0_ |= 0x00000004;
+ arrayDimension_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional int32 array_dimension = 3 [default = 0];
+ */
+ public Builder clearArrayDimension() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ arrayDimension_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.JavaType)
+ }
+
+ static {
+ defaultInstance = new JavaType(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.JavaType)
+ }
+
+ public interface JavaMethodSignatureOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // required int32 name = 1;
+ /**
+ * required int32 name = 1;
+ */
+ boolean hasName();
+ /**
+ * required int32 name = 1;
+ */
+ int getName();
+
+ // required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ boolean hasReturnType();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType getReturnType();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder getReturnTypeOrBuilder();
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType getParameterType(int index);
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ int getParameterTypeCount();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder>
+ getParameterTypeOrBuilderList();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder getParameterTypeOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.JavaMethodSignature}
+ */
+ public static final class JavaMethodSignature extends
+ com.google.protobuf.GeneratedMessage
+ implements JavaMethodSignatureOrBuilder {
+ // Use JavaMethodSignature.newBuilder() to construct.
+ private JavaMethodSignature(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private JavaMethodSignature(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final JavaMethodSignature defaultInstance;
+ public static JavaMethodSignature getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public JavaMethodSignature getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private JavaMethodSignature(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ bitField0_ |= 0x00000001;
+ name_ = input.readInt32();
+ break;
+ }
+ case 18: {
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = returnType_.toBuilder();
+ }
+ returnType_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(returnType_);
+ returnType_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ case 26: {
+ if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+ parameterType_ = new java.util.ArrayListrequired int32 name = 1;
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required int32 name = 1;
+ */
+ public int getName() {
+ return name_;
+ }
+
+ // required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ public static final int RETURN_TYPE_FIELD_NUMBER = 2;
+ private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType returnType_;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public boolean hasReturnType() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType getReturnType() {
+ return returnType_;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder getReturnTypeOrBuilder() {
+ return returnType_;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ public static final int PARAMETER_TYPE_FIELD_NUMBER = 3;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder>
+ getParameterTypeOrBuilderList() {
+ return parameterType_;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public int getParameterTypeCount() {
+ return parameterType_.size();
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType getParameterType(int index) {
+ return parameterType_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder getParameterTypeOrBuilder(
+ int index) {
+ return parameterType_.get(index);
+ }
+
+ private void initFields() {
+ name_ = 0;
+ returnType_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.getDefaultInstance();
+ parameterType_ = java.util.Collections.emptyList();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasName()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasReturnType()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeInt32(1, name_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeMessage(2, returnType_);
+ }
+ for (int i = 0; i < parameterType_.size(); i++) {
+ output.writeMessage(3, parameterType_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(1, name_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, returnType_);
+ }
+ for (int i = 0; i < parameterType_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, parameterType_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.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.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.JavaMethodSignature}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrequired int32 name = 1;
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required int32 name = 1;
+ */
+ public int getName() {
+ return name_;
+ }
+ /**
+ * required int32 name = 1;
+ */
+ public Builder setName(int value) {
+ bitField0_ |= 0x00000001;
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required int32 name = 1;
+ */
+ public Builder clearName() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ name_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType returnType_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder> returnTypeBuilder_;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public boolean hasReturnType() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType getReturnType() {
+ if (returnTypeBuilder_ == null) {
+ return returnType_;
+ } else {
+ return returnTypeBuilder_.getMessage();
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public Builder setReturnType(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType value) {
+ if (returnTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ returnType_ = value;
+ onChanged();
+ } else {
+ returnTypeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public Builder setReturnType(
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder builderForValue) {
+ if (returnTypeBuilder_ == null) {
+ returnType_ = builderForValue.build();
+ onChanged();
+ } else {
+ returnTypeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public Builder mergeReturnType(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType value) {
+ if (returnTypeBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) == 0x00000002) &&
+ returnType_ != org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.getDefaultInstance()) {
+ returnType_ =
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.newBuilder(returnType_).mergeFrom(value).buildPartial();
+ } else {
+ returnType_ = value;
+ }
+ onChanged();
+ } else {
+ returnTypeBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public Builder clearReturnType() {
+ if (returnTypeBuilder_ == null) {
+ returnType_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.getDefaultInstance();
+ onChanged();
+ } else {
+ returnTypeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder getReturnTypeBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getReturnTypeFieldBuilder().getBuilder();
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder getReturnTypeOrBuilder() {
+ if (returnTypeBuilder_ != null) {
+ return returnTypeBuilder_.getMessageOrBuilder();
+ } else {
+ return returnType_;
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType return_type = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder>
+ getReturnTypeFieldBuilder() {
+ if (returnTypeBuilder_ == null) {
+ returnTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder>(
+ returnType_,
+ getParentForChildren(),
+ isClean());
+ returnType_ = null;
+ }
+ return returnTypeBuilder_;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public int getParameterTypeCount() {
+ if (parameterTypeBuilder_ == null) {
+ return parameterType_.size();
+ } else {
+ return parameterTypeBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType getParameterType(int index) {
+ if (parameterTypeBuilder_ == null) {
+ return parameterType_.get(index);
+ } else {
+ return parameterTypeBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public Builder setParameterType(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType value) {
+ if (parameterTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureParameterTypeIsMutable();
+ parameterType_.set(index, value);
+ onChanged();
+ } else {
+ parameterTypeBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public Builder setParameterType(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder builderForValue) {
+ if (parameterTypeBuilder_ == null) {
+ ensureParameterTypeIsMutable();
+ parameterType_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ parameterTypeBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public Builder addParameterType(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType value) {
+ if (parameterTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureParameterTypeIsMutable();
+ parameterType_.add(value);
+ onChanged();
+ } else {
+ parameterTypeBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public Builder addParameterType(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType value) {
+ if (parameterTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureParameterTypeIsMutable();
+ parameterType_.add(index, value);
+ onChanged();
+ } else {
+ parameterTypeBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public Builder addParameterType(
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder builderForValue) {
+ if (parameterTypeBuilder_ == null) {
+ ensureParameterTypeIsMutable();
+ parameterType_.add(builderForValue.build());
+ onChanged();
+ } else {
+ parameterTypeBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public Builder addParameterType(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder builderForValue) {
+ if (parameterTypeBuilder_ == null) {
+ ensureParameterTypeIsMutable();
+ parameterType_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ parameterTypeBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public Builder addAllParameterType(
+ java.lang.Iterable extends org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType> values) {
+ if (parameterTypeBuilder_ == null) {
+ ensureParameterTypeIsMutable();
+ super.addAll(values, parameterType_);
+ onChanged();
+ } else {
+ parameterTypeBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public Builder clearParameterType() {
+ if (parameterTypeBuilder_ == null) {
+ parameterType_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ parameterTypeBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public Builder removeParameterType(int index) {
+ if (parameterTypeBuilder_ == null) {
+ ensureParameterTypeIsMutable();
+ parameterType_.remove(index);
+ onChanged();
+ } else {
+ parameterTypeBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder getParameterTypeBuilder(
+ int index) {
+ return getParameterTypeFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder getParameterTypeOrBuilder(
+ int index) {
+ if (parameterTypeBuilder_ == null) {
+ return parameterType_.get(index); } else {
+ return parameterTypeBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder>
+ getParameterTypeOrBuilderList() {
+ if (parameterTypeBuilder_ != null) {
+ return parameterTypeBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(parameterType_);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder addParameterTypeBuilder() {
+ return getParameterTypeFieldBuilder().addBuilder(
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder addParameterTypeBuilder(
+ int index) {
+ return getParameterTypeFieldBuilder().addBuilder(
+ index, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.JavaType parameter_type = 3;
+ */
+ public java.util.Listrequired int32 name = 1;
+ */
+ boolean hasName();
+ /**
+ * required int32 name = 1;
+ */
+ int getName();
+
+ // required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ boolean hasType();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType getType();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder getTypeOrBuilder();
+
+ // optional bool is_static_in_outer = 3 [default = false];
+ /**
+ * optional bool is_static_in_outer = 3 [default = false];
+ *
+ * + * True iff this field is a backing field for a class object and is really present as a static + * field in the outer class, not as an instance field here + *+ */ + boolean hasIsStaticInOuter(); + /** + *
optional bool is_static_in_outer = 3 [default = false];
+ *
+ * + * True iff this field is a backing field for a class object and is really present as a static + * field in the outer class, not as an instance field here + *+ */ + boolean getIsStaticInOuter(); + } + /** + * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.JavaFieldSignature} + */ + public static final class JavaFieldSignature extends + com.google.protobuf.GeneratedMessage + implements JavaFieldSignatureOrBuilder { + // Use JavaFieldSignature.newBuilder() to construct. + private JavaFieldSignature(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private JavaFieldSignature(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final JavaFieldSignature defaultInstance; + public static JavaFieldSignature getDefaultInstance() { + return defaultInstance; + } + + public JavaFieldSignature getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private JavaFieldSignature( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + name_ = input.readInt32(); + break; + } + case 18: { + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = type_.toBuilder(); + } + type_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(type_); + type_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 24: { + bitField0_ |= 0x00000004; + isStaticInOuter_ = input.readBool(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_JavaFieldSignature_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_JavaFieldSignature_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.class, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.Builder.class); + } + + public static com.google.protobuf.Parser
required int32 name = 1;
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required int32 name = 1;
+ */
+ public int getName() {
+ return name_;
+ }
+
+ // required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ public static final int TYPE_FIELD_NUMBER = 2;
+ private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType type_;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType getType() {
+ return type_;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder getTypeOrBuilder() {
+ return type_;
+ }
+
+ // optional bool is_static_in_outer = 3 [default = false];
+ public static final int IS_STATIC_IN_OUTER_FIELD_NUMBER = 3;
+ private boolean isStaticInOuter_;
+ /**
+ * optional bool is_static_in_outer = 3 [default = false];
+ *
+ * + * True iff this field is a backing field for a class object and is really present as a static + * field in the outer class, not as an instance field here + *+ */ + public boolean hasIsStaticInOuter() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
optional bool is_static_in_outer = 3 [default = false];
+ *
+ * + * True iff this field is a backing field for a class object and is really present as a static + * field in the outer class, not as an instance field here + *+ */ + public boolean getIsStaticInOuter() { + return isStaticInOuter_; + } + + private void initFields() { + name_ = 0; + type_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.getDefaultInstance(); + isStaticInOuter_ = false; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasName()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasType()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, name_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeMessage(2, type_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBool(3, isStaticInOuter_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, name_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, type_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, isStaticInOuter_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.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.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.JavaFieldSignature} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder
required int32 name = 1;
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required int32 name = 1;
+ */
+ public int getName() {
+ return name_;
+ }
+ /**
+ * required int32 name = 1;
+ */
+ public Builder setName(int value) {
+ bitField0_ |= 0x00000001;
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required int32 name = 1;
+ */
+ public Builder clearName() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ name_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType type_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder> typeBuilder_;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType getType() {
+ if (typeBuilder_ == null) {
+ return type_;
+ } else {
+ return typeBuilder_.getMessage();
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public Builder setType(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType value) {
+ if (typeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ type_ = value;
+ onChanged();
+ } else {
+ typeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public Builder setType(
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder builderForValue) {
+ if (typeBuilder_ == null) {
+ type_ = builderForValue.build();
+ onChanged();
+ } else {
+ typeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public Builder mergeType(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType value) {
+ if (typeBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) == 0x00000002) &&
+ type_ != org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.getDefaultInstance()) {
+ type_ =
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.newBuilder(type_).mergeFrom(value).buildPartial();
+ } else {
+ type_ = value;
+ }
+ onChanged();
+ } else {
+ typeBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public Builder clearType() {
+ if (typeBuilder_ == null) {
+ type_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.getDefaultInstance();
+ onChanged();
+ } else {
+ typeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder getTypeBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getTypeFieldBuilder().getBuilder();
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder getTypeOrBuilder() {
+ if (typeBuilder_ != null) {
+ return typeBuilder_.getMessageOrBuilder();
+ } else {
+ return type_;
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.JavaType type = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder>
+ getTypeFieldBuilder() {
+ if (typeBuilder_ == null) {
+ typeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaType.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaTypeOrBuilder>(
+ type_,
+ getParentForChildren(),
+ isClean());
+ type_ = null;
+ }
+ return typeBuilder_;
+ }
+
+ // optional bool is_static_in_outer = 3 [default = false];
+ private boolean isStaticInOuter_ ;
+ /**
+ * optional bool is_static_in_outer = 3 [default = false];
+ *
+ * + * True iff this field is a backing field for a class object and is really present as a static + * field in the outer class, not as an instance field here + *+ */ + public boolean hasIsStaticInOuter() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
optional bool is_static_in_outer = 3 [default = false];
+ *
+ * + * True iff this field is a backing field for a class object and is really present as a static + * field in the outer class, not as an instance field here + *+ */ + public boolean getIsStaticInOuter() { + return isStaticInOuter_; + } + /** + *
optional bool is_static_in_outer = 3 [default = false];
+ *
+ * + * True iff this field is a backing field for a class object and is really present as a static + * field in the outer class, not as an instance field here + *+ */ + public Builder setIsStaticInOuter(boolean value) { + bitField0_ |= 0x00000004; + isStaticInOuter_ = value; + onChanged(); + return this; + } + /** + *
optional bool is_static_in_outer = 3 [default = false];
+ *
+ * + * True iff this field is a backing field for a class object and is really present as a static + * field in the outer class, not as an instance field here + *+ */ + public Builder clearIsStaticInOuter() { + bitField0_ = (bitField0_ & ~0x00000004); + isStaticInOuter_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.JavaFieldSignature) + } + + static { + defaultInstance = new JavaFieldSignature(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.JavaFieldSignature) + } + + public interface JavaPropertySignatureOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1; + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + boolean hasField(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature getField(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignatureOrBuilder getFieldOrBuilder(); + + // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2; + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + boolean hasSyntheticMethod(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getSyntheticMethod(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder getSyntheticMethodOrBuilder(); + + // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3; + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ boolean hasGetter();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getGetter();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder getGetterOrBuilder();
+
+ // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ boolean hasSetter();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getSetter();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder getSetterOrBuilder();
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.JavaPropertySignature}
+ */
+ public static final class JavaPropertySignature extends
+ com.google.protobuf.GeneratedMessage
+ implements JavaPropertySignatureOrBuilder {
+ // Use JavaPropertySignature.newBuilder() to construct.
+ private JavaPropertySignature(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private JavaPropertySignature(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final JavaPropertySignature defaultInstance;
+ public static JavaPropertySignature getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public JavaPropertySignature getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private JavaPropertySignature(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ subBuilder = field_.toBuilder();
+ }
+ field_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(field_);
+ field_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 18: {
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = syntheticMethod_.toBuilder();
+ }
+ syntheticMethod_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(syntheticMethod_);
+ syntheticMethod_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ case 26: {
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ subBuilder = getter_.toBuilder();
+ }
+ getter_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(getter_);
+ getter_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000004;
+ break;
+ }
+ case 34: {
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ subBuilder = setter_.toBuilder();
+ }
+ setter_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(setter_);
+ setter_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000008;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_JavaPropertySignature_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_JavaPropertySignature_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature.class, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature.Builder.class);
+ }
+
+ public static com.google.protobuf.Parseroptional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public boolean hasField() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature getField() { + return field_; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignatureOrBuilder getFieldOrBuilder() { + return field_; + } + + // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2; + public static final int SYNTHETIC_METHOD_FIELD_NUMBER = 2; + private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature syntheticMethod_; + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public boolean hasSyntheticMethod() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getSyntheticMethod() { + return syntheticMethod_; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder getSyntheticMethodOrBuilder() { + return syntheticMethod_; + } + + // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3; + public static final int GETTER_FIELD_NUMBER = 3; + private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getter_; + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public boolean hasGetter() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getGetter() {
+ return getter_;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder getGetterOrBuilder() {
+ return getter_;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ public static final int SETTER_FIELD_NUMBER = 4;
+ private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature setter_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public boolean hasSetter() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getSetter() {
+ return setter_;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder getSetterOrBuilder() {
+ return setter_;
+ }
+
+ private void initFields() {
+ field_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.getDefaultInstance();
+ syntheticMethod_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance();
+ getter_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance();
+ setter_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (hasField()) {
+ if (!getField().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ if (hasSyntheticMethod()) {
+ if (!getSyntheticMethod().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ if (hasGetter()) {
+ if (!getGetter().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ if (hasSetter()) {
+ if (!getSetter().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeMessage(1, field_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeMessage(2, syntheticMethod_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeMessage(3, getter_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeMessage(4, setter_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, field_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, syntheticMethod_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, getter_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, setter_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.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.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.JavaPropertySignature}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderoptional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public boolean hasField() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature getField() { + if (fieldBuilder_ == null) { + return field_; + } else { + return fieldBuilder_.getMessage(); + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public Builder setField(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature value) { + if (fieldBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + field_ = value; + onChanged(); + } else { + fieldBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public Builder setField( + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.Builder builderForValue) { + if (fieldBuilder_ == null) { + field_ = builderForValue.build(); + onChanged(); + } else { + fieldBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public Builder mergeField(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature value) { + if (fieldBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001) && + field_ != org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.getDefaultInstance()) { + field_ = + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.newBuilder(field_).mergeFrom(value).buildPartial(); + } else { + field_ = value; + } + onChanged(); + } else { + fieldBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public Builder clearField() { + if (fieldBuilder_ == null) { + field_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.getDefaultInstance(); + onChanged(); + } else { + fieldBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.Builder getFieldBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getFieldFieldBuilder().getBuilder(); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignatureOrBuilder getFieldOrBuilder() { + if (fieldBuilder_ != null) { + return fieldBuilder_.getMessageOrBuilder(); + } else { + return field_; + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ *
+ * + * A property itself is identified either by the field, or by the synthetic method. + * If the property is annotated, then either field or synthetic_method should be present + *+ */ + private com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignatureOrBuilder> + getFieldFieldBuilder() { + if (fieldBuilder_ == null) { + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignatureOrBuilder>( + field_, + getParentForChildren(), + isClean()); + field_ = null; + } + return fieldBuilder_; + } + + // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2; + private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature syntheticMethod_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder> syntheticMethodBuilder_; + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public boolean hasSyntheticMethod() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getSyntheticMethod() { + if (syntheticMethodBuilder_ == null) { + return syntheticMethod_; + } else { + return syntheticMethodBuilder_.getMessage(); + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public Builder setSyntheticMethod(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature value) { + if (syntheticMethodBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + syntheticMethod_ = value; + onChanged(); + } else { + syntheticMethodBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public Builder setSyntheticMethod( + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder builderForValue) { + if (syntheticMethodBuilder_ == null) { + syntheticMethod_ = builderForValue.build(); + onChanged(); + } else { + syntheticMethodBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public Builder mergeSyntheticMethod(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature value) { + if (syntheticMethodBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002) && + syntheticMethod_ != org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance()) { + syntheticMethod_ = + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.newBuilder(syntheticMethod_).mergeFrom(value).buildPartial(); + } else { + syntheticMethod_ = value; + } + onChanged(); + } else { + syntheticMethodBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public Builder clearSyntheticMethod() { + if (syntheticMethodBuilder_ == null) { + syntheticMethod_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance(); + onChanged(); + } else { + syntheticMethodBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder getSyntheticMethodBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getSyntheticMethodFieldBuilder().getBuilder(); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder getSyntheticMethodOrBuilder() { + if (syntheticMethodBuilder_ != null) { + return syntheticMethodBuilder_.getMessageOrBuilder(); + } else { + return syntheticMethod_; + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature synthetic_method = 2;
+ *
+ * + * Annotations on properties without backing fields are written on a synthetic method with this signature + *+ */ + private com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder> + getSyntheticMethodFieldBuilder() { + if (syntheticMethodBuilder_ == null) { + syntheticMethodBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder>( + syntheticMethod_, + getParentForChildren(), + isClean()); + syntheticMethod_ = null; + } + return syntheticMethodBuilder_; + } + + // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3; + private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getter_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance(); + private com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder> getterBuilder_; + /** + *
optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public boolean hasGetter() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getGetter() {
+ if (getterBuilder_ == null) {
+ return getter_;
+ } else {
+ return getterBuilder_.getMessage();
+ }
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public Builder setGetter(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature value) {
+ if (getterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ getter_ = value;
+ onChanged();
+ } else {
+ getterBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public Builder setGetter(
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder builderForValue) {
+ if (getterBuilder_ == null) {
+ getter_ = builderForValue.build();
+ onChanged();
+ } else {
+ getterBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public Builder mergeGetter(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature value) {
+ if (getterBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) == 0x00000004) &&
+ getter_ != org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance()) {
+ getter_ =
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.newBuilder(getter_).mergeFrom(value).buildPartial();
+ } else {
+ getter_ = value;
+ }
+ onChanged();
+ } else {
+ getterBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public Builder clearGetter() {
+ if (getterBuilder_ == null) {
+ getter_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance();
+ onChanged();
+ } else {
+ getterBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder getGetterBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return getGetterFieldBuilder().getBuilder();
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder getGetterOrBuilder() {
+ if (getterBuilder_ != null) {
+ return getterBuilder_.getMessageOrBuilder();
+ } else {
+ return getter_;
+ }
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature getter = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder>
+ getGetterFieldBuilder() {
+ if (getterBuilder_ == null) {
+ getterBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder>(
+ getter_,
+ getParentForChildren(),
+ isClean());
+ getter_ = null;
+ }
+ return getterBuilder_;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature setter_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder> setterBuilder_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public boolean hasSetter() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature getSetter() {
+ if (setterBuilder_ == null) {
+ return setter_;
+ } else {
+ return setterBuilder_.getMessage();
+ }
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public Builder setSetter(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature value) {
+ if (setterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ setter_ = value;
+ onChanged();
+ } else {
+ setterBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public Builder setSetter(
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder builderForValue) {
+ if (setterBuilder_ == null) {
+ setter_ = builderForValue.build();
+ onChanged();
+ } else {
+ setterBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public Builder mergeSetter(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature value) {
+ if (setterBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) == 0x00000008) &&
+ setter_ != org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance()) {
+ setter_ =
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.newBuilder(setter_).mergeFrom(value).buildPartial();
+ } else {
+ setter_ = value;
+ }
+ onChanged();
+ } else {
+ setterBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000008;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public Builder clearSetter() {
+ if (setterBuilder_ == null) {
+ setter_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance();
+ onChanged();
+ } else {
+ setterBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000008);
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder getSetterBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return getSetterFieldBuilder().getBuilder();
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder getSetterOrBuilder() {
+ if (setterBuilder_ != null) {
+ return setterBuilder_.getMessageOrBuilder();
+ } else {
+ return setter_;
+ }
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.JavaMethodSignature setter = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder>
+ getSetterFieldBuilder() {
+ if (setterBuilder_ == null) {
+ setterBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.Builder, org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignatureOrBuilder>(
+ setter_,
+ getParentForChildren(),
+ isClean());
+ setter_ = null;
+ }
+ return setterBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.JavaPropertySignature)
+ }
+
+ static {
+ defaultInstance = new JavaPropertySignature(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.JavaPropertySignature)
+ }
+
+ public static final int METHOD_SIGNATURE_FIELD_NUMBER = 100;
+ /**
+ * extend .org.jetbrains.jet.descriptors.serialization.Callable { ... }
+ */
+ public static final
+ com.google.protobuf.GeneratedMessage.GeneratedExtension<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable,
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature> methodSignature = com.google.protobuf.GeneratedMessage
+ .newFileScopedGeneratedExtension(
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.class,
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance());
+ public static final int PROPERTY_SIGNATURE_FIELD_NUMBER = 101;
+ /**
+ * extend .org.jetbrains.jet.descriptors.serialization.Callable { ... }
+ */
+ public static final
+ com.google.protobuf.GeneratedMessage.GeneratedExtension<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable,
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature> propertySignature = com.google.protobuf.GeneratedMessage
+ .newFileScopedGeneratedExtension(
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature.class,
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature.getDefaultInstance());
+ public static final int IMPL_CLASS_NAME_FIELD_NUMBER = 102;
+ /**
+ * extend .org.jetbrains.jet.descriptors.serialization.Callable { ... }
+ */
+ public static final
+ com.google.protobuf.GeneratedMessage.GeneratedExtension<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable,
+ java.lang.Integer> implClassName = com.google.protobuf.GeneratedMessage
+ .newFileScopedGeneratedExtension(
+ java.lang.Integer.class,
+ null);
+ public static final int INDEX_FIELD_NUMBER = 100;
+ /**
+ * extend .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter { ... }
+ */
+ public static final
+ com.google.protobuf.GeneratedMessage.GeneratedExtension<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter,
+ java.lang.Integer> index = com.google.protobuf.GeneratedMessage
+ .newFileScopedGeneratedExtension(
+ java.lang.Integer.class,
+ null);
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaType_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaType_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaMethodSignature_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaMethodSignature_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaFieldSignature_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaFieldSignature_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaPropertySignature_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaPropertySignature_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n8core/serialization.java/src/java_descr" +
+ "iptors.debug.proto\022+org.jetbrains.jet.de" +
+ "scriptors.serialization\032;compiler/fronte" +
+ "nd/serialization/src/descriptors.debug.p" +
+ "roto\"\213\002\n\010JavaType\022[\n\016primitive_type\030\001 \001(" +
+ "\0162C.org.jetbrains.jet.descriptors.serial" +
+ "ization.JavaType.PrimitiveType\022\025\n\rclass_" +
+ "fq_name\030\002 \001(\005\022\032\n\017array_dimension\030\003 \001(\005:\001" +
+ "0\"o\n\rPrimitiveType\022\010\n\004VOID\020\000\022\013\n\007BOOLEAN\020" +
+ "\001\022\010\n\004CHAR\020\002\022\010\n\004BYTE\020\003\022\t\n\005SHORT\020\004\022\007\n\003INT\020",
+ "\005\022\t\n\005FLOAT\020\006\022\010\n\004LONG\020\007\022\n\n\006DOUBLE\020\010\"\276\001\n\023J" +
+ "avaMethodSignature\022\014\n\004name\030\001 \002(\005\022J\n\013retu" +
+ "rn_type\030\002 \002(\01325.org.jetbrains.jet.descri" +
+ "ptors.serialization.JavaType\022M\n\016paramete" +
+ "r_type\030\003 \003(\01325.org.jetbrains.jet.descrip" +
+ "tors.serialization.JavaType\"\212\001\n\022JavaFiel" +
+ "dSignature\022\014\n\004name\030\001 \002(\005\022C\n\004type\030\002 \002(\01325" +
+ ".org.jetbrains.jet.descriptors.serializa" +
+ "tion.JavaType\022!\n\022is_static_in_outer\030\003 \001(" +
+ "\010:\005false\"\347\002\n\025JavaPropertySignature\022N\n\005fi",
+ "eld\030\001 \001(\0132?.org.jetbrains.jet.descriptor" +
+ "s.serialization.JavaFieldSignature\022Z\n\020sy" +
+ "nthetic_method\030\002 \001(\0132@.org.jetbrains.jet" +
+ ".descriptors.serialization.JavaMethodSig" +
+ "nature\022P\n\006getter\030\003 \001(\0132@.org.jetbrains.j" +
+ "et.descriptors.serialization.JavaMethodS" +
+ "ignature\022P\n\006setter\030\004 \001(\0132@.org.jetbrains" +
+ ".jet.descriptors.serialization.JavaMetho" +
+ "dSignature:\221\001\n\020method_signature\0225.org.je" +
+ "tbrains.jet.descriptors.serialization.Ca",
+ "llable\030d \001(\0132@.org.jetbrains.jet.descrip" +
+ "tors.serialization.JavaMethodSignature:\225" +
+ "\001\n\022property_signature\0225.org.jetbrains.je" +
+ "t.descriptors.serialization.Callable\030e \001" +
+ "(\0132B.org.jetbrains.jet.descriptors.seria" +
+ "lization.JavaPropertySignature:N\n\017impl_c" +
+ "lass_name\0225.org.jetbrains.jet.descriptor" +
+ "s.serialization.Callable\030f \001(\005:S\n\005index\022" +
+ "D.org.jetbrains.jet.descriptors.serializ" +
+ "ation.Callable.ValueParameter\030d \001(\005B\023B\021D",
+ "ebugJavaProtoBuf"
+ };
+ com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
+ new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
+ public com.google.protobuf.ExtensionRegistry assignDescriptors(
+ com.google.protobuf.Descriptors.FileDescriptor root) {
+ descriptor = root;
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaType_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaType_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaType_descriptor,
+ new java.lang.String[] { "PrimitiveType", "ClassFqName", "ArrayDimension", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaMethodSignature_descriptor =
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaMethodSignature_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaMethodSignature_descriptor,
+ new java.lang.String[] { "Name", "ReturnType", "ParameterType", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaFieldSignature_descriptor =
+ getDescriptor().getMessageTypes().get(2);
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaFieldSignature_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaFieldSignature_descriptor,
+ new java.lang.String[] { "Name", "Type", "IsStaticInOuter", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaPropertySignature_descriptor =
+ getDescriptor().getMessageTypes().get(3);
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaPropertySignature_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_JavaPropertySignature_descriptor,
+ new java.lang.String[] { "Field", "SyntheticMethod", "Getter", "Setter", });
+ methodSignature.internalInit(descriptor.getExtensions().get(0));
+ propertySignature.internalInit(descriptor.getExtensions().get(1));
+ implClassName.internalInit(descriptor.getExtensions().get(2));
+ index.internalInit(descriptor.getExtensions().get(3));
+ return null;
+ }
+ };
+ com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.getDescriptor(),
+ }, assigner);
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/jps/jps-plugin/test/org/jetbrains/jet/descriptors/serialization/DebugProtoBuf.java b/jps/jps-plugin/test/org/jetbrains/jet/descriptors/serialization/DebugProtoBuf.java
new file mode 100644
index 00000000000..a9eca1a0f22
--- /dev/null
+++ b/jps/jps-plugin/test/org/jetbrains/jet/descriptors/serialization/DebugProtoBuf.java
@@ -0,0 +1,14006 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: compiler/frontend/serialization/src/descriptors.debug.proto
+
+package org.jetbrains.jet.descriptors.serialization;
+
+public final class DebugProtoBuf {
+ private DebugProtoBuf() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ }
+ /**
+ * Protobuf enum {@code org.jetbrains.jet.descriptors.serialization.Modality}
+ */
+ public enum Modality
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * FINAL = 0;
+ *
+ * + * 2 bits + *+ */ + FINAL(0, 0), + /** + *
OPEN = 1;
+ */
+ OPEN(1, 1),
+ /**
+ * ABSTRACT = 2;
+ */
+ ABSTRACT(2, 2),
+ ;
+
+ /**
+ * FINAL = 0;
+ *
+ * + * 2 bits + *+ */ + public static final int FINAL_VALUE = 0; + /** + *
OPEN = 1;
+ */
+ public static final int OPEN_VALUE = 1;
+ /**
+ * ABSTRACT = 2;
+ */
+ public static final int ABSTRACT_VALUE = 2;
+
+
+ public final int getNumber() { return value; }
+
+ public static Modality valueOf(int value) {
+ switch (value) {
+ case 0: return FINAL;
+ case 1: return OPEN;
+ case 2: return ABSTRACT;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMapINTERNAL = 0;
+ *
+ * + * 3 bits + *+ */ + INTERNAL(0, 0), + /** + *
PRIVATE = 1;
+ */
+ PRIVATE(1, 1),
+ /**
+ * PROTECTED = 2;
+ */
+ PROTECTED(2, 2),
+ /**
+ * PUBLIC = 3;
+ */
+ PUBLIC(3, 3),
+ /**
+ * EXTRA = 4;
+ *
+ * + * there's an extra field for the actual visibility + *+ */ + EXTRA(4, 4), + ; + + /** + *
INTERNAL = 0;
+ *
+ * + * 3 bits + *+ */ + public static final int INTERNAL_VALUE = 0; + /** + *
PRIVATE = 1;
+ */
+ public static final int PRIVATE_VALUE = 1;
+ /**
+ * PROTECTED = 2;
+ */
+ public static final int PROTECTED_VALUE = 2;
+ /**
+ * PUBLIC = 3;
+ */
+ public static final int PUBLIC_VALUE = 3;
+ /**
+ * EXTRA = 4;
+ *
+ * + * there's an extra field for the actual visibility + *+ */ + public static final int EXTRA_VALUE = 4; + + + public final int getNumber() { return value; } + + public static Visibility valueOf(int value) { + switch (value) { + case 0: return INTERNAL; + case 1: return PRIVATE; + case 2: return PROTECTED; + case 3: return PUBLIC; + case 4: return EXTRA; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap
repeated string name = 1;
+ */
+ java.util.Listrepeated string name = 1;
+ */
+ int getNameCount();
+ /**
+ * repeated string name = 1;
+ */
+ java.lang.String getName(int index);
+ /**
+ * repeated string name = 1;
+ */
+ com.google.protobuf.ByteString
+ getNameBytes(int index);
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.SimpleNameTable}
+ */
+ public static final class SimpleNameTable extends
+ com.google.protobuf.GeneratedMessage
+ implements SimpleNameTableOrBuilder {
+ // Use SimpleNameTable.newBuilder() to construct.
+ private SimpleNameTable(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private SimpleNameTable(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final SimpleNameTable defaultInstance;
+ public static SimpleNameTable getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public SimpleNameTable getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private SimpleNameTable(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ name_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ name_.add(input.readBytes());
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ name_ = new com.google.protobuf.UnmodifiableLazyStringList(name_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_SimpleNameTable_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_SimpleNameTable_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable.Builder.class);
+ }
+
+ public static com.google.protobuf.Parserrepeated string name = 1;
+ */
+ public java.util.Listrepeated string name = 1;
+ */
+ public int getNameCount() {
+ return name_.size();
+ }
+ /**
+ * repeated string name = 1;
+ */
+ public java.lang.String getName(int index) {
+ return name_.get(index);
+ }
+ /**
+ * repeated string name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes(int index) {
+ return name_.getByteString(index);
+ }
+
+ private void initFields() {
+ name_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ for (int i = 0; i < name_.size(); i++) {
+ output.writeBytes(1, name_.getByteString(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < name_.size(); i++) {
+ dataSize += com.google.protobuf.CodedOutputStream
+ .computeBytesSizeNoTag(name_.getByteString(i));
+ }
+ size += dataSize;
+ size += 1 * getNameList().size();
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.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.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.SimpleNameTable}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrepeated string name = 1;
+ */
+ public java.util.Listrepeated string name = 1;
+ */
+ public int getNameCount() {
+ return name_.size();
+ }
+ /**
+ * repeated string name = 1;
+ */
+ public java.lang.String getName(int index) {
+ return name_.get(index);
+ }
+ /**
+ * repeated string name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes(int index) {
+ return name_.getByteString(index);
+ }
+ /**
+ * repeated string name = 1;
+ */
+ public Builder setName(
+ int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureNameIsMutable();
+ name_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string name = 1;
+ */
+ public Builder addName(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureNameIsMutable();
+ name_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string name = 1;
+ */
+ public Builder addAllName(
+ java.lang.Iterablerepeated string name = 1;
+ */
+ public Builder clearName() {
+ name_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated string name = 1;
+ */
+ public Builder addNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureNameIsMutable();
+ name_.add(value);
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.SimpleNameTable)
+ }
+
+ static {
+ defaultInstance = new SimpleNameTable(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.SimpleNameTable)
+ }
+
+ public interface QualifiedNameTableOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index);
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ int getQualifiedNameCount();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder>
+ getQualifiedNameOrBuilderList();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder getQualifiedNameOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.QualifiedNameTable}
+ */
+ public static final class QualifiedNameTable extends
+ com.google.protobuf.GeneratedMessage
+ implements QualifiedNameTableOrBuilder {
+ // Use QualifiedNameTable.newBuilder() to construct.
+ private QualifiedNameTable(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private QualifiedNameTable(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final QualifiedNameTable defaultInstance;
+ public static QualifiedNameTable getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public QualifiedNameTable getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private QualifiedNameTable(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ qualifiedName_ = new java.util.ArrayListoptional int32 parent_qualified_name = 1 [default = -1];
+ */
+ boolean hasParentQualifiedName();
+ /**
+ * optional int32 parent_qualified_name = 1 [default = -1];
+ */
+ int getParentQualifiedName();
+
+ // required int32 short_name = 2;
+ /**
+ * required int32 short_name = 2;
+ */
+ boolean hasShortName();
+ /**
+ * required int32 short_name = 2;
+ */
+ int getShortName();
+
+ // optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ */
+ boolean hasKind();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind();
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName}
+ */
+ public static final class QualifiedName extends
+ com.google.protobuf.GeneratedMessage
+ implements QualifiedNameOrBuilder {
+ // Use QualifiedName.newBuilder() to construct.
+ private QualifiedName(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private QualifiedName(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final QualifiedName defaultInstance;
+ public static QualifiedName getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public QualifiedName getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private QualifiedName(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ bitField0_ |= 0x00000001;
+ parentQualifiedName_ = input.readInt32();
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000002;
+ shortName_ = input.readInt32();
+ break;
+ }
+ case 24: {
+ int rawValue = input.readEnum();
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind value = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind.valueOf(rawValue);
+ if (value == null) {
+ unknownFields.mergeVarintField(3, rawValue);
+ } else {
+ bitField0_ |= 0x00000004;
+ kind_ = value;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_QualifiedName_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_QualifiedName_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Builder.class);
+ }
+
+ public static com.google.protobuf.ParserCLASS = 0;
+ */
+ CLASS(0, 0),
+ /**
+ * PACKAGE = 1;
+ */
+ PACKAGE(1, 1),
+ ;
+
+ /**
+ * CLASS = 0;
+ */
+ public static final int CLASS_VALUE = 0;
+ /**
+ * PACKAGE = 1;
+ */
+ public static final int PACKAGE_VALUE = 1;
+
+
+ public final int getNumber() { return value; }
+
+ public static Kind valueOf(int value) {
+ switch (value) {
+ case 0: return CLASS;
+ case 1: return PACKAGE;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMapoptional int32 parent_qualified_name = 1 [default = -1];
+ */
+ public boolean hasParentQualifiedName() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * optional int32 parent_qualified_name = 1 [default = -1];
+ */
+ public int getParentQualifiedName() {
+ return parentQualifiedName_;
+ }
+
+ // required int32 short_name = 2;
+ public static final int SHORT_NAME_FIELD_NUMBER = 2;
+ private int shortName_;
+ /**
+ * required int32 short_name = 2;
+ */
+ public boolean hasShortName() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required int32 short_name = 2;
+ */
+ public int getShortName() {
+ return shortName_;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ public static final int KIND_FIELD_NUMBER = 3;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind kind_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ */
+ public boolean hasKind() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind() {
+ return kind_;
+ }
+
+ private void initFields() {
+ parentQualifiedName_ = -1;
+ shortName_ = 0;
+ kind_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE;
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasShortName()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeInt32(1, parentQualifiedName_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeInt32(2, shortName_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeEnum(3, kind_.getNumber());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(1, parentQualifiedName_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, shortName_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(3, kind_.getNumber());
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.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.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderoptional int32 parent_qualified_name = 1 [default = -1];
+ */
+ public boolean hasParentQualifiedName() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * optional int32 parent_qualified_name = 1 [default = -1];
+ */
+ public int getParentQualifiedName() {
+ return parentQualifiedName_;
+ }
+ /**
+ * optional int32 parent_qualified_name = 1 [default = -1];
+ */
+ public Builder setParentQualifiedName(int value) {
+ bitField0_ |= 0x00000001;
+ parentQualifiedName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional int32 parent_qualified_name = 1 [default = -1];
+ */
+ public Builder clearParentQualifiedName() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ parentQualifiedName_ = -1;
+ onChanged();
+ return this;
+ }
+
+ // required int32 short_name = 2;
+ private int shortName_ ;
+ /**
+ * required int32 short_name = 2;
+ */
+ public boolean hasShortName() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required int32 short_name = 2;
+ */
+ public int getShortName() {
+ return shortName_;
+ }
+ /**
+ * required int32 short_name = 2;
+ */
+ public Builder setShortName(int value) {
+ bitField0_ |= 0x00000002;
+ shortName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required int32 short_name = 2;
+ */
+ public Builder clearShortName() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ shortName_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind kind_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ */
+ public boolean hasKind() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind getKind() {
+ return kind_;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ */
+ public Builder setKind(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ kind_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind kind = 3 [default = PACKAGE];
+ */
+ public Builder clearKind() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ kind_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName)
+ }
+
+ static {
+ defaultInstance = new QualifiedName(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName)
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ public static final int QUALIFIED_NAME_FIELD_NUMBER = 1;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder>
+ getQualifiedNameOrBuilderList() {
+ return qualifiedName_;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public int getQualifiedNameCount() {
+ return qualifiedName_.size();
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index) {
+ return qualifiedName_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder getQualifiedNameOrBuilder(
+ int index) {
+ return qualifiedName_.get(index);
+ }
+
+ private void initFields() {
+ qualifiedName_ = java.util.Collections.emptyList();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ for (int i = 0; i < getQualifiedNameCount(); i++) {
+ if (!getQualifiedName(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ for (int i = 0; i < qualifiedName_.size(); i++) {
+ output.writeMessage(1, qualifiedName_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < qualifiedName_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, qualifiedName_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.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.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.QualifiedNameTable}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrepeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public int getQualifiedNameCount() {
+ if (qualifiedNameBuilder_ == null) {
+ return qualifiedName_.size();
+ } else {
+ return qualifiedNameBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName getQualifiedName(int index) {
+ if (qualifiedNameBuilder_ == null) {
+ return qualifiedName_.get(index);
+ } else {
+ return qualifiedNameBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public Builder setQualifiedName(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName value) {
+ if (qualifiedNameBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureQualifiedNameIsMutable();
+ qualifiedName_.set(index, value);
+ onChanged();
+ } else {
+ qualifiedNameBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public Builder setQualifiedName(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) {
+ if (qualifiedNameBuilder_ == null) {
+ ensureQualifiedNameIsMutable();
+ qualifiedName_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ qualifiedNameBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public Builder addQualifiedName(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName value) {
+ if (qualifiedNameBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureQualifiedNameIsMutable();
+ qualifiedName_.add(value);
+ onChanged();
+ } else {
+ qualifiedNameBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public Builder addQualifiedName(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName value) {
+ if (qualifiedNameBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureQualifiedNameIsMutable();
+ qualifiedName_.add(index, value);
+ onChanged();
+ } else {
+ qualifiedNameBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public Builder addQualifiedName(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) {
+ if (qualifiedNameBuilder_ == null) {
+ ensureQualifiedNameIsMutable();
+ qualifiedName_.add(builderForValue.build());
+ onChanged();
+ } else {
+ qualifiedNameBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public Builder addQualifiedName(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Builder builderForValue) {
+ if (qualifiedNameBuilder_ == null) {
+ ensureQualifiedNameIsMutable();
+ qualifiedName_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ qualifiedNameBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public Builder addAllQualifiedName(
+ java.lang.Iterable extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName> values) {
+ if (qualifiedNameBuilder_ == null) {
+ ensureQualifiedNameIsMutable();
+ super.addAll(values, qualifiedName_);
+ onChanged();
+ } else {
+ qualifiedNameBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public Builder clearQualifiedName() {
+ if (qualifiedNameBuilder_ == null) {
+ qualifiedName_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ qualifiedNameBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public Builder removeQualifiedName(int index) {
+ if (qualifiedNameBuilder_ == null) {
+ ensureQualifiedNameIsMutable();
+ qualifiedName_.remove(index);
+ onChanged();
+ } else {
+ qualifiedNameBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Builder getQualifiedNameBuilder(
+ int index) {
+ return getQualifiedNameFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder getQualifiedNameOrBuilder(
+ int index) {
+ if (qualifiedNameBuilder_ == null) {
+ return qualifiedName_.get(index); } else {
+ return qualifiedNameBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder>
+ getQualifiedNameOrBuilderList() {
+ if (qualifiedNameBuilder_ != null) {
+ return qualifiedNameBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(qualifiedName_);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Builder addQualifiedNameBuilder() {
+ return getQualifiedNameFieldBuilder().addBuilder(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Builder addQualifiedNameBuilder(
+ int index) {
+ return getQualifiedNameFieldBuilder().addBuilder(
+ index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public java.util.Listrequired .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ boolean hasConstructor();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor getConstructor();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ConstructorOrBuilder getConstructorOrBuilder();
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument getArgument(int index);
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ int getArgumentCount();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ArgumentOrBuilder>
+ getArgumentOrBuilderList();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ArgumentOrBuilder getArgumentOrBuilder(
+ int index);
+
+ // optional bool nullable = 3 [default = false];
+ /**
+ * optional bool nullable = 3 [default = false];
+ */
+ boolean hasNullable();
+ /**
+ * optional bool nullable = 3 [default = false];
+ */
+ boolean getNullable();
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Type}
+ */
+ public static final class Type extends
+ com.google.protobuf.GeneratedMessage
+ implements TypeOrBuilder {
+ // Use Type.newBuilder() to construct.
+ private Type(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private Type(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final Type defaultInstance;
+ public static Type getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public Type getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private Type(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ subBuilder = constructor_.toBuilder();
+ }
+ constructor_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(constructor_);
+ constructor_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ case 18: {
+ if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ argument_ = new java.util.ArrayListoptional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ */
+ boolean hasKind();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind getKind();
+
+ // required int32 id = 2;
+ /**
+ * required int32 id = 2;
+ *
+ * + * CLASS - fqName id, TYPE_PARAMETER - type parameter id + *+ */ + boolean hasId(); + /** + *
required int32 id = 2;
+ *
+ * + * CLASS - fqName id, TYPE_PARAMETER - type parameter id + *+ */ + int getId(); + } + /** + * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Type.Constructor} + */ + public static final class Constructor extends + com.google.protobuf.GeneratedMessage + implements ConstructorOrBuilder { + // Use Constructor.newBuilder() to construct. + private Constructor(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private Constructor(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final Constructor defaultInstance; + public static Constructor getDefaultInstance() { + return defaultInstance; + } + + public Constructor getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Constructor( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind value = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind.valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(1, rawValue); + } else { + bitField0_ |= 0x00000001; + kind_ = value; + } + break; + } + case 16: { + bitField0_ |= 0x00000002; + id_ = input.readInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Type_Constructor_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Type_Constructor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Builder.class); + } + + public static com.google.protobuf.Parser
CLASS = 0;
+ */
+ CLASS(0, 0),
+ /**
+ * TYPE_PARAMETER = 1;
+ */
+ TYPE_PARAMETER(1, 1),
+ ;
+
+ /**
+ * CLASS = 0;
+ */
+ public static final int CLASS_VALUE = 0;
+ /**
+ * TYPE_PARAMETER = 1;
+ */
+ public static final int TYPE_PARAMETER_VALUE = 1;
+
+
+ public final int getNumber() { return value; }
+
+ public static Kind valueOf(int value) {
+ switch (value) {
+ case 0: return CLASS;
+ case 1: return TYPE_PARAMETER;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMapoptional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ */
+ public boolean hasKind() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind getKind() {
+ return kind_;
+ }
+
+ // required int32 id = 2;
+ public static final int ID_FIELD_NUMBER = 2;
+ private int id_;
+ /**
+ * required int32 id = 2;
+ *
+ * + * CLASS - fqName id, TYPE_PARAMETER - type parameter id + *+ */ + public boolean hasId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
required int32 id = 2;
+ *
+ * + * CLASS - fqName id, TYPE_PARAMETER - type parameter id + *+ */ + public int getId() { + return id_; + } + + private void initFields() { + kind_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind.CLASS; + id_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasId()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeEnum(1, kind_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeInt32(2, id_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, kind_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, id_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.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.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Type.Constructor} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder
optional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ */
+ public boolean hasKind() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind getKind() {
+ return kind_;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ */
+ public Builder setKind(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ kind_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ */
+ public Builder clearKind() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ kind_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind.CLASS;
+ onChanged();
+ return this;
+ }
+
+ // required int32 id = 2;
+ private int id_ ;
+ /**
+ * required int32 id = 2;
+ *
+ * + * CLASS - fqName id, TYPE_PARAMETER - type parameter id + *+ */ + public boolean hasId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
required int32 id = 2;
+ *
+ * + * CLASS - fqName id, TYPE_PARAMETER - type parameter id + *+ */ + public int getId() { + return id_; + } + /** + *
required int32 id = 2;
+ *
+ * + * CLASS - fqName id, TYPE_PARAMETER - type parameter id + *+ */ + public Builder setId(int value) { + bitField0_ |= 0x00000002; + id_ = value; + onChanged(); + return this; + } + /** + *
required int32 id = 2;
+ *
+ * + * CLASS - fqName id, TYPE_PARAMETER - type parameter id + *+ */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000002); + id_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.Type.Constructor) + } + + static { + defaultInstance = new Constructor(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.Type.Constructor) + } + + public interface ArgumentOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV]; + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV];
+ */
+ boolean hasProjection();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV];
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection getProjection();
+
+ // required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ boolean hasType();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getType();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder();
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Type.Argument}
+ */
+ public static final class Argument extends
+ com.google.protobuf.GeneratedMessage
+ implements ArgumentOrBuilder {
+ // Use Argument.newBuilder() to construct.
+ private Argument(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private Argument(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final Argument defaultInstance;
+ public static Argument getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public Argument getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private Argument(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ int rawValue = input.readEnum();
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection value = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection.valueOf(rawValue);
+ if (value == null) {
+ unknownFields.mergeVarintField(1, rawValue);
+ } else {
+ bitField0_ |= 0x00000001;
+ projection_ = value;
+ }
+ break;
+ }
+ case 18: {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = type_.toBuilder();
+ }
+ type_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(type_);
+ type_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Type_Argument_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Type_Argument_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Builder.class);
+ }
+
+ public static com.google.protobuf.ParserIN = 0;
+ */
+ IN(0, 0),
+ /**
+ * OUT = 1;
+ */
+ OUT(1, 1),
+ /**
+ * INV = 2;
+ */
+ INV(2, 2),
+ ;
+
+ /**
+ * IN = 0;
+ */
+ public static final int IN_VALUE = 0;
+ /**
+ * OUT = 1;
+ */
+ public static final int OUT_VALUE = 1;
+ /**
+ * INV = 2;
+ */
+ public static final int INV_VALUE = 2;
+
+
+ public final int getNumber() { return value; }
+
+ public static Projection valueOf(int value) {
+ switch (value) {
+ case 0: return IN;
+ case 1: return OUT;
+ case 2: return INV;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMapoptional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV];
+ */
+ public boolean hasProjection() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV];
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection getProjection() {
+ return projection_;
+ }
+
+ // required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ public static final int TYPE_FIELD_NUMBER = 2;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type type_;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getType() {
+ return type_;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder() {
+ return type_;
+ }
+
+ private void initFields() {
+ projection_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection.INV;
+ type_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasType()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!getType().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeEnum(1, projection_.getNumber());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeMessage(2, type_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(1, projection_.getNumber());
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, type_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.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.jet.descriptors.serialization.DebugProtoBuf.Type.Argument prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Type.Argument}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderoptional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV];
+ */
+ public boolean hasProjection() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV];
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection getProjection() {
+ return projection_;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV];
+ */
+ public Builder setProjection(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ projection_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV];
+ */
+ public Builder clearProjection() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ projection_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection.INV;
+ onChanged();
+ return this;
+ }
+
+ // required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type type_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder> typeBuilder_;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getType() {
+ if (typeBuilder_ == null) {
+ return type_;
+ } else {
+ return typeBuilder_.getMessage();
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public Builder setType(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (typeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ type_ = value;
+ onChanged();
+ } else {
+ typeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public Builder setType(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (typeBuilder_ == null) {
+ type_ = builderForValue.build();
+ onChanged();
+ } else {
+ typeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public Builder mergeType(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (typeBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) == 0x00000002) &&
+ type_ != org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance()) {
+ type_ =
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.newBuilder(type_).mergeFrom(value).buildPartial();
+ } else {
+ type_ = value;
+ }
+ onChanged();
+ } else {
+ typeBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public Builder clearType() {
+ if (typeBuilder_ == null) {
+ type_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ onChanged();
+ } else {
+ typeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder getTypeBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getTypeFieldBuilder().getBuilder();
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder() {
+ if (typeBuilder_ != null) {
+ return typeBuilder_.getMessageOrBuilder();
+ } else {
+ return type_;
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getTypeFieldBuilder() {
+ if (typeBuilder_ == null) {
+ typeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>(
+ type_,
+ getParentForChildren(),
+ isClean());
+ type_ = null;
+ }
+ return typeBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.Type.Argument)
+ }
+
+ static {
+ defaultInstance = new Argument(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.Type.Argument)
+ }
+
+ private int bitField0_;
+ // required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ public static final int CONSTRUCTOR_FIELD_NUMBER = 1;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor constructor_;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public boolean hasConstructor() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor getConstructor() {
+ return constructor_;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ConstructorOrBuilder getConstructorOrBuilder() {
+ return constructor_;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ public static final int ARGUMENT_FIELD_NUMBER = 2;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ArgumentOrBuilder>
+ getArgumentOrBuilderList() {
+ return argument_;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public int getArgumentCount() {
+ return argument_.size();
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument getArgument(int index) {
+ return argument_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ArgumentOrBuilder getArgumentOrBuilder(
+ int index) {
+ return argument_.get(index);
+ }
+
+ // optional bool nullable = 3 [default = false];
+ public static final int NULLABLE_FIELD_NUMBER = 3;
+ private boolean nullable_;
+ /**
+ * optional bool nullable = 3 [default = false];
+ */
+ public boolean hasNullable() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * optional bool nullable = 3 [default = false];
+ */
+ public boolean getNullable() {
+ return nullable_;
+ }
+
+ private void initFields() {
+ constructor_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.getDefaultInstance();
+ argument_ = java.util.Collections.emptyList();
+ nullable_ = false;
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasConstructor()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!getConstructor().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ for (int i = 0; i < getArgumentCount(); i++) {
+ if (!getArgument(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeMessage(1, constructor_);
+ }
+ for (int i = 0; i < argument_.size(); i++) {
+ output.writeMessage(2, argument_.get(i));
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeBool(3, nullable_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, constructor_);
+ }
+ for (int i = 0; i < argument_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, argument_.get(i));
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(3, nullable_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.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.jet.descriptors.serialization.DebugProtoBuf.Type prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Type}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrequired .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public boolean hasConstructor() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor getConstructor() {
+ if (constructorBuilder_ == null) {
+ return constructor_;
+ } else {
+ return constructorBuilder_.getMessage();
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public Builder setConstructor(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor value) {
+ if (constructorBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ constructor_ = value;
+ onChanged();
+ } else {
+ constructorBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public Builder setConstructor(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Builder builderForValue) {
+ if (constructorBuilder_ == null) {
+ constructor_ = builderForValue.build();
+ onChanged();
+ } else {
+ constructorBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public Builder mergeConstructor(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor value) {
+ if (constructorBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) == 0x00000001) &&
+ constructor_ != org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.getDefaultInstance()) {
+ constructor_ =
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.newBuilder(constructor_).mergeFrom(value).buildPartial();
+ } else {
+ constructor_ = value;
+ }
+ onChanged();
+ } else {
+ constructorBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public Builder clearConstructor() {
+ if (constructorBuilder_ == null) {
+ constructor_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.getDefaultInstance();
+ onChanged();
+ } else {
+ constructorBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Builder getConstructorBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getConstructorFieldBuilder().getBuilder();
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ConstructorOrBuilder getConstructorOrBuilder() {
+ if (constructorBuilder_ != null) {
+ return constructorBuilder_.getMessageOrBuilder();
+ } else {
+ return constructor_;
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ConstructorOrBuilder>
+ getConstructorFieldBuilder() {
+ if (constructorBuilder_ == null) {
+ constructorBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ConstructorOrBuilder>(
+ constructor_,
+ getParentForChildren(),
+ isClean());
+ constructor_ = null;
+ }
+ return constructorBuilder_;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public int getArgumentCount() {
+ if (argumentBuilder_ == null) {
+ return argument_.size();
+ } else {
+ return argumentBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument getArgument(int index) {
+ if (argumentBuilder_ == null) {
+ return argument_.get(index);
+ } else {
+ return argumentBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public Builder setArgument(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument value) {
+ if (argumentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureArgumentIsMutable();
+ argument_.set(index, value);
+ onChanged();
+ } else {
+ argumentBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public Builder setArgument(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Builder builderForValue) {
+ if (argumentBuilder_ == null) {
+ ensureArgumentIsMutable();
+ argument_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ argumentBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public Builder addArgument(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument value) {
+ if (argumentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureArgumentIsMutable();
+ argument_.add(value);
+ onChanged();
+ } else {
+ argumentBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public Builder addArgument(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument value) {
+ if (argumentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureArgumentIsMutable();
+ argument_.add(index, value);
+ onChanged();
+ } else {
+ argumentBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public Builder addArgument(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Builder builderForValue) {
+ if (argumentBuilder_ == null) {
+ ensureArgumentIsMutable();
+ argument_.add(builderForValue.build());
+ onChanged();
+ } else {
+ argumentBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public Builder addArgument(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Builder builderForValue) {
+ if (argumentBuilder_ == null) {
+ ensureArgumentIsMutable();
+ argument_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ argumentBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public Builder addAllArgument(
+ java.lang.Iterable extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument> values) {
+ if (argumentBuilder_ == null) {
+ ensureArgumentIsMutable();
+ super.addAll(values, argument_);
+ onChanged();
+ } else {
+ argumentBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public Builder clearArgument() {
+ if (argumentBuilder_ == null) {
+ argument_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ argumentBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public Builder removeArgument(int index) {
+ if (argumentBuilder_ == null) {
+ ensureArgumentIsMutable();
+ argument_.remove(index);
+ onChanged();
+ } else {
+ argumentBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Builder getArgumentBuilder(
+ int index) {
+ return getArgumentFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ArgumentOrBuilder getArgumentOrBuilder(
+ int index) {
+ if (argumentBuilder_ == null) {
+ return argument_.get(index); } else {
+ return argumentBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ArgumentOrBuilder>
+ getArgumentOrBuilderList() {
+ if (argumentBuilder_ != null) {
+ return argumentBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(argument_);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Builder addArgumentBuilder() {
+ return getArgumentFieldBuilder().addBuilder(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Builder addArgumentBuilder(
+ int index) {
+ return getArgumentFieldBuilder().addBuilder(
+ index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public java.util.Listoptional bool nullable = 3 [default = false];
+ */
+ public boolean hasNullable() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional bool nullable = 3 [default = false];
+ */
+ public boolean getNullable() {
+ return nullable_;
+ }
+ /**
+ * optional bool nullable = 3 [default = false];
+ */
+ public Builder setNullable(boolean value) {
+ bitField0_ |= 0x00000004;
+ nullable_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional bool nullable = 3 [default = false];
+ */
+ public Builder clearNullable() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nullable_ = false;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.Type)
+ }
+
+ static {
+ defaultInstance = new Type(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.Type)
+ }
+
+ public interface TypeParameterOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // required int32 id = 1;
+ /**
+ * required int32 id = 1;
+ */
+ boolean hasId();
+ /**
+ * required int32 id = 1;
+ */
+ int getId();
+
+ // required int32 name = 2;
+ /**
+ * required int32 name = 2;
+ */
+ boolean hasName();
+ /**
+ * required int32 name = 2;
+ */
+ int getName();
+
+ // optional bool reified = 3 [default = false];
+ /**
+ * optional bool reified = 3 [default = false];
+ */
+ boolean hasReified();
+ /**
+ * optional bool reified = 3 [default = false];
+ */
+ boolean getReified();
+
+ // optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ */
+ boolean hasVariance();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance getVariance();
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getUpperBound(int index);
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ int getUpperBoundCount();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getUpperBoundOrBuilderList();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getUpperBoundOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.TypeParameter}
+ */
+ public static final class TypeParameter extends
+ com.google.protobuf.GeneratedMessage
+ implements TypeParameterOrBuilder {
+ // Use TypeParameter.newBuilder() to construct.
+ private TypeParameter(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private TypeParameter(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final TypeParameter defaultInstance;
+ public static TypeParameter getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public TypeParameter getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private TypeParameter(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ bitField0_ |= 0x00000001;
+ id_ = input.readInt32();
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000002;
+ name_ = input.readInt32();
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000004;
+ reified_ = input.readBool();
+ break;
+ }
+ case 32: {
+ int rawValue = input.readEnum();
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance value = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance.valueOf(rawValue);
+ if (value == null) {
+ unknownFields.mergeVarintField(4, rawValue);
+ } else {
+ bitField0_ |= 0x00000008;
+ variance_ = value;
+ }
+ break;
+ }
+ case 42: {
+ if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ upperBound_ = new java.util.ArrayListIN = 0;
+ */
+ IN(0, 0),
+ /**
+ * OUT = 1;
+ */
+ OUT(1, 1),
+ /**
+ * INV = 2;
+ */
+ INV(2, 2),
+ ;
+
+ /**
+ * IN = 0;
+ */
+ public static final int IN_VALUE = 0;
+ /**
+ * OUT = 1;
+ */
+ public static final int OUT_VALUE = 1;
+ /**
+ * INV = 2;
+ */
+ public static final int INV_VALUE = 2;
+
+
+ public final int getNumber() { return value; }
+
+ public static Variance valueOf(int value) {
+ switch (value) {
+ case 0: return IN;
+ case 1: return OUT;
+ case 2: return INV;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMaprequired int32 id = 1;
+ */
+ public boolean hasId() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required int32 id = 1;
+ */
+ public int getId() {
+ return id_;
+ }
+
+ // required int32 name = 2;
+ public static final int NAME_FIELD_NUMBER = 2;
+ private int name_;
+ /**
+ * required int32 name = 2;
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required int32 name = 2;
+ */
+ public int getName() {
+ return name_;
+ }
+
+ // optional bool reified = 3 [default = false];
+ public static final int REIFIED_FIELD_NUMBER = 3;
+ private boolean reified_;
+ /**
+ * optional bool reified = 3 [default = false];
+ */
+ public boolean hasReified() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional bool reified = 3 [default = false];
+ */
+ public boolean getReified() {
+ return reified_;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ public static final int VARIANCE_FIELD_NUMBER = 4;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance variance_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ */
+ public boolean hasVariance() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance getVariance() {
+ return variance_;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ public static final int UPPER_BOUND_FIELD_NUMBER = 5;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getUpperBoundOrBuilderList() {
+ return upperBound_;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public int getUpperBoundCount() {
+ return upperBound_.size();
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getUpperBound(int index) {
+ return upperBound_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getUpperBoundOrBuilder(
+ int index) {
+ return upperBound_.get(index);
+ }
+
+ private void initFields() {
+ id_ = 0;
+ name_ = 0;
+ reified_ = false;
+ variance_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance.INV;
+ upperBound_ = java.util.Collections.emptyList();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasId()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasName()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ for (int i = 0; i < getUpperBoundCount(); i++) {
+ if (!getUpperBound(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeInt32(1, id_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeInt32(2, name_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeBool(3, reified_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeEnum(4, variance_.getNumber());
+ }
+ for (int i = 0; i < upperBound_.size(); i++) {
+ output.writeMessage(5, upperBound_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(1, id_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, name_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(3, reified_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(4, variance_.getNumber());
+ }
+ for (int i = 0; i < upperBound_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, upperBound_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.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.jet.descriptors.serialization.DebugProtoBuf.TypeParameter prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.TypeParameter}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrequired int32 id = 1;
+ */
+ public boolean hasId() {
+ return ((bitField0_ & 0x00000001) == 0x00000001);
+ }
+ /**
+ * required int32 id = 1;
+ */
+ public int getId() {
+ return id_;
+ }
+ /**
+ * required int32 id = 1;
+ */
+ public Builder setId(int value) {
+ bitField0_ |= 0x00000001;
+ id_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required int32 id = 1;
+ */
+ public Builder clearId() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ id_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // required int32 name = 2;
+ private int name_ ;
+ /**
+ * required int32 name = 2;
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required int32 name = 2;
+ */
+ public int getName() {
+ return name_;
+ }
+ /**
+ * required int32 name = 2;
+ */
+ public Builder setName(int value) {
+ bitField0_ |= 0x00000002;
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required int32 name = 2;
+ */
+ public Builder clearName() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ name_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional bool reified = 3 [default = false];
+ private boolean reified_ ;
+ /**
+ * optional bool reified = 3 [default = false];
+ */
+ public boolean hasReified() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * optional bool reified = 3 [default = false];
+ */
+ public boolean getReified() {
+ return reified_;
+ }
+ /**
+ * optional bool reified = 3 [default = false];
+ */
+ public Builder setReified(boolean value) {
+ bitField0_ |= 0x00000004;
+ reified_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional bool reified = 3 [default = false];
+ */
+ public Builder clearReified() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ reified_ = false;
+ onChanged();
+ return this;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance variance_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance.INV;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ */
+ public boolean hasVariance() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance getVariance() {
+ return variance_;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ */
+ public Builder setVariance(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
+ variance_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance variance = 4 [default = INV];
+ */
+ public Builder clearVariance() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ variance_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance.INV;
+ onChanged();
+ return this;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public int getUpperBoundCount() {
+ if (upperBoundBuilder_ == null) {
+ return upperBound_.size();
+ } else {
+ return upperBoundBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getUpperBound(int index) {
+ if (upperBoundBuilder_ == null) {
+ return upperBound_.get(index);
+ } else {
+ return upperBoundBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public Builder setUpperBound(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (upperBoundBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureUpperBoundIsMutable();
+ upperBound_.set(index, value);
+ onChanged();
+ } else {
+ upperBoundBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public Builder setUpperBound(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (upperBoundBuilder_ == null) {
+ ensureUpperBoundIsMutable();
+ upperBound_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ upperBoundBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public Builder addUpperBound(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (upperBoundBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureUpperBoundIsMutable();
+ upperBound_.add(value);
+ onChanged();
+ } else {
+ upperBoundBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public Builder addUpperBound(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (upperBoundBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureUpperBoundIsMutable();
+ upperBound_.add(index, value);
+ onChanged();
+ } else {
+ upperBoundBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public Builder addUpperBound(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (upperBoundBuilder_ == null) {
+ ensureUpperBoundIsMutable();
+ upperBound_.add(builderForValue.build());
+ onChanged();
+ } else {
+ upperBoundBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public Builder addUpperBound(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (upperBoundBuilder_ == null) {
+ ensureUpperBoundIsMutable();
+ upperBound_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ upperBoundBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public Builder addAllUpperBound(
+ java.lang.Iterable extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type> values) {
+ if (upperBoundBuilder_ == null) {
+ ensureUpperBoundIsMutable();
+ super.addAll(values, upperBound_);
+ onChanged();
+ } else {
+ upperBoundBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public Builder clearUpperBound() {
+ if (upperBoundBuilder_ == null) {
+ upperBound_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ } else {
+ upperBoundBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public Builder removeUpperBound(int index) {
+ if (upperBoundBuilder_ == null) {
+ ensureUpperBoundIsMutable();
+ upperBound_.remove(index);
+ onChanged();
+ } else {
+ upperBoundBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder getUpperBoundBuilder(
+ int index) {
+ return getUpperBoundFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getUpperBoundOrBuilder(
+ int index) {
+ if (upperBoundBuilder_ == null) {
+ return upperBound_.get(index); } else {
+ return upperBoundBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getUpperBoundOrBuilderList() {
+ if (upperBoundBuilder_ != null) {
+ return upperBoundBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(upperBound_);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder addUpperBoundBuilder() {
+ return getUpperBoundFieldBuilder().addBuilder(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder addUpperBoundBuilder(
+ int index) {
+ return getUpperBoundFieldBuilder().addBuilder(
+ index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public java.util.Listoptional int32 flags = 1 [default = 0];
+ *
+ * + * + *Visibility + *Modality + *has_annotation + *ClassKind + *is_inner + *+ */ + boolean hasFlags(); + /** + *
optional int32 flags = 1 [default = 0];
+ *
+ * + * + *Visibility + *Modality + *has_annotation + *ClassKind + *is_inner + *+ */ + int getFlags(); + + // optional string extra_visibility = 2; + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + boolean hasExtraVisibility(); + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + java.lang.String getExtraVisibility(); + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + com.google.protobuf.ByteString + getExtraVisibilityBytes(); + + // required int32 fq_name = 3; + /** + *
required int32 fq_name = 3;
+ */
+ boolean hasFqName();
+ /**
+ * required int32 fq_name = 3;
+ */
+ int getFqName();
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + boolean hasClassObject(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject getClassObject(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObjectOrBuilder getClassObjectOrBuilder(); + + // repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5; + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter getTypeParameter(int index);
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ int getTypeParameterCount();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder>
+ getTypeParameterOrBuilderList();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder(
+ int index);
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getSupertype(int index);
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ int getSupertypeCount();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getSupertypeOrBuilderList();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getSupertypeOrBuilder(
+ int index);
+
+ // repeated int32 nested_class_name = 7;
+ /**
+ * repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + java.util.List
repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + int getNestedClassNameCount(); + /** + *
repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + int getNestedClassName(int index); + + // repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11; + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable getMember(int index);
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ int getMemberCount();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>
+ getMemberOrBuilderList();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder getMemberOrBuilder(
+ int index);
+
+ // repeated int32 enum_entry = 12;
+ /**
+ * repeated int32 enum_entry = 12;
+ */
+ java.util.Listrepeated int32 enum_entry = 12;
+ */
+ int getEnumEntryCount();
+ /**
+ * repeated int32 enum_entry = 12;
+ */
+ int getEnumEntry(int index);
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + boolean hasPrimaryConstructor(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor getPrimaryConstructor(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructorOrBuilder getPrimaryConstructorOrBuilder(); + } + /** + * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Class} + */ + public static final class Class extends + com.google.protobuf.GeneratedMessage + implements ClassOrBuilder { + // Use Class.newBuilder() to construct. + private Class(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private Class(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final Class defaultInstance; + public static Class getDefaultInstance() { + return defaultInstance; + } + + public Class getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Class( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + flags_ = input.readInt32(); + break; + } + case 18: { + bitField0_ |= 0x00000002; + extraVisibility_ = input.readBytes(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + fqName_ = input.readInt32(); + break; + } + case 34: { + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.Builder subBuilder = null; + if (((bitField0_ & 0x00000008) == 0x00000008)) { + subBuilder = classObject_.toBuilder(); + } + classObject_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(classObject_); + classObject_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + typeParameter_ = new java.util.ArrayList
CLASS = 0;
+ *
+ * + * 3 bits + *+ */ + CLASS(0, 0), + /** + *
TRAIT = 1;
+ */
+ TRAIT(1, 1),
+ /**
+ * ENUM_CLASS = 2;
+ */
+ ENUM_CLASS(2, 2),
+ /**
+ * ENUM_ENTRY = 3;
+ */
+ ENUM_ENTRY(3, 3),
+ /**
+ * ANNOTATION_CLASS = 4;
+ */
+ ANNOTATION_CLASS(4, 4),
+ /**
+ * OBJECT = 5;
+ */
+ OBJECT(5, 5),
+ /**
+ * CLASS_OBJECT = 6;
+ */
+ CLASS_OBJECT(6, 6),
+ ;
+
+ /**
+ * CLASS = 0;
+ *
+ * + * 3 bits + *+ */ + public static final int CLASS_VALUE = 0; + /** + *
TRAIT = 1;
+ */
+ public static final int TRAIT_VALUE = 1;
+ /**
+ * ENUM_CLASS = 2;
+ */
+ public static final int ENUM_CLASS_VALUE = 2;
+ /**
+ * ENUM_ENTRY = 3;
+ */
+ public static final int ENUM_ENTRY_VALUE = 3;
+ /**
+ * ANNOTATION_CLASS = 4;
+ */
+ public static final int ANNOTATION_CLASS_VALUE = 4;
+ /**
+ * OBJECT = 5;
+ */
+ public static final int OBJECT_VALUE = 5;
+ /**
+ * CLASS_OBJECT = 6;
+ */
+ public static final int CLASS_OBJECT_VALUE = 6;
+
+
+ public final int getNumber() { return value; }
+
+ public static Kind valueOf(int value) {
+ switch (value) {
+ case 0: return CLASS;
+ case 1: return TRAIT;
+ case 2: return ENUM_CLASS;
+ case 3: return ENUM_ENTRY;
+ case 4: return ANNOTATION_CLASS;
+ case 5: return OBJECT;
+ case 6: return CLASS_OBJECT;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMapoptional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + boolean hasData(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class getData(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.ClassOrBuilder getDataOrBuilder(); + } + /** + * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Class.ClassObject} + */ + public static final class ClassObject extends + com.google.protobuf.GeneratedMessage + implements ClassObjectOrBuilder { + // Use ClassObject.newBuilder() to construct. + private ClassObject(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private ClassObject(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final ClassObject defaultInstance; + public static ClassObject getDefaultInstance() { + return defaultInstance; + } + + public ClassObject getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ClassObject( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = data_.toBuilder(); + } + data_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Class_ClassObject_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Class_ClassObject_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.Builder.class); + } + + public static com.google.protobuf.Parser
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public boolean hasData() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class getData() { + return data_; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.ClassOrBuilder getDataOrBuilder() { + return data_; + } + + private void initFields() { + data_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (hasData()) { + if (!getData().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeMessage(1, data_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, data_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.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.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Class.ClassObject} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public boolean hasData() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class getData() { + if (dataBuilder_ == null) { + return data_; + } else { + return dataBuilder_.getMessage(); + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public Builder setData(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class value) { + if (dataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + data_ = value; + onChanged(); + } else { + dataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public Builder setData( + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.Builder builderForValue) { + if (dataBuilder_ == null) { + data_ = builderForValue.build(); + onChanged(); + } else { + dataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public Builder mergeData(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class value) { + if (dataBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001) && + data_ != org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.getDefaultInstance()) { + data_ = + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.newBuilder(data_).mergeFrom(value).buildPartial(); + } else { + data_ = value; + } + onChanged(); + } else { + dataBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public Builder clearData() { + if (dataBuilder_ == null) { + data_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.getDefaultInstance(); + onChanged(); + } else { + dataBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.Builder getDataBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getDataFieldBuilder().getBuilder(); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.ClassOrBuilder getDataOrBuilder() { + if (dataBuilder_ != null) { + return dataBuilder_.getMessageOrBuilder(); + } else { + return data_; + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ *
+ * + * If this field is present, it contains serialized data for a synthetic class object, for which there's no class file. + * Otherwise class object was compiled to a separate class file and serialized data can be found in the annotation on that class + *+ */ + private com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.ClassOrBuilder> + getDataFieldBuilder() { + if (dataBuilder_ == null) { + dataBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.ClassOrBuilder>( + data_, + getParentForChildren(), + isClean()); + data_ = null; + } + return dataBuilder_; + } + + // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.Class.ClassObject) + } + + static { + defaultInstance = new ClassObject(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.Class.ClassObject) + } + + public interface PrimaryConstructorOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1; + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + boolean hasData(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable getData(); + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder getDataOrBuilder(); + } + /** + * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor} + */ + public static final class PrimaryConstructor extends + com.google.protobuf.GeneratedMessage + implements PrimaryConstructorOrBuilder { + // Use PrimaryConstructor.newBuilder() to construct. + private PrimaryConstructor(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private PrimaryConstructor(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final PrimaryConstructor defaultInstance; + public static PrimaryConstructor getDefaultInstance() { + return defaultInstance; + } + + public PrimaryConstructor getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PrimaryConstructor( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = data_.toBuilder(); + } + data_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Class_PrimaryConstructor_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Class_PrimaryConstructor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.Builder.class); + } + + public static com.google.protobuf.Parser
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public boolean hasData() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable getData() { + return data_; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder getDataOrBuilder() { + return data_; + } + + private void initFields() { + data_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (hasData()) { + if (!getData().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeMessage(1, data_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, data_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.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.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public boolean hasData() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable getData() { + if (dataBuilder_ == null) { + return data_; + } else { + return dataBuilder_.getMessage(); + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public Builder setData(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable value) { + if (dataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + data_ = value; + onChanged(); + } else { + dataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public Builder setData( + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder builderForValue) { + if (dataBuilder_ == null) { + data_ = builderForValue.build(); + onChanged(); + } else { + dataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public Builder mergeData(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable value) { + if (dataBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001) && + data_ != org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance()) { + data_ = + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.newBuilder(data_).mergeFrom(value).buildPartial(); + } else { + data_ = value; + } + onChanged(); + } else { + dataBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public Builder clearData() { + if (dataBuilder_ == null) { + data_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance(); + onChanged(); + } else { + dataBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder getDataBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getDataFieldBuilder().getBuilder(); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder getDataOrBuilder() { + if (dataBuilder_ != null) { + return dataBuilder_.getMessageOrBuilder(); + } else { + return data_; + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ *
+ * + * If this field is present, it contains serialized data for the primary constructor. + * Otherwise it's default and can be created manually upon deserialization + *+ */ + private com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder> + getDataFieldBuilder() { + if (dataBuilder_ == null) { + dataBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>( + data_, + getParentForChildren(), + isClean()); + data_ = null; + } + return dataBuilder_; + } + + // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor) + } + + static { + defaultInstance = new PrimaryConstructor(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor) + } + + private int bitField0_; + // optional int32 flags = 1 [default = 0]; + public static final int FLAGS_FIELD_NUMBER = 1; + private int flags_; + /** + *
optional int32 flags = 1 [default = 0];
+ *
+ * + * + *Visibility + *Modality + *has_annotation + *ClassKind + *is_inner + *+ */ + public boolean hasFlags() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int32 flags = 1 [default = 0];
+ *
+ * + * + *Visibility + *Modality + *has_annotation + *ClassKind + *is_inner + *+ */ + public int getFlags() { + return flags_; + } + + // optional string extra_visibility = 2; + public static final int EXTRA_VISIBILITY_FIELD_NUMBER = 2; + private java.lang.Object extraVisibility_; + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public boolean hasExtraVisibility() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public java.lang.String getExtraVisibility() { + java.lang.Object ref = extraVisibility_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + extraVisibility_ = s; + } + return s; + } + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public com.google.protobuf.ByteString + getExtraVisibilityBytes() { + java.lang.Object ref = extraVisibility_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + extraVisibility_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // required int32 fq_name = 3; + public static final int FQ_NAME_FIELD_NUMBER = 3; + private int fqName_; + /** + *
required int32 fq_name = 3;
+ */
+ public boolean hasFqName() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * required int32 fq_name = 3;
+ */
+ public int getFqName() {
+ return fqName_;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ public static final int CLASS_OBJECT_FIELD_NUMBER = 4;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject classObject_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public boolean hasClassObject() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject getClassObject() { + return classObject_; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObjectOrBuilder getClassObjectOrBuilder() { + return classObject_; + } + + // repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5; + public static final int TYPE_PARAMETER_FIELD_NUMBER = 5; + private java.util.List
repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder>
+ getTypeParameterOrBuilderList() {
+ return typeParameter_;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public int getTypeParameterCount() {
+ return typeParameter_.size();
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter getTypeParameter(int index) {
+ return typeParameter_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder(
+ int index) {
+ return typeParameter_.get(index);
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ public static final int SUPERTYPE_FIELD_NUMBER = 6;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getSupertypeOrBuilderList() {
+ return supertype_;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public int getSupertypeCount() {
+ return supertype_.size();
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getSupertype(int index) {
+ return supertype_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getSupertypeOrBuilder(
+ int index) {
+ return supertype_.get(index);
+ }
+
+ // repeated int32 nested_class_name = 7;
+ public static final int NESTED_CLASS_NAME_FIELD_NUMBER = 7;
+ private java.util.Listrepeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + public java.util.List
repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + public int getNestedClassNameCount() { + return nestedClassName_.size(); + } + /** + *
repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + public int getNestedClassName(int index) { + return nestedClassName_.get(index); + } + + // repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11; + public static final int MEMBER_FIELD_NUMBER = 11; + private java.util.List
repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>
+ getMemberOrBuilderList() {
+ return member_;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public int getMemberCount() {
+ return member_.size();
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable getMember(int index) {
+ return member_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder getMemberOrBuilder(
+ int index) {
+ return member_.get(index);
+ }
+
+ // repeated int32 enum_entry = 12;
+ public static final int ENUM_ENTRY_FIELD_NUMBER = 12;
+ private java.util.Listrepeated int32 enum_entry = 12;
+ */
+ public java.util.Listrepeated int32 enum_entry = 12;
+ */
+ public int getEnumEntryCount() {
+ return enumEntry_.size();
+ }
+ /**
+ * repeated int32 enum_entry = 12;
+ */
+ public int getEnumEntry(int index) {
+ return enumEntry_.get(index);
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ public static final int PRIMARY_CONSTRUCTOR_FIELD_NUMBER = 13;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor primaryConstructor_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public boolean hasPrimaryConstructor() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor getPrimaryConstructor() { + return primaryConstructor_; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructorOrBuilder getPrimaryConstructorOrBuilder() { + return primaryConstructor_; + } + + private void initFields() { + flags_ = 0; + extraVisibility_ = ""; + fqName_ = 0; + classObject_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.getDefaultInstance(); + typeParameter_ = java.util.Collections.emptyList(); + supertype_ = java.util.Collections.emptyList(); + nestedClassName_ = java.util.Collections.emptyList(); + member_ = java.util.Collections.emptyList(); + enumEntry_ = java.util.Collections.emptyList(); + primaryConstructor_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasFqName()) { + memoizedIsInitialized = 0; + return false; + } + if (hasClassObject()) { + if (!getClassObject().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + for (int i = 0; i < getTypeParameterCount(); i++) { + if (!getTypeParameter(i).isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + for (int i = 0; i < getSupertypeCount(); i++) { + if (!getSupertype(i).isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + for (int i = 0; i < getMemberCount(); i++) { + if (!getMember(i).isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + if (hasPrimaryConstructor()) { + if (!getPrimaryConstructor().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeInt32(1, flags_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, getExtraVisibilityBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeInt32(3, fqName_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeMessage(4, classObject_); + } + for (int i = 0; i < typeParameter_.size(); i++) { + output.writeMessage(5, typeParameter_.get(i)); + } + for (int i = 0; i < supertype_.size(); i++) { + output.writeMessage(6, supertype_.get(i)); + } + for (int i = 0; i < nestedClassName_.size(); i++) { + output.writeInt32(7, nestedClassName_.get(i)); + } + for (int i = 0; i < member_.size(); i++) { + output.writeMessage(11, member_.get(i)); + } + for (int i = 0; i < enumEntry_.size(); i++) { + output.writeInt32(12, enumEntry_.get(i)); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeMessage(13, primaryConstructor_); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, flags_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getExtraVisibilityBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, fqName_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, classObject_); + } + for (int i = 0; i < typeParameter_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, typeParameter_.get(i)); + } + for (int i = 0; i < supertype_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, supertype_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < nestedClassName_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(nestedClassName_.get(i)); + } + size += dataSize; + size += 1 * getNestedClassNameList().size(); + } + for (int i = 0; i < member_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, member_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < enumEntry_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(enumEntry_.get(i)); + } + size += dataSize; + size += 1 * getEnumEntryList().size(); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, primaryConstructor_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.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.jet.descriptors.serialization.DebugProtoBuf.Class prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Class} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder
optional int32 flags = 1 [default = 0];
+ *
+ * + * + *Visibility + *Modality + *has_annotation + *ClassKind + *is_inner + *+ */ + public boolean hasFlags() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int32 flags = 1 [default = 0];
+ *
+ * + * + *Visibility + *Modality + *has_annotation + *ClassKind + *is_inner + *+ */ + public int getFlags() { + return flags_; + } + /** + *
optional int32 flags = 1 [default = 0];
+ *
+ * + * + *Visibility + *Modality + *has_annotation + *ClassKind + *is_inner + *+ */ + public Builder setFlags(int value) { + bitField0_ |= 0x00000001; + flags_ = value; + onChanged(); + return this; + } + /** + *
optional int32 flags = 1 [default = 0];
+ *
+ * + * + *Visibility + *Modality + *has_annotation + *ClassKind + *is_inner + *+ */ + public Builder clearFlags() { + bitField0_ = (bitField0_ & ~0x00000001); + flags_ = 0; + onChanged(); + return this; + } + + // optional string extra_visibility = 2; + private java.lang.Object extraVisibility_ = ""; + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public boolean hasExtraVisibility() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public java.lang.String getExtraVisibility() { + java.lang.Object ref = extraVisibility_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + extraVisibility_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public com.google.protobuf.ByteString + getExtraVisibilityBytes() { + java.lang.Object ref = extraVisibility_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + extraVisibility_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public Builder setExtraVisibility( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + extraVisibility_ = value; + onChanged(); + return this; + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public Builder clearExtraVisibility() { + bitField0_ = (bitField0_ & ~0x00000002); + extraVisibility_ = getDefaultInstance().getExtraVisibility(); + onChanged(); + return this; + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public Builder setExtraVisibilityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + extraVisibility_ = value; + onChanged(); + return this; + } + + // required int32 fq_name = 3; + private int fqName_ ; + /** + *
required int32 fq_name = 3;
+ */
+ public boolean hasFqName() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * required int32 fq_name = 3;
+ */
+ public int getFqName() {
+ return fqName_;
+ }
+ /**
+ * required int32 fq_name = 3;
+ */
+ public Builder setFqName(int value) {
+ bitField0_ |= 0x00000004;
+ fqName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required int32 fq_name = 3;
+ */
+ public Builder clearFqName() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ fqName_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject classObject_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObjectOrBuilder> classObjectBuilder_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public boolean hasClassObject() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject getClassObject() { + if (classObjectBuilder_ == null) { + return classObject_; + } else { + return classObjectBuilder_.getMessage(); + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public Builder setClassObject(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject value) { + if (classObjectBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + classObject_ = value; + onChanged(); + } else { + classObjectBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public Builder setClassObject( + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.Builder builderForValue) { + if (classObjectBuilder_ == null) { + classObject_ = builderForValue.build(); + onChanged(); + } else { + classObjectBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public Builder mergeClassObject(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject value) { + if (classObjectBuilder_ == null) { + if (((bitField0_ & 0x00000008) == 0x00000008) && + classObject_ != org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.getDefaultInstance()) { + classObject_ = + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.newBuilder(classObject_).mergeFrom(value).buildPartial(); + } else { + classObject_ = value; + } + onChanged(); + } else { + classObjectBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public Builder clearClassObject() { + if (classObjectBuilder_ == null) { + classObject_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.getDefaultInstance(); + onChanged(); + } else { + classObjectBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.Builder getClassObjectBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getClassObjectFieldBuilder().getBuilder(); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObjectOrBuilder getClassObjectOrBuilder() { + if (classObjectBuilder_ != null) { + return classObjectBuilder_.getMessageOrBuilder(); + } else { + return classObject_; + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.ClassObject class_object = 4;
+ *
+ * + * This field is present if and only if the class has a class object. Its proto should be found either here or in the separate file + *+ */ + private com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObjectOrBuilder> + getClassObjectFieldBuilder() { + if (classObjectBuilder_ == null) { + classObjectBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObjectOrBuilder>( + classObject_, + getParentForChildren(), + isClean()); + classObject_ = null; + } + return classObjectBuilder_; + } + + // repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5; + private java.util.List
repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public int getTypeParameterCount() {
+ if (typeParameterBuilder_ == null) {
+ return typeParameter_.size();
+ } else {
+ return typeParameterBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter getTypeParameter(int index) {
+ if (typeParameterBuilder_ == null) {
+ return typeParameter_.get(index);
+ } else {
+ return typeParameterBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public Builder setTypeParameter(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter value) {
+ if (typeParameterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTypeParameterIsMutable();
+ typeParameter_.set(index, value);
+ onChanged();
+ } else {
+ typeParameterBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public Builder setTypeParameter(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder builderForValue) {
+ if (typeParameterBuilder_ == null) {
+ ensureTypeParameterIsMutable();
+ typeParameter_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ typeParameterBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public Builder addTypeParameter(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter value) {
+ if (typeParameterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTypeParameterIsMutable();
+ typeParameter_.add(value);
+ onChanged();
+ } else {
+ typeParameterBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public Builder addTypeParameter(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter value) {
+ if (typeParameterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTypeParameterIsMutable();
+ typeParameter_.add(index, value);
+ onChanged();
+ } else {
+ typeParameterBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public Builder addTypeParameter(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder builderForValue) {
+ if (typeParameterBuilder_ == null) {
+ ensureTypeParameterIsMutable();
+ typeParameter_.add(builderForValue.build());
+ onChanged();
+ } else {
+ typeParameterBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public Builder addTypeParameter(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder builderForValue) {
+ if (typeParameterBuilder_ == null) {
+ ensureTypeParameterIsMutable();
+ typeParameter_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ typeParameterBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public Builder addAllTypeParameter(
+ java.lang.Iterable extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter> values) {
+ if (typeParameterBuilder_ == null) {
+ ensureTypeParameterIsMutable();
+ super.addAll(values, typeParameter_);
+ onChanged();
+ } else {
+ typeParameterBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public Builder clearTypeParameter() {
+ if (typeParameterBuilder_ == null) {
+ typeParameter_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ } else {
+ typeParameterBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public Builder removeTypeParameter(int index) {
+ if (typeParameterBuilder_ == null) {
+ ensureTypeParameterIsMutable();
+ typeParameter_.remove(index);
+ onChanged();
+ } else {
+ typeParameterBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder getTypeParameterBuilder(
+ int index) {
+ return getTypeParameterFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder(
+ int index) {
+ if (typeParameterBuilder_ == null) {
+ return typeParameter_.get(index); } else {
+ return typeParameterBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder>
+ getTypeParameterOrBuilderList() {
+ if (typeParameterBuilder_ != null) {
+ return typeParameterBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(typeParameter_);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder addTypeParameterBuilder() {
+ return getTypeParameterFieldBuilder().addBuilder(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder addTypeParameterBuilder(
+ int index) {
+ return getTypeParameterFieldBuilder().addBuilder(
+ index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public int getSupertypeCount() {
+ if (supertypeBuilder_ == null) {
+ return supertype_.size();
+ } else {
+ return supertypeBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getSupertype(int index) {
+ if (supertypeBuilder_ == null) {
+ return supertype_.get(index);
+ } else {
+ return supertypeBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public Builder setSupertype(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (supertypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSupertypeIsMutable();
+ supertype_.set(index, value);
+ onChanged();
+ } else {
+ supertypeBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public Builder setSupertype(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (supertypeBuilder_ == null) {
+ ensureSupertypeIsMutable();
+ supertype_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ supertypeBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public Builder addSupertype(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (supertypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSupertypeIsMutable();
+ supertype_.add(value);
+ onChanged();
+ } else {
+ supertypeBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public Builder addSupertype(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (supertypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureSupertypeIsMutable();
+ supertype_.add(index, value);
+ onChanged();
+ } else {
+ supertypeBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public Builder addSupertype(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (supertypeBuilder_ == null) {
+ ensureSupertypeIsMutable();
+ supertype_.add(builderForValue.build());
+ onChanged();
+ } else {
+ supertypeBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public Builder addSupertype(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (supertypeBuilder_ == null) {
+ ensureSupertypeIsMutable();
+ supertype_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ supertypeBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public Builder addAllSupertype(
+ java.lang.Iterable extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type> values) {
+ if (supertypeBuilder_ == null) {
+ ensureSupertypeIsMutable();
+ super.addAll(values, supertype_);
+ onChanged();
+ } else {
+ supertypeBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public Builder clearSupertype() {
+ if (supertypeBuilder_ == null) {
+ supertype_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ } else {
+ supertypeBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public Builder removeSupertype(int index) {
+ if (supertypeBuilder_ == null) {
+ ensureSupertypeIsMutable();
+ supertype_.remove(index);
+ onChanged();
+ } else {
+ supertypeBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder getSupertypeBuilder(
+ int index) {
+ return getSupertypeFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getSupertypeOrBuilder(
+ int index) {
+ if (supertypeBuilder_ == null) {
+ return supertype_.get(index); } else {
+ return supertypeBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getSupertypeOrBuilderList() {
+ if (supertypeBuilder_ != null) {
+ return supertypeBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(supertype_);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder addSupertypeBuilder() {
+ return getSupertypeFieldBuilder().addBuilder(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder addSupertypeBuilder(
+ int index) {
+ return getSupertypeFieldBuilder().addBuilder(
+ index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public java.util.Listrepeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + public java.util.List
repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + public int getNestedClassNameCount() { + return nestedClassName_.size(); + } + /** + *
repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + public int getNestedClassName(int index) { + return nestedClassName_.get(index); + } + /** + *
repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + public Builder setNestedClassName( + int index, int value) { + ensureNestedClassNameIsMutable(); + nestedClassName_.set(index, value); + onChanged(); + return this; + } + /** + *
repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + public Builder addNestedClassName(int value) { + ensureNestedClassNameIsMutable(); + nestedClassName_.add(value); + onChanged(); + return this; + } + /** + *
repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + public Builder addAllNestedClassName( + java.lang.Iterable extends java.lang.Integer> values) { + ensureNestedClassNameIsMutable(); + super.addAll(values, nestedClassName_); + onChanged(); + return this; + } + /** + *
repeated int32 nested_class_name = 7;
+ *
+ * + * we store only names, because the actual information must reside in the corresponding .class files, + * to be obtainable through reflection at runtime + *+ */ + public Builder clearNestedClassName() { + nestedClassName_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + + // repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11; + private java.util.List
repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public int getMemberCount() {
+ if (memberBuilder_ == null) {
+ return member_.size();
+ } else {
+ return memberBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable getMember(int index) {
+ if (memberBuilder_ == null) {
+ return member_.get(index);
+ } else {
+ return memberBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public Builder setMember(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable value) {
+ if (memberBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMemberIsMutable();
+ member_.set(index, value);
+ onChanged();
+ } else {
+ memberBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public Builder setMember(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder builderForValue) {
+ if (memberBuilder_ == null) {
+ ensureMemberIsMutable();
+ member_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ memberBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public Builder addMember(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable value) {
+ if (memberBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMemberIsMutable();
+ member_.add(value);
+ onChanged();
+ } else {
+ memberBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public Builder addMember(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable value) {
+ if (memberBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMemberIsMutable();
+ member_.add(index, value);
+ onChanged();
+ } else {
+ memberBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public Builder addMember(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder builderForValue) {
+ if (memberBuilder_ == null) {
+ ensureMemberIsMutable();
+ member_.add(builderForValue.build());
+ onChanged();
+ } else {
+ memberBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public Builder addMember(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder builderForValue) {
+ if (memberBuilder_ == null) {
+ ensureMemberIsMutable();
+ member_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ memberBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public Builder addAllMember(
+ java.lang.Iterable extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable> values) {
+ if (memberBuilder_ == null) {
+ ensureMemberIsMutable();
+ super.addAll(values, member_);
+ onChanged();
+ } else {
+ memberBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public Builder clearMember() {
+ if (memberBuilder_ == null) {
+ member_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000080);
+ onChanged();
+ } else {
+ memberBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public Builder removeMember(int index) {
+ if (memberBuilder_ == null) {
+ ensureMemberIsMutable();
+ member_.remove(index);
+ onChanged();
+ } else {
+ memberBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder getMemberBuilder(
+ int index) {
+ return getMemberFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder getMemberOrBuilder(
+ int index) {
+ if (memberBuilder_ == null) {
+ return member_.get(index); } else {
+ return memberBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>
+ getMemberOrBuilderList() {
+ if (memberBuilder_ != null) {
+ return memberBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(member_);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder addMemberBuilder() {
+ return getMemberFieldBuilder().addBuilder(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder addMemberBuilder(
+ int index) {
+ return getMemberFieldBuilder().addBuilder(
+ index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public java.util.Listrepeated int32 enum_entry = 12;
+ */
+ public java.util.Listrepeated int32 enum_entry = 12;
+ */
+ public int getEnumEntryCount() {
+ return enumEntry_.size();
+ }
+ /**
+ * repeated int32 enum_entry = 12;
+ */
+ public int getEnumEntry(int index) {
+ return enumEntry_.get(index);
+ }
+ /**
+ * repeated int32 enum_entry = 12;
+ */
+ public Builder setEnumEntry(
+ int index, int value) {
+ ensureEnumEntryIsMutable();
+ enumEntry_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int32 enum_entry = 12;
+ */
+ public Builder addEnumEntry(int value) {
+ ensureEnumEntryIsMutable();
+ enumEntry_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int32 enum_entry = 12;
+ */
+ public Builder addAllEnumEntry(
+ java.lang.Iterable extends java.lang.Integer> values) {
+ ensureEnumEntryIsMutable();
+ super.addAll(values, enumEntry_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated int32 enum_entry = 12;
+ */
+ public Builder clearEnumEntry() {
+ enumEntry_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000100);
+ onChanged();
+ return this;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor primaryConstructor_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructorOrBuilder> primaryConstructorBuilder_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public boolean hasPrimaryConstructor() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor getPrimaryConstructor() { + if (primaryConstructorBuilder_ == null) { + return primaryConstructor_; + } else { + return primaryConstructorBuilder_.getMessage(); + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public Builder setPrimaryConstructor(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor value) { + if (primaryConstructorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + primaryConstructor_ = value; + onChanged(); + } else { + primaryConstructorBuilder_.setMessage(value); + } + bitField0_ |= 0x00000200; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public Builder setPrimaryConstructor( + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.Builder builderForValue) { + if (primaryConstructorBuilder_ == null) { + primaryConstructor_ = builderForValue.build(); + onChanged(); + } else { + primaryConstructorBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000200; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public Builder mergePrimaryConstructor(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor value) { + if (primaryConstructorBuilder_ == null) { + if (((bitField0_ & 0x00000200) == 0x00000200) && + primaryConstructor_ != org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.getDefaultInstance()) { + primaryConstructor_ = + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.newBuilder(primaryConstructor_).mergeFrom(value).buildPartial(); + } else { + primaryConstructor_ = value; + } + onChanged(); + } else { + primaryConstructorBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000200; + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public Builder clearPrimaryConstructor() { + if (primaryConstructorBuilder_ == null) { + primaryConstructor_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.getDefaultInstance(); + onChanged(); + } else { + primaryConstructorBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000200); + return this; + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.Builder getPrimaryConstructorBuilder() { + bitField0_ |= 0x00000200; + onChanged(); + return getPrimaryConstructorFieldBuilder().getBuilder(); + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructorOrBuilder getPrimaryConstructorOrBuilder() { + if (primaryConstructorBuilder_ != null) { + return primaryConstructorBuilder_.getMessageOrBuilder(); + } else { + return primaryConstructor_; + } + } + /** + *
optional .org.jetbrains.jet.descriptors.serialization.Class.PrimaryConstructor primary_constructor = 13;
+ *
+ * + * This field is present if and only if the class has a primary constructor + *+ */ + private com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructorOrBuilder> + getPrimaryConstructorFieldBuilder() { + if (primaryConstructorBuilder_ == null) { + primaryConstructorBuilder_ = new com.google.protobuf.SingleFieldBuilder< + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructorOrBuilder>( + primaryConstructor_, + getParentForChildren(), + isClean()); + primaryConstructor_ = null; + } + return primaryConstructorBuilder_; + } + + // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.Class) + } + + static { + defaultInstance = new Class(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.Class) + } + + public interface PackageOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1; + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable getMember(int index);
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ int getMemberCount();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>
+ getMemberOrBuilderList();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder getMemberOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Package}
+ */
+ public static final class Package extends
+ com.google.protobuf.GeneratedMessage
+ implements PackageOrBuilder {
+ // Use Package.newBuilder() to construct.
+ private Package(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private Package(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final Package defaultInstance;
+ public static Package getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public Package getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private Package(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ member_ = new java.util.ArrayListrepeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>
+ getMemberOrBuilderList() {
+ return member_;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public int getMemberCount() {
+ return member_.size();
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable getMember(int index) {
+ return member_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder getMemberOrBuilder(
+ int index) {
+ return member_.get(index);
+ }
+
+ private void initFields() {
+ member_ = java.util.Collections.emptyList();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ for (int i = 0; i < getMemberCount(); i++) {
+ if (!getMember(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ for (int i = 0; i < member_.size(); i++) {
+ output.writeMessage(1, member_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < member_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, member_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSerializedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ protected java.lang.Object writeReplace()
+ throws java.io.ObjectStreamException {
+ return super.writeReplace();
+ }
+
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.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.jet.descriptors.serialization.DebugProtoBuf.Package prototype) {
+ return newBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() { return newBuilder(this); }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Package}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrepeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public int getMemberCount() {
+ if (memberBuilder_ == null) {
+ return member_.size();
+ } else {
+ return memberBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable getMember(int index) {
+ if (memberBuilder_ == null) {
+ return member_.get(index);
+ } else {
+ return memberBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public Builder setMember(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable value) {
+ if (memberBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMemberIsMutable();
+ member_.set(index, value);
+ onChanged();
+ } else {
+ memberBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public Builder setMember(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder builderForValue) {
+ if (memberBuilder_ == null) {
+ ensureMemberIsMutable();
+ member_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ memberBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public Builder addMember(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable value) {
+ if (memberBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMemberIsMutable();
+ member_.add(value);
+ onChanged();
+ } else {
+ memberBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public Builder addMember(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable value) {
+ if (memberBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMemberIsMutable();
+ member_.add(index, value);
+ onChanged();
+ } else {
+ memberBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public Builder addMember(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder builderForValue) {
+ if (memberBuilder_ == null) {
+ ensureMemberIsMutable();
+ member_.add(builderForValue.build());
+ onChanged();
+ } else {
+ memberBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public Builder addMember(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder builderForValue) {
+ if (memberBuilder_ == null) {
+ ensureMemberIsMutable();
+ member_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ memberBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public Builder addAllMember(
+ java.lang.Iterable extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable> values) {
+ if (memberBuilder_ == null) {
+ ensureMemberIsMutable();
+ super.addAll(values, member_);
+ onChanged();
+ } else {
+ memberBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public Builder clearMember() {
+ if (memberBuilder_ == null) {
+ member_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ memberBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public Builder removeMember(int index) {
+ if (memberBuilder_ == null) {
+ ensureMemberIsMutable();
+ member_.remove(index);
+ onChanged();
+ } else {
+ memberBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder getMemberBuilder(
+ int index) {
+ return getMemberFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder getMemberOrBuilder(
+ int index) {
+ if (memberBuilder_ == null) {
+ return member_.get(index); } else {
+ return memberBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>
+ getMemberOrBuilderList() {
+ if (memberBuilder_ != null) {
+ return memberBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(member_);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder addMemberBuilder() {
+ return getMemberFieldBuilder().addBuilder(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder addMemberBuilder(
+ int index) {
+ return getMemberFieldBuilder().addBuilder(
+ index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public java.util.Listoptional int32 flags = 1;
+ *
+ * + * + *Visibility + *Modality + *has_annotations + *CallableKind + *MemberKind + *hasGetter + *hasSetter + *+ */ + boolean hasFlags(); + /** + *
optional int32 flags = 1;
+ *
+ * + * + *Visibility + *Modality + *has_annotations + *CallableKind + *MemberKind + *hasGetter + *hasSetter + *+ */ + int getFlags(); + + // optional string extra_visibility = 2; + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + boolean hasExtraVisibility(); + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + java.lang.String getExtraVisibility(); + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + com.google.protobuf.ByteString + getExtraVisibilityBytes(); + + // optional int32 getter_flags = 9; + /** + *
optional int32 getter_flags = 9;
+ *
+ * + * + *isNotDefault + *Visibility + *Modality + *has_annotations + *+ */ + boolean hasGetterFlags(); + /** + *
optional int32 getter_flags = 9;
+ *
+ * + * + *isNotDefault + *Visibility + *Modality + *has_annotations + *+ */ + int getGetterFlags(); + + // optional int32 setter_flags = 10; + /** + *
optional int32 setter_flags = 10;
+ */
+ boolean hasSetterFlags();
+ /**
+ * optional int32 setter_flags = 10;
+ */
+ int getSetterFlags();
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter getTypeParameter(int index);
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ int getTypeParameterCount();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder>
+ getTypeParameterOrBuilderList();
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder(
+ int index);
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ boolean hasReceiverType();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getReceiverType();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getReceiverTypeOrBuilder();
+
+ // required int32 name = 6;
+ /**
+ * required int32 name = 6;
+ */
+ boolean hasName();
+ /**
+ * required int32 name = 6;
+ */
+ int getName();
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + java.util.List
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter getValueParameter(int index); + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + int getValueParameterCount(); + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameterOrBuilder> + getValueParameterOrBuilderList(); + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameterOrBuilder getValueParameterOrBuilder( + int index); + + // required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8; + /** + *
required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ boolean hasReturnType();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getReturnType();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getReturnTypeOrBuilder();
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Callable}
+ */
+ public static final class Callable extends
+ com.google.protobuf.GeneratedMessage.ExtendableMessage<
+ Callable> implements CallableOrBuilder {
+ // Use Callable.newBuilder() to construct.
+ private Callable(com.google.protobuf.GeneratedMessage.ExtendableBuilderDECLARATION = 0;
+ *
+ * + * 2 bits + *+ */ + DECLARATION(0, 0), + /** + *
FAKE_OVERRIDE = 1;
+ */
+ FAKE_OVERRIDE(1, 1),
+ /**
+ * DELEGATION = 2;
+ */
+ DELEGATION(2, 2),
+ /**
+ * SYNTHESIZED = 3;
+ */
+ SYNTHESIZED(3, 3),
+ ;
+
+ /**
+ * DECLARATION = 0;
+ *
+ * + * 2 bits + *+ */ + public static final int DECLARATION_VALUE = 0; + /** + *
FAKE_OVERRIDE = 1;
+ */
+ public static final int FAKE_OVERRIDE_VALUE = 1;
+ /**
+ * DELEGATION = 2;
+ */
+ public static final int DELEGATION_VALUE = 2;
+ /**
+ * SYNTHESIZED = 3;
+ */
+ public static final int SYNTHESIZED_VALUE = 3;
+
+
+ public final int getNumber() { return value; }
+
+ public static MemberKind valueOf(int value) {
+ switch (value) {
+ case 0: return DECLARATION;
+ case 1: return FAKE_OVERRIDE;
+ case 2: return DELEGATION;
+ case 3: return SYNTHESIZED;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMapFUN = 0;
+ *
+ * + * 2 bits + *+ */ + FUN(0, 0), + /** + *
VAL = 1;
+ */
+ VAL(1, 1),
+ /**
+ * VAR = 2;
+ */
+ VAR(2, 2),
+ /**
+ * CONSTRUCTOR = 3;
+ */
+ CONSTRUCTOR(3, 3),
+ ;
+
+ /**
+ * FUN = 0;
+ *
+ * + * 2 bits + *+ */ + public static final int FUN_VALUE = 0; + /** + *
VAL = 1;
+ */
+ public static final int VAL_VALUE = 1;
+ /**
+ * VAR = 2;
+ */
+ public static final int VAR_VALUE = 2;
+ /**
+ * CONSTRUCTOR = 3;
+ */
+ public static final int CONSTRUCTOR_VALUE = 3;
+
+
+ public final int getNumber() { return value; }
+
+ public static CallableKind valueOf(int value) {
+ switch (value) {
+ case 0: return FUN;
+ case 1: return VAL;
+ case 2: return VAR;
+ case 3: return CONSTRUCTOR;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMapoptional int32 flags = 1;
+ *
+ * + * + *declaresDefault + *has_annotations + *+ */ + boolean hasFlags(); + /** + *
optional int32 flags = 1;
+ *
+ * + * + *declaresDefault + *has_annotations + *+ */ + int getFlags(); + + // required int32 name = 2; + /** + *
required int32 name = 2;
+ */
+ boolean hasName();
+ /**
+ * required int32 name = 2;
+ */
+ int getName();
+
+ // required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ boolean hasType();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getType();
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder();
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ boolean hasVarargElementType();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getVarargElementType();
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getVarargElementTypeOrBuilder();
+ }
+ /**
+ * Protobuf type {@code org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter}
+ */
+ public static final class ValueParameter extends
+ com.google.protobuf.GeneratedMessage.ExtendableMessage<
+ ValueParameter> implements ValueParameterOrBuilder {
+ // Use ValueParameter.newBuilder() to construct.
+ private ValueParameter(com.google.protobuf.GeneratedMessage.ExtendableBuilderoptional int32 flags = 1;
+ *
+ * + * + *declaresDefault + *has_annotations + *+ */ + public boolean hasFlags() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int32 flags = 1;
+ *
+ * + * + *declaresDefault + *has_annotations + *+ */ + public int getFlags() { + return flags_; + } + + // required int32 name = 2; + public static final int NAME_FIELD_NUMBER = 2; + private int name_; + /** + *
required int32 name = 2;
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required int32 name = 2;
+ */
+ public int getName() {
+ return name_;
+ }
+
+ // required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ public static final int TYPE_FIELD_NUMBER = 3;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type type_;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getType() {
+ return type_;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder() {
+ return type_;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ public static final int VARARG_ELEMENT_TYPE_FIELD_NUMBER = 4;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type varargElementType_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public boolean hasVarargElementType() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getVarargElementType() {
+ return varargElementType_;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getVarargElementTypeOrBuilder() {
+ return varargElementType_;
+ }
+
+ private void initFields() {
+ flags_ = 0;
+ name_ = 0;
+ type_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ varargElementType_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasName()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasType()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!getType().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (hasVarargElementType()) {
+ if (!getVarargElementType().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ if (!extensionsAreInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ com.google.protobuf.GeneratedMessage
+ .ExtendableMessageoptional int32 flags = 1;
+ *
+ * + * + *declaresDefault + *has_annotations + *+ */ + public boolean hasFlags() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int32 flags = 1;
+ *
+ * + * + *declaresDefault + *has_annotations + *+ */ + public int getFlags() { + return flags_; + } + /** + *
optional int32 flags = 1;
+ *
+ * + * + *declaresDefault + *has_annotations + *+ */ + public Builder setFlags(int value) { + bitField0_ |= 0x00000001; + flags_ = value; + onChanged(); + return this; + } + /** + *
optional int32 flags = 1;
+ *
+ * + * + *declaresDefault + *has_annotations + *+ */ + public Builder clearFlags() { + bitField0_ = (bitField0_ & ~0x00000001); + flags_ = 0; + onChanged(); + return this; + } + + // required int32 name = 2; + private int name_ ; + /** + *
required int32 name = 2;
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required int32 name = 2;
+ */
+ public int getName() {
+ return name_;
+ }
+ /**
+ * required int32 name = 2;
+ */
+ public Builder setName(int value) {
+ bitField0_ |= 0x00000002;
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required int32 name = 2;
+ */
+ public Builder clearName() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ name_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type type_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder> typeBuilder_;
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public boolean hasType() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getType() {
+ if (typeBuilder_ == null) {
+ return type_;
+ } else {
+ return typeBuilder_.getMessage();
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public Builder setType(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (typeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ type_ = value;
+ onChanged();
+ } else {
+ typeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public Builder setType(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (typeBuilder_ == null) {
+ type_ = builderForValue.build();
+ onChanged();
+ } else {
+ typeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public Builder mergeType(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (typeBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) == 0x00000004) &&
+ type_ != org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance()) {
+ type_ =
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.newBuilder(type_).mergeFrom(value).buildPartial();
+ } else {
+ type_ = value;
+ }
+ onChanged();
+ } else {
+ typeBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000004;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public Builder clearType() {
+ if (typeBuilder_ == null) {
+ type_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ onChanged();
+ } else {
+ typeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder getTypeBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return getTypeFieldBuilder().getBuilder();
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getTypeOrBuilder() {
+ if (typeBuilder_ != null) {
+ return typeBuilder_.getMessageOrBuilder();
+ } else {
+ return type_;
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type type = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getTypeFieldBuilder() {
+ if (typeBuilder_ == null) {
+ typeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>(
+ type_,
+ getParentForChildren(),
+ isClean());
+ type_ = null;
+ }
+ return typeBuilder_;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type varargElementType_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder> varargElementTypeBuilder_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public boolean hasVarargElementType() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getVarargElementType() {
+ if (varargElementTypeBuilder_ == null) {
+ return varargElementType_;
+ } else {
+ return varargElementTypeBuilder_.getMessage();
+ }
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public Builder setVarargElementType(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (varargElementTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ varargElementType_ = value;
+ onChanged();
+ } else {
+ varargElementTypeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public Builder setVarargElementType(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (varargElementTypeBuilder_ == null) {
+ varargElementType_ = builderForValue.build();
+ onChanged();
+ } else {
+ varargElementTypeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public Builder mergeVarargElementType(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (varargElementTypeBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) == 0x00000008) &&
+ varargElementType_ != org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance()) {
+ varargElementType_ =
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.newBuilder(varargElementType_).mergeFrom(value).buildPartial();
+ } else {
+ varargElementType_ = value;
+ }
+ onChanged();
+ } else {
+ varargElementTypeBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000008;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public Builder clearVarargElementType() {
+ if (varargElementTypeBuilder_ == null) {
+ varargElementType_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ onChanged();
+ } else {
+ varargElementTypeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000008);
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder getVarargElementTypeBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return getVarargElementTypeFieldBuilder().getBuilder();
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getVarargElementTypeOrBuilder() {
+ if (varargElementTypeBuilder_ != null) {
+ return varargElementTypeBuilder_.getMessageOrBuilder();
+ } else {
+ return varargElementType_;
+ }
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type vararg_element_type = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getVarargElementTypeFieldBuilder() {
+ if (varargElementTypeBuilder_ == null) {
+ varargElementTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>(
+ varargElementType_,
+ getParentForChildren(),
+ isClean());
+ varargElementType_ = null;
+ }
+ return varargElementTypeBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter)
+ }
+
+ static {
+ defaultInstance = new ValueParameter(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter)
+ }
+
+ private int bitField0_;
+ // optional int32 flags = 1;
+ public static final int FLAGS_FIELD_NUMBER = 1;
+ private int flags_;
+ /**
+ * optional int32 flags = 1;
+ *
+ * + * + *Visibility + *Modality + *has_annotations + *CallableKind + *MemberKind + *hasGetter + *hasSetter + *+ */ + public boolean hasFlags() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int32 flags = 1;
+ *
+ * + * + *Visibility + *Modality + *has_annotations + *CallableKind + *MemberKind + *hasGetter + *hasSetter + *+ */ + public int getFlags() { + return flags_; + } + + // optional string extra_visibility = 2; + public static final int EXTRA_VISIBILITY_FIELD_NUMBER = 2; + private java.lang.Object extraVisibility_; + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public boolean hasExtraVisibility() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public java.lang.String getExtraVisibility() { + java.lang.Object ref = extraVisibility_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + extraVisibility_ = s; + } + return s; + } + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public com.google.protobuf.ByteString + getExtraVisibilityBytes() { + java.lang.Object ref = extraVisibility_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + extraVisibility_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional int32 getter_flags = 9; + public static final int GETTER_FLAGS_FIELD_NUMBER = 9; + private int getterFlags_; + /** + *
optional int32 getter_flags = 9;
+ *
+ * + * + *isNotDefault + *Visibility + *Modality + *has_annotations + *+ */ + public boolean hasGetterFlags() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
optional int32 getter_flags = 9;
+ *
+ * + * + *isNotDefault + *Visibility + *Modality + *has_annotations + *+ */ + public int getGetterFlags() { + return getterFlags_; + } + + // optional int32 setter_flags = 10; + public static final int SETTER_FLAGS_FIELD_NUMBER = 10; + private int setterFlags_; + /** + *
optional int32 setter_flags = 10;
+ */
+ public boolean hasSetterFlags() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * optional int32 setter_flags = 10;
+ */
+ public int getSetterFlags() {
+ return setterFlags_;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ public static final int TYPE_PARAMETER_FIELD_NUMBER = 4;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder>
+ getTypeParameterOrBuilderList() {
+ return typeParameter_;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public int getTypeParameterCount() {
+ return typeParameter_.size();
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter getTypeParameter(int index) {
+ return typeParameter_.get(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder(
+ int index) {
+ return typeParameter_.get(index);
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ public static final int RECEIVER_TYPE_FIELD_NUMBER = 5;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type receiverType_;
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public boolean hasReceiverType() {
+ return ((bitField0_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getReceiverType() {
+ return receiverType_;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getReceiverTypeOrBuilder() {
+ return receiverType_;
+ }
+
+ // required int32 name = 6;
+ public static final int NAME_FIELD_NUMBER = 6;
+ private int name_;
+ /**
+ * required int32 name = 6;
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * required int32 name = 6;
+ */
+ public int getName() {
+ return name_;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ public static final int VALUE_PARAMETER_FIELD_NUMBER = 7;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public java.util.List
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameterOrBuilder> + getValueParameterOrBuilderList() { + return valueParameter_; + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public int getValueParameterCount() { + return valueParameter_.size(); + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter getValueParameter(int index) { + return valueParameter_.get(index); + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameterOrBuilder getValueParameterOrBuilder( + int index) { + return valueParameter_.get(index); + } + + // required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8; + public static final int RETURN_TYPE_FIELD_NUMBER = 8; + private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type returnType_; + /** + *
required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public boolean hasReturnType() {
+ return ((bitField0_ & 0x00000040) == 0x00000040);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getReturnType() {
+ return returnType_;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getReturnTypeOrBuilder() {
+ return returnType_;
+ }
+
+ private void initFields() {
+ flags_ = 0;
+ extraVisibility_ = "";
+ getterFlags_ = 0;
+ setterFlags_ = 0;
+ typeParameter_ = java.util.Collections.emptyList();
+ receiverType_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ name_ = 0;
+ valueParameter_ = java.util.Collections.emptyList();
+ returnType_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized != -1) return isInitialized == 1;
+
+ if (!hasName()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasReturnType()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ for (int i = 0; i < getTypeParameterCount(); i++) {
+ if (!getTypeParameter(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ if (hasReceiverType()) {
+ if (!getReceiverType().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ for (int i = 0; i < getValueParameterCount(); i++) {
+ if (!getValueParameter(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ if (!getReturnType().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!extensionsAreInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ com.google.protobuf.GeneratedMessage
+ .ExtendableMessageoptional int32 flags = 1;
+ *
+ * + * + *Visibility + *Modality + *has_annotations + *CallableKind + *MemberKind + *hasGetter + *hasSetter + *+ */ + public boolean hasFlags() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int32 flags = 1;
+ *
+ * + * + *Visibility + *Modality + *has_annotations + *CallableKind + *MemberKind + *hasGetter + *hasSetter + *+ */ + public int getFlags() { + return flags_; + } + /** + *
optional int32 flags = 1;
+ *
+ * + * + *Visibility + *Modality + *has_annotations + *CallableKind + *MemberKind + *hasGetter + *hasSetter + *+ */ + public Builder setFlags(int value) { + bitField0_ |= 0x00000001; + flags_ = value; + onChanged(); + return this; + } + /** + *
optional int32 flags = 1;
+ *
+ * + * + *Visibility + *Modality + *has_annotations + *CallableKind + *MemberKind + *hasGetter + *hasSetter + *+ */ + public Builder clearFlags() { + bitField0_ = (bitField0_ & ~0x00000001); + flags_ = 0; + onChanged(); + return this; + } + + // optional string extra_visibility = 2; + private java.lang.Object extraVisibility_ = ""; + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public boolean hasExtraVisibility() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public java.lang.String getExtraVisibility() { + java.lang.Object ref = extraVisibility_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + extraVisibility_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public com.google.protobuf.ByteString + getExtraVisibilityBytes() { + java.lang.Object ref = extraVisibility_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + extraVisibility_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public Builder setExtraVisibility( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + extraVisibility_ = value; + onChanged(); + return this; + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public Builder clearExtraVisibility() { + bitField0_ = (bitField0_ & ~0x00000002); + extraVisibility_ = getDefaultInstance().getExtraVisibility(); + onChanged(); + return this; + } + /** + *
optional string extra_visibility = 2;
+ *
+ * + * for things like java-specific visibilities + *+ */ + public Builder setExtraVisibilityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + extraVisibility_ = value; + onChanged(); + return this; + } + + // optional int32 getter_flags = 9; + private int getterFlags_ ; + /** + *
optional int32 getter_flags = 9;
+ *
+ * + * + *isNotDefault + *Visibility + *Modality + *has_annotations + *+ */ + public boolean hasGetterFlags() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + *
optional int32 getter_flags = 9;
+ *
+ * + * + *isNotDefault + *Visibility + *Modality + *has_annotations + *+ */ + public int getGetterFlags() { + return getterFlags_; + } + /** + *
optional int32 getter_flags = 9;
+ *
+ * + * + *isNotDefault + *Visibility + *Modality + *has_annotations + *+ */ + public Builder setGetterFlags(int value) { + bitField0_ |= 0x00000004; + getterFlags_ = value; + onChanged(); + return this; + } + /** + *
optional int32 getter_flags = 9;
+ *
+ * + * + *isNotDefault + *Visibility + *Modality + *has_annotations + *+ */ + public Builder clearGetterFlags() { + bitField0_ = (bitField0_ & ~0x00000004); + getterFlags_ = 0; + onChanged(); + return this; + } + + // optional int32 setter_flags = 10; + private int setterFlags_ ; + /** + *
optional int32 setter_flags = 10;
+ */
+ public boolean hasSetterFlags() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * optional int32 setter_flags = 10;
+ */
+ public int getSetterFlags() {
+ return setterFlags_;
+ }
+ /**
+ * optional int32 setter_flags = 10;
+ */
+ public Builder setSetterFlags(int value) {
+ bitField0_ |= 0x00000008;
+ setterFlags_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional int32 setter_flags = 10;
+ */
+ public Builder clearSetterFlags() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ setterFlags_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public int getTypeParameterCount() {
+ if (typeParameterBuilder_ == null) {
+ return typeParameter_.size();
+ } else {
+ return typeParameterBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter getTypeParameter(int index) {
+ if (typeParameterBuilder_ == null) {
+ return typeParameter_.get(index);
+ } else {
+ return typeParameterBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public Builder setTypeParameter(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter value) {
+ if (typeParameterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTypeParameterIsMutable();
+ typeParameter_.set(index, value);
+ onChanged();
+ } else {
+ typeParameterBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public Builder setTypeParameter(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder builderForValue) {
+ if (typeParameterBuilder_ == null) {
+ ensureTypeParameterIsMutable();
+ typeParameter_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ typeParameterBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public Builder addTypeParameter(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter value) {
+ if (typeParameterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTypeParameterIsMutable();
+ typeParameter_.add(value);
+ onChanged();
+ } else {
+ typeParameterBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public Builder addTypeParameter(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter value) {
+ if (typeParameterBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTypeParameterIsMutable();
+ typeParameter_.add(index, value);
+ onChanged();
+ } else {
+ typeParameterBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public Builder addTypeParameter(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder builderForValue) {
+ if (typeParameterBuilder_ == null) {
+ ensureTypeParameterIsMutable();
+ typeParameter_.add(builderForValue.build());
+ onChanged();
+ } else {
+ typeParameterBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public Builder addTypeParameter(
+ int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder builderForValue) {
+ if (typeParameterBuilder_ == null) {
+ ensureTypeParameterIsMutable();
+ typeParameter_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ typeParameterBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public Builder addAllTypeParameter(
+ java.lang.Iterable extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter> values) {
+ if (typeParameterBuilder_ == null) {
+ ensureTypeParameterIsMutable();
+ super.addAll(values, typeParameter_);
+ onChanged();
+ } else {
+ typeParameterBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public Builder clearTypeParameter() {
+ if (typeParameterBuilder_ == null) {
+ typeParameter_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ } else {
+ typeParameterBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public Builder removeTypeParameter(int index) {
+ if (typeParameterBuilder_ == null) {
+ ensureTypeParameterIsMutable();
+ typeParameter_.remove(index);
+ onChanged();
+ } else {
+ typeParameterBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder getTypeParameterBuilder(
+ int index) {
+ return getTypeParameterFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder getTypeParameterOrBuilder(
+ int index) {
+ if (typeParameterBuilder_ == null) {
+ return typeParameter_.get(index); } else {
+ return typeParameterBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder>
+ getTypeParameterOrBuilderList() {
+ if (typeParameterBuilder_ != null) {
+ return typeParameterBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(typeParameter_);
+ }
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder addTypeParameterBuilder() {
+ return getTypeParameterFieldBuilder().addBuilder(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder addTypeParameterBuilder(
+ int index) {
+ return getTypeParameterFieldBuilder().addBuilder(
+ index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.getDefaultInstance());
+ }
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public java.util.Listoptional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public boolean hasReceiverType() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getReceiverType() {
+ if (receiverTypeBuilder_ == null) {
+ return receiverType_;
+ } else {
+ return receiverTypeBuilder_.getMessage();
+ }
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public Builder setReceiverType(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (receiverTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ receiverType_ = value;
+ onChanged();
+ } else {
+ receiverTypeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000020;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public Builder setReceiverType(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (receiverTypeBuilder_ == null) {
+ receiverType_ = builderForValue.build();
+ onChanged();
+ } else {
+ receiverTypeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000020;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public Builder mergeReceiverType(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (receiverTypeBuilder_ == null) {
+ if (((bitField0_ & 0x00000020) == 0x00000020) &&
+ receiverType_ != org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance()) {
+ receiverType_ =
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.newBuilder(receiverType_).mergeFrom(value).buildPartial();
+ } else {
+ receiverType_ = value;
+ }
+ onChanged();
+ } else {
+ receiverTypeBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000020;
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public Builder clearReceiverType() {
+ if (receiverTypeBuilder_ == null) {
+ receiverType_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ onChanged();
+ } else {
+ receiverTypeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000020);
+ return this;
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder getReceiverTypeBuilder() {
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return getReceiverTypeFieldBuilder().getBuilder();
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getReceiverTypeOrBuilder() {
+ if (receiverTypeBuilder_ != null) {
+ return receiverTypeBuilder_.getMessageOrBuilder();
+ } else {
+ return receiverType_;
+ }
+ }
+ /**
+ * optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getReceiverTypeFieldBuilder() {
+ if (receiverTypeBuilder_ == null) {
+ receiverTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>(
+ receiverType_,
+ getParentForChildren(),
+ isClean());
+ receiverType_ = null;
+ }
+ return receiverTypeBuilder_;
+ }
+
+ // required int32 name = 6;
+ private int name_ ;
+ /**
+ * required int32 name = 6;
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000040) == 0x00000040);
+ }
+ /**
+ * required int32 name = 6;
+ */
+ public int getName() {
+ return name_;
+ }
+ /**
+ * required int32 name = 6;
+ */
+ public Builder setName(int value) {
+ bitField0_ |= 0x00000040;
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required int32 name = 6;
+ */
+ public Builder clearName() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ name_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ private java.util.Listrepeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public java.util.List
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public int getValueParameterCount() { + if (valueParameterBuilder_ == null) { + return valueParameter_.size(); + } else { + return valueParameterBuilder_.getCount(); + } + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter getValueParameter(int index) { + if (valueParameterBuilder_ == null) { + return valueParameter_.get(index); + } else { + return valueParameterBuilder_.getMessage(index); + } + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public Builder setValueParameter( + int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter value) { + if (valueParameterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValueParameterIsMutable(); + valueParameter_.set(index, value); + onChanged(); + } else { + valueParameterBuilder_.setMessage(index, value); + } + return this; + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public Builder setValueParameter( + int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder builderForValue) { + if (valueParameterBuilder_ == null) { + ensureValueParameterIsMutable(); + valueParameter_.set(index, builderForValue.build()); + onChanged(); + } else { + valueParameterBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public Builder addValueParameter(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter value) { + if (valueParameterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValueParameterIsMutable(); + valueParameter_.add(value); + onChanged(); + } else { + valueParameterBuilder_.addMessage(value); + } + return this; + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public Builder addValueParameter( + int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter value) { + if (valueParameterBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValueParameterIsMutable(); + valueParameter_.add(index, value); + onChanged(); + } else { + valueParameterBuilder_.addMessage(index, value); + } + return this; + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public Builder addValueParameter( + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder builderForValue) { + if (valueParameterBuilder_ == null) { + ensureValueParameterIsMutable(); + valueParameter_.add(builderForValue.build()); + onChanged(); + } else { + valueParameterBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public Builder addValueParameter( + int index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder builderForValue) { + if (valueParameterBuilder_ == null) { + ensureValueParameterIsMutable(); + valueParameter_.add(index, builderForValue.build()); + onChanged(); + } else { + valueParameterBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public Builder addAllValueParameter( + java.lang.Iterable extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter> values) { + if (valueParameterBuilder_ == null) { + ensureValueParameterIsMutable(); + super.addAll(values, valueParameter_); + onChanged(); + } else { + valueParameterBuilder_.addAllMessages(values); + } + return this; + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public Builder clearValueParameter() { + if (valueParameterBuilder_ == null) { + valueParameter_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + } else { + valueParameterBuilder_.clear(); + } + return this; + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public Builder removeValueParameter(int index) { + if (valueParameterBuilder_ == null) { + ensureValueParameterIsMutable(); + valueParameter_.remove(index); + onChanged(); + } else { + valueParameterBuilder_.remove(index); + } + return this; + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder getValueParameterBuilder( + int index) { + return getValueParameterFieldBuilder().getBuilder(index); + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameterOrBuilder getValueParameterOrBuilder( + int index) { + if (valueParameterBuilder_ == null) { + return valueParameter_.get(index); } else { + return valueParameterBuilder_.getMessageOrBuilder(index); + } + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public java.util.List extends org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameterOrBuilder> + getValueParameterOrBuilderList() { + if (valueParameterBuilder_ != null) { + return valueParameterBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(valueParameter_); + } + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder addValueParameterBuilder() { + return getValueParameterFieldBuilder().addBuilder( + org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.getDefaultInstance()); + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder addValueParameterBuilder( + int index) { + return getValueParameterFieldBuilder().addBuilder( + index, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.getDefaultInstance()); + } + /** + *
repeated .org.jetbrains.jet.descriptors.serialization.Callable.ValueParameter value_parameter = 7;
+ *
+ * + * Value parameters for functions and constructors, or setter value parameter for properties + *+ */ + public java.util.List
required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public boolean hasReturnType() {
+ return ((bitField0_ & 0x00000100) == 0x00000100);
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getReturnType() {
+ if (returnTypeBuilder_ == null) {
+ return returnType_;
+ } else {
+ return returnTypeBuilder_.getMessage();
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public Builder setReturnType(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (returnTypeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ returnType_ = value;
+ onChanged();
+ } else {
+ returnTypeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000100;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public Builder setReturnType(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder builderForValue) {
+ if (returnTypeBuilder_ == null) {
+ returnType_ = builderForValue.build();
+ onChanged();
+ } else {
+ returnTypeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000100;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public Builder mergeReturnType(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type value) {
+ if (returnTypeBuilder_ == null) {
+ if (((bitField0_ & 0x00000100) == 0x00000100) &&
+ returnType_ != org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance()) {
+ returnType_ =
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.newBuilder(returnType_).mergeFrom(value).buildPartial();
+ } else {
+ returnType_ = value;
+ }
+ onChanged();
+ } else {
+ returnTypeBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000100;
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public Builder clearReturnType() {
+ if (returnTypeBuilder_ == null) {
+ returnType_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ onChanged();
+ } else {
+ returnTypeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000100);
+ return this;
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder getReturnTypeBuilder() {
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return getReturnTypeFieldBuilder().getBuilder();
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder getReturnTypeOrBuilder() {
+ if (returnTypeBuilder_ != null) {
+ return returnTypeBuilder_.getMessageOrBuilder();
+ } else {
+ return returnType_;
+ }
+ }
+ /**
+ * required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getReturnTypeFieldBuilder() {
+ if (returnTypeBuilder_ == null) {
+ returnTypeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>(
+ returnType_,
+ getParentForChildren(),
+ isClean());
+ returnType_ = null;
+ }
+ return returnTypeBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.Callable)
+ }
+
+ static {
+ defaultInstance = new Callable(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.Callable)
+ }
+
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_SimpleNameTable_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_SimpleNameTable_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_QualifiedName_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_QualifiedName_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_Constructor_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_Constructor_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_Argument_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_Argument_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_TypeParameter_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_TypeParameter_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_ClassObject_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_ClassObject_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_PrimaryConstructor_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_PrimaryConstructor_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_Package_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_Package_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_fieldAccessorTable;
+ private static com.google.protobuf.Descriptors.Descriptor
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_ValueParameter_descriptor;
+ private static
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_ValueParameter_fieldAccessorTable;
+
+ public static com.google.protobuf.Descriptors.FileDescriptor
+ getDescriptor() {
+ return descriptor;
+ }
+ private static com.google.protobuf.Descriptors.FileDescriptor
+ descriptor;
+ static {
+ java.lang.String[] descriptorData = {
+ "\n;compiler/frontend/serialization/src/de" +
+ "scriptors.debug.proto\022+org.jetbrains.jet" +
+ ".descriptors.serialization\"\037\n\017SimpleName" +
+ "Table\022\014\n\004name\030\001 \003(\t\"\317\002\n\022QualifiedNameTab" +
+ "le\022e\n\016qualified_name\030\001 \003(\0132M.org.jetbrai" +
+ "ns.jet.descriptors.serialization.Qualifi" +
+ "edNameTable.QualifiedName\032\321\001\n\rQualifiedN" +
+ "ame\022!\n\025parent_qualified_name\030\001 \001(\005:\002-1\022\022" +
+ "\n\nshort_name\030\002 \002(\005\022i\n\004kind\030\003 \001(\0162R.org.j" +
+ "etbrains.jet.descriptors.serialization.Q",
+ "ualifiedNameTable.QualifiedName.Kind:\007PA" +
+ "CKAGE\"\036\n\004Kind\022\t\n\005CLASS\020\000\022\013\n\007PACKAGE\020\001\"\263\004" +
+ "\n\004Type\022R\n\013constructor\030\001 \002(\0132=.org.jetbra" +
+ "ins.jet.descriptors.serialization.Type.C" +
+ "onstructor\022L\n\010argument\030\002 \003(\0132:.org.jetbr" +
+ "ains.jet.descriptors.serialization.Type." +
+ "Argument\022\027\n\010nullable\030\003 \001(\010:\005false\032\231\001\n\013Co" +
+ "nstructor\022W\n\004kind\030\001 \001(\0162B.org.jetbrains." +
+ "jet.descriptors.serialization.Type.Const" +
+ "ructor.Kind:\005CLASS\022\n\n\002id\030\002 \002(\005\"%\n\004Kind\022\t",
+ "\n\005CLASS\020\000\022\022\n\016TYPE_PARAMETER\020\001\032\323\001\n\010Argume" +
+ "nt\022^\n\nprojection\030\001 \001(\0162E.org.jetbrains.j" +
+ "et.descriptors.serialization.Type.Argume" +
+ "nt.Projection:\003INV\022?\n\004type\030\002 \002(\01321.org.j" +
+ "etbrains.jet.descriptors.serialization.T" +
+ "ype\"&\n\nProjection\022\006\n\002IN\020\000\022\007\n\003OUT\020\001\022\007\n\003IN" +
+ "V\020\002\"\213\002\n\rTypeParameter\022\n\n\002id\030\001 \002(\005\022\014\n\004nam" +
+ "e\030\002 \002(\005\022\026\n\007reified\030\003 \001(\010:\005false\022Z\n\010varia" +
+ "nce\030\004 \001(\0162C.org.jetbrains.jet.descriptor" +
+ "s.serialization.TypeParameter.Variance:\003",
+ "INV\022F\n\013upper_bound\030\005 \003(\01321.org.jetbrains" +
+ ".jet.descriptors.serialization.Type\"$\n\010V" +
+ "ariance\022\006\n\002IN\020\000\022\007\n\003OUT\020\001\022\007\n\003INV\020\002\"\254\006\n\005Cl" +
+ "ass\022\020\n\005flags\030\001 \001(\005:\0010\022\030\n\020extra_visibilit" +
+ "y\030\002 \001(\t\022\017\n\007fq_name\030\003 \002(\005\022T\n\014class_object" +
+ "\030\004 \001(\0132>.org.jetbrains.jet.descriptors.s" +
+ "erialization.Class.ClassObject\022R\n\016type_p" +
+ "arameter\030\005 \003(\0132:.org.jetbrains.jet.descr" +
+ "iptors.serialization.TypeParameter\022D\n\tsu" +
+ "pertype\030\006 \003(\01321.org.jetbrains.jet.descri",
+ "ptors.serialization.Type\022\031\n\021nested_class" +
+ "_name\030\007 \003(\005\022E\n\006member\030\013 \003(\01325.org.jetbra" +
+ "ins.jet.descriptors.serialization.Callab" +
+ "le\022\022\n\nenum_entry\030\014 \003(\005\022b\n\023primary_constr" +
+ "uctor\030\r \001(\0132E.org.jetbrains.jet.descript" +
+ "ors.serialization.Class.PrimaryConstruct" +
+ "or\032O\n\013ClassObject\022@\n\004data\030\001 \001(\01322.org.je" +
+ "tbrains.jet.descriptors.serialization.Cl" +
+ "ass\032Y\n\022PrimaryConstructor\022C\n\004data\030\001 \001(\0132" +
+ "5.org.jetbrains.jet.descriptors.serializ",
+ "ation.Callable\"p\n\004Kind\022\t\n\005CLASS\020\000\022\t\n\005TRA" +
+ "IT\020\001\022\016\n\nENUM_CLASS\020\002\022\016\n\nENUM_ENTRY\020\003\022\024\n\020" +
+ "ANNOTATION_CLASS\020\004\022\n\n\006OBJECT\020\005\022\020\n\014CLASS_" +
+ "OBJECT\020\006\"P\n\007Package\022E\n\006member\030\001 \003(\01325.or" +
+ "g.jetbrains.jet.descriptors.serializatio" +
+ "n.Callable\"\220\006\n\010Callable\022\r\n\005flags\030\001 \001(\005\022\030" +
+ "\n\020extra_visibility\030\002 \001(\t\022\024\n\014getter_flags" +
+ "\030\t \001(\005\022\024\n\014setter_flags\030\n \001(\005\022R\n\016type_par" +
+ "ameter\030\004 \003(\0132:.org.jetbrains.jet.descrip" +
+ "tors.serialization.TypeParameter\022H\n\rrece",
+ "iver_type\030\005 \001(\01321.org.jetbrains.jet.desc" +
+ "riptors.serialization.Type\022\014\n\004name\030\006 \002(\005" +
+ "\022]\n\017value_parameter\030\007 \003(\0132D.org.jetbrain" +
+ "s.jet.descriptors.serialization.Callable" +
+ ".ValueParameter\022F\n\013return_type\030\010 \002(\01321.o" +
+ "rg.jetbrains.jet.descriptors.serializati" +
+ "on.Type\032\305\001\n\016ValueParameter\022\r\n\005flags\030\001 \001(" +
+ "\005\022\014\n\004name\030\002 \002(\005\022?\n\004type\030\003 \002(\01321.org.jetb" +
+ "rains.jet.descriptors.serialization.Type" +
+ "\022N\n\023vararg_element_type\030\004 \001(\01321.org.jetb",
+ "rains.jet.descriptors.serialization.Type" +
+ "*\005\010d\020\310\001\"Q\n\nMemberKind\022\017\n\013DECLARATION\020\000\022\021" +
+ "\n\rFAKE_OVERRIDE\020\001\022\016\n\nDELEGATION\020\002\022\017\n\013SYN" +
+ "THESIZED\020\003\":\n\014CallableKind\022\007\n\003FUN\020\000\022\007\n\003V" +
+ "AL\020\001\022\007\n\003VAR\020\002\022\017\n\013CONSTRUCTOR\020\003*\005\010d\020\310\001*-\n" +
+ "\010Modality\022\t\n\005FINAL\020\000\022\010\n\004OPEN\020\001\022\014\n\010ABSTRA" +
+ "CT\020\002*M\n\nVisibility\022\014\n\010INTERNAL\020\000\022\013\n\007PRIV" +
+ "ATE\020\001\022\r\n\tPROTECTED\020\002\022\n\n\006PUBLIC\020\003\022\t\n\005EXTR" +
+ "A\020\004B\022B\rDebugProtoBuf\210\001\000"
+ };
+ com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
+ new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
+ public com.google.protobuf.ExtensionRegistry assignDescriptors(
+ com.google.protobuf.Descriptors.FileDescriptor root) {
+ descriptor = root;
+ internal_static_org_jetbrains_jet_descriptors_serialization_SimpleNameTable_descriptor =
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_org_jetbrains_jet_descriptors_serialization_SimpleNameTable_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_SimpleNameTable_descriptor,
+ new java.lang.String[] { "Name", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_descriptor =
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_descriptor,
+ new java.lang.String[] { "QualifiedName", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_QualifiedName_descriptor =
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_descriptor.getNestedTypes().get(0);
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_QualifiedName_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_QualifiedName_descriptor,
+ new java.lang.String[] { "ParentQualifiedName", "ShortName", "Kind", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_descriptor =
+ getDescriptor().getMessageTypes().get(2);
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_descriptor,
+ new java.lang.String[] { "Constructor", "Argument", "Nullable", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_Constructor_descriptor =
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_descriptor.getNestedTypes().get(0);
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_Constructor_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_Constructor_descriptor,
+ new java.lang.String[] { "Kind", "Id", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_Argument_descriptor =
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_descriptor.getNestedTypes().get(1);
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_Argument_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_Type_Argument_descriptor,
+ new java.lang.String[] { "Projection", "Type", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_TypeParameter_descriptor =
+ getDescriptor().getMessageTypes().get(3);
+ internal_static_org_jetbrains_jet_descriptors_serialization_TypeParameter_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_TypeParameter_descriptor,
+ new java.lang.String[] { "Id", "Name", "Reified", "Variance", "UpperBound", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_descriptor =
+ getDescriptor().getMessageTypes().get(4);
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_descriptor,
+ new java.lang.String[] { "Flags", "ExtraVisibility", "FqName", "ClassObject", "TypeParameter", "Supertype", "NestedClassName", "Member", "EnumEntry", "PrimaryConstructor", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_ClassObject_descriptor =
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_descriptor.getNestedTypes().get(0);
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_ClassObject_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_ClassObject_descriptor,
+ new java.lang.String[] { "Data", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_PrimaryConstructor_descriptor =
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_descriptor.getNestedTypes().get(1);
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_PrimaryConstructor_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_Class_PrimaryConstructor_descriptor,
+ new java.lang.String[] { "Data", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_Package_descriptor =
+ getDescriptor().getMessageTypes().get(5);
+ internal_static_org_jetbrains_jet_descriptors_serialization_Package_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_Package_descriptor,
+ new java.lang.String[] { "Member", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_descriptor =
+ getDescriptor().getMessageTypes().get(6);
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_descriptor,
+ new java.lang.String[] { "Flags", "ExtraVisibility", "GetterFlags", "SetterFlags", "TypeParameter", "ReceiverType", "Name", "ValueParameter", "ReturnType", });
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_ValueParameter_descriptor =
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_descriptor.getNestedTypes().get(0);
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_ValueParameter_fieldAccessorTable = new
+ com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_org_jetbrains_jet_descriptors_serialization_Callable_ValueParameter_descriptor,
+ new java.lang.String[] { "Flags", "Name", "Type", "VarargElementType", });
+ return null;
+ }
+ };
+ com.google.protobuf.Descriptors.FileDescriptor
+ .internalBuildGeneratedFileFrom(descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ }, assigner);
+ }
+
+ // @@protoc_insertion_point(outer_class_scope)
+}