+ implements org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignatureOrBuilder {
+ 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);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getFieldFieldBuilder();
+ getSyntheticMethodFieldBuilder();
+ getGetterFieldBuilder();
+ getSetterFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ if (fieldBuilder_ == null) {
+ field_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.getDefaultInstance();
+ } else {
+ fieldBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ if (syntheticMethodBuilder_ == null) {
+ syntheticMethod_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance();
+ } else {
+ syntheticMethodBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ if (getterBuilder_ == null) {
+ getter_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance();
+ } else {
+ getterBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
+ if (setterBuilder_ == null) {
+ setter_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaMethodSignature.getDefaultInstance();
+ } else {
+ setterBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000008);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_JavaPropertySignature_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature build() {
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature result = new org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ if (fieldBuilder_ == null) {
+ result.field_ = field_;
+ } else {
+ result.field_ = fieldBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ if (syntheticMethodBuilder_ == null) {
+ result.syntheticMethod_ = syntheticMethod_;
+ } else {
+ result.syntheticMethod_ = syntheticMethodBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ if (getterBuilder_ == null) {
+ result.getter_ = getter_;
+ } else {
+ result.getter_ = getterBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ if (setterBuilder_ == null) {
+ result.setter_ = setter_;
+ } else {
+ result.setter_ = setterBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature.getDefaultInstance()) return this;
+ if (other.hasField()) {
+ mergeField(other.getField());
+ }
+ if (other.hasSyntheticMethod()) {
+ mergeSyntheticMethod(other.getSyntheticMethod());
+ }
+ if (other.hasGetter()) {
+ mergeGetter(other.getGetter());
+ }
+ if (other.hasSetter()) {
+ mergeSetter(other.getSetter());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (hasField()) {
+ if (!getField().isInitialized()) {
+
+ return false;
+ }
+ }
+ if (hasSyntheticMethod()) {
+ if (!getSyntheticMethod().isInitialized()) {
+
+ return false;
+ }
+ }
+ if (hasGetter()) {
+ if (!getGetter().isInitialized()) {
+
+ return false;
+ }
+ }
+ if (hasSetter()) {
+ if (!getSetter().isInitialized()) {
+
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaPropertySignature) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // optional .org.jetbrains.jet.descriptors.serialization.JavaFieldSignature field = 1;
+ private org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature field_ = org.jetbrains.jet.descriptors.serialization.DebugJavaProtoBuf.JavaFieldSignature.getDefaultInstance();
+ 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> fieldBuilder_;
+ /**
+ * 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 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-plugin/test/org/jetbrains/jet/descriptors/serialization/DebugProtoBuf.java b/jps-plugin/test/org/jetbrains/jet/descriptors/serialization/DebugProtoBuf.java
new file mode 100644
index 00000000000..a9eca1a0f22
--- /dev/null
+++ b/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.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public Modality findValueByNumber(int number) {
+ return Modality.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final Modality[] VALUES = values();
+
+ public static Modality valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private Modality(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:org.jetbrains.jet.descriptors.serialization.Modality)
+ }
+
+ /**
+ * Protobuf enum {@code org.jetbrains.jet.descriptors.serialization.Visibility}
+ */
+ public enum Visibility
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * INTERNAL = 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
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public Visibility findValueByNumber(int number) {
+ return Visibility.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.getDescriptor().getEnumTypes().get(1);
+ }
+
+ private static final Visibility[] VALUES = values();
+
+ public static Visibility valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private Visibility(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:org.jetbrains.jet.descriptors.serialization.Visibility)
+ }
+
+ public interface SimpleNameTableOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // repeated string name = 1;
+ /**
+ * repeated string name = 1;
+ */
+ java.util.List
+ getNameList();
+ /**
+ * repeated 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.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public SimpleNameTable parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new SimpleNameTable(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ // repeated string name = 1;
+ public static final int NAME_FIELD_NUMBER = 1;
+ private com.google.protobuf.LazyStringList name_;
+ /**
+ * repeated string name = 1;
+ */
+ public java.util.List
+ getNameList() {
+ return name_;
+ }
+ /**
+ * repeated 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.Builder
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTableOrBuilder {
+ 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);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ name_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_SimpleNameTable_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable(this);
+ int from_bitField0_ = bitField0_;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ name_ = new com.google.protobuf.UnmodifiableLazyStringList(
+ name_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.name_ = name_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable.getDefaultInstance()) return this;
+ if (!other.name_.isEmpty()) {
+ if (name_.isEmpty()) {
+ name_ = other.name_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureNameIsMutable();
+ name_.addAll(other.name_);
+ }
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.SimpleNameTable) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // repeated string name = 1;
+ private com.google.protobuf.LazyStringList name_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ private void ensureNameIsMutable() {
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
+ name_ = new com.google.protobuf.LazyStringArrayList(name_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ * repeated string name = 1;
+ */
+ public java.util.List
+ getNameList() {
+ return java.util.Collections.unmodifiableList(name_);
+ }
+ /**
+ * repeated 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.Iterable values) {
+ ensureNameIsMutable();
+ super.addAll(values, name_);
+ onChanged();
+ return this;
+ }
+ /**
+ * repeated 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.List
+ getQualifiedNameList();
+ /**
+ * repeated .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.ArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ qualifiedName_.add(input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.PARSER, extensionRegistry));
+ 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)) {
+ qualifiedName_ = java.util.Collections.unmodifiableList(qualifiedName_);
+ }
+ 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_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public QualifiedNameTable parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new QualifiedNameTable(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ public interface QualifiedNameOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // optional int32 parent_qualified_name = 1 [default = -1];
+ /**
+ * optional 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.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public QualifiedName parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new QualifiedName(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ /**
+ * Protobuf enum {@code org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind}
+ */
+ public enum Kind
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * CLASS = 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.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public Kind findValueByNumber(int number) {
+ return Kind.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final Kind[] VALUES = values();
+
+ public static Kind valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private Kind(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName.Kind)
+ }
+
+ private int bitField0_;
+ // optional int32 parent_qualified_name = 1 [default = -1];
+ public static final int PARENT_QUALIFIED_NAME_FIELD_NUMBER = 1;
+ private int parentQualifiedName_;
+ /**
+ * optional 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.Builder
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder {
+ 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);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ parentQualifiedName_ = -1;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ shortName_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ kind_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Kind.PACKAGE;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_QualifiedName_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.parentQualifiedName_ = parentQualifiedName_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.shortName_ = shortName_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.kind_ = kind_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.getDefaultInstance()) return this;
+ if (other.hasParentQualifiedName()) {
+ setParentQualifiedName(other.getParentQualifiedName());
+ }
+ if (other.hasShortName()) {
+ setShortName(other.getShortName());
+ }
+ if (other.hasKind()) {
+ setKind(other.getKind());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasShortName()) {
+
+ return false;
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // optional int32 parent_qualified_name = 1 [default = -1];
+ private int parentQualifiedName_ = -1;
+ /**
+ * optional 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.List qualifiedName_;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public java.util.List getQualifiedNameList() {
+ return qualifiedName_;
+ }
+ /**
+ * 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() {
+ 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.Builder
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTableOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.Builder.class);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getQualifiedNameFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ if (qualifiedNameBuilder_ == null) {
+ qualifiedName_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ qualifiedNameBuilder_.clear();
+ }
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_QualifiedNameTable_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable(this);
+ int from_bitField0_ = bitField0_;
+ if (qualifiedNameBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ qualifiedName_ = java.util.Collections.unmodifiableList(qualifiedName_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.qualifiedName_ = qualifiedName_;
+ } else {
+ result.qualifiedName_ = qualifiedNameBuilder_.build();
+ }
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.getDefaultInstance()) return this;
+ if (qualifiedNameBuilder_ == null) {
+ if (!other.qualifiedName_.isEmpty()) {
+ if (qualifiedName_.isEmpty()) {
+ qualifiedName_ = other.qualifiedName_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureQualifiedNameIsMutable();
+ qualifiedName_.addAll(other.qualifiedName_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.qualifiedName_.isEmpty()) {
+ if (qualifiedNameBuilder_.isEmpty()) {
+ qualifiedNameBuilder_.dispose();
+ qualifiedNameBuilder_ = null;
+ qualifiedName_ = other.qualifiedName_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ qualifiedNameBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getQualifiedNameFieldBuilder() : null;
+ } else {
+ qualifiedNameBuilder_.addAllMessages(other.qualifiedName_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ for (int i = 0; i < getQualifiedNameCount(); i++) {
+ if (!getQualifiedName(i).isInitialized()) {
+
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ private java.util.List qualifiedName_ =
+ java.util.Collections.emptyList();
+ private void ensureQualifiedNameIsMutable() {
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
+ qualifiedName_ = new java.util.ArrayList(qualifiedName_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder> qualifiedNameBuilder_;
+
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.QualifiedNameTable.QualifiedName qualified_name = 1;
+ */
+ public java.util.List getQualifiedNameList() {
+ if (qualifiedNameBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(qualifiedName_);
+ } else {
+ return qualifiedNameBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .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.List
+ getQualifiedNameBuilderList() {
+ return getQualifiedNameFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder>
+ getQualifiedNameFieldBuilder() {
+ if (qualifiedNameBuilder_ == null) {
+ qualifiedNameBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedName.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.QualifiedNameTable.QualifiedNameOrBuilder>(
+ qualifiedName_,
+ ((bitField0_ & 0x00000001) == 0x00000001),
+ getParentForChildren(),
+ isClean());
+ qualifiedName_ = null;
+ }
+ return qualifiedNameBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.QualifiedNameTable)
+ }
+
+ static {
+ defaultInstance = new QualifiedNameTable(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.QualifiedNameTable)
+ }
+
+ public interface TypeOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ /**
+ * required .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.List
+ getArgumentList();
+ /**
+ * repeated .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.ArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ argument_.add(input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.PARSER, extensionRegistry));
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000002;
+ nullable_ = 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 {
+ if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ argument_ = java.util.Collections.unmodifiableList(argument_);
+ }
+ 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_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Type_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public Type parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Type(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ public interface ConstructorOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ /**
+ * optional .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 PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public Constructor parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Constructor(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ /**
+ * Protobuf enum {@code org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind}
+ */
+ public enum Kind
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * 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.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public Kind findValueByNumber(int number) {
+ return Kind.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final Kind[] VALUES = values();
+
+ public static Kind valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private Kind(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind)
+ }
+
+ private int bitField0_;
+ // optional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ public static final int KIND_FIELD_NUMBER = 1;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind kind_;
+ /**
+ * 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_;
+ }
+
+ // 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
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ConstructorOrBuilder {
+ 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);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ kind_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind.CLASS;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ id_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Type_Constructor_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.kind_ = kind_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.id_ = id_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.getDefaultInstance()) return this;
+ if (other.hasKind()) {
+ setKind(other.getKind());
+ }
+ if (other.hasId()) {
+ setId(other.getId());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasId()) {
+
+ return false;
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Type.Constructor.Kind kind = 1 [default = CLASS];
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind kind_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.Kind.CLASS;
+ /**
+ * 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.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public Argument parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Argument(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ /**
+ * Protobuf enum {@code org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection}
+ */
+ public enum Projection
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * IN = 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.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public Projection findValueByNumber(int number) {
+ return Projection.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final Projection[] VALUES = values();
+
+ public static Projection valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private Projection(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection)
+ }
+
+ private int bitField0_;
+ // optional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV];
+ public static final int PROJECTION_FIELD_NUMBER = 1;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection projection_;
+ /**
+ * optional .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.Builder
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ArgumentOrBuilder {
+ 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);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getTypeFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ projection_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection.INV;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ if (typeBuilder_ == null) {
+ type_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ } else {
+ typeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Type_Argument_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.projection_ = projection_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ if (typeBuilder_ == null) {
+ result.type_ = type_;
+ } else {
+ result.type_ = typeBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.getDefaultInstance()) return this;
+ if (other.hasProjection()) {
+ setProjection(other.getProjection());
+ }
+ if (other.hasType()) {
+ mergeType(other.getType());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasType()) {
+
+ return false;
+ }
+ if (!getType().isInitialized()) {
+
+ return false;
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Type.Argument.Projection projection = 1 [default = INV];
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection projection_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Projection.INV;
+ /**
+ * optional .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.List argument_;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public java.util.List getArgumentList() {
+ return argument_;
+ }
+ /**
+ * repeated .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.Builder
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Type_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Type_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder.class);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getConstructorFieldBuilder();
+ getArgumentFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ if (constructorBuilder_ == null) {
+ constructor_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.getDefaultInstance();
+ } else {
+ constructorBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ if (argumentBuilder_ == null) {
+ argument_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ argumentBuilder_.clear();
+ }
+ nullable_ = false;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Type_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ if (constructorBuilder_ == null) {
+ result.constructor_ = constructor_;
+ } else {
+ result.constructor_ = constructorBuilder_.build();
+ }
+ if (argumentBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ argument_ = java.util.Collections.unmodifiableList(argument_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.argument_ = argument_;
+ } else {
+ result.argument_ = argumentBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.nullable_ = nullable_;
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance()) return this;
+ if (other.hasConstructor()) {
+ mergeConstructor(other.getConstructor());
+ }
+ if (argumentBuilder_ == null) {
+ if (!other.argument_.isEmpty()) {
+ if (argument_.isEmpty()) {
+ argument_ = other.argument_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureArgumentIsMutable();
+ argument_.addAll(other.argument_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.argument_.isEmpty()) {
+ if (argumentBuilder_.isEmpty()) {
+ argumentBuilder_.dispose();
+ argumentBuilder_ = null;
+ argument_ = other.argument_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ argumentBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getArgumentFieldBuilder() : null;
+ } else {
+ argumentBuilder_.addAllMessages(other.argument_);
+ }
+ }
+ }
+ if (other.hasNullable()) {
+ setNullable(other.getNullable());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasConstructor()) {
+
+ return false;
+ }
+ if (!getConstructor().isInitialized()) {
+
+ return false;
+ }
+ for (int i = 0; i < getArgumentCount(); i++) {
+ if (!getArgument(i).isInitialized()) {
+
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // required .org.jetbrains.jet.descriptors.serialization.Type.Constructor constructor = 1;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor constructor_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Constructor.getDefaultInstance();
+ 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> constructorBuilder_;
+ /**
+ * 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() {
+ 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.List argument_ =
+ java.util.Collections.emptyList();
+ private void ensureArgumentIsMutable() {
+ if (!((bitField0_ & 0x00000002) == 0x00000002)) {
+ argument_ = new java.util.ArrayList(argument_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ArgumentOrBuilder> argumentBuilder_;
+
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type.Argument argument = 2;
+ */
+ public java.util.List getArgumentList() {
+ if (argumentBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(argument_);
+ } else {
+ return argumentBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .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.List
+ getArgumentBuilderList() {
+ return getArgumentFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ArgumentOrBuilder>
+ getArgumentFieldBuilder() {
+ if (argumentBuilder_ == null) {
+ argumentBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Argument.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.ArgumentOrBuilder>(
+ argument_,
+ ((bitField0_ & 0x00000002) == 0x00000002),
+ getParentForChildren(),
+ isClean());
+ argument_ = null;
+ }
+ return argumentBuilder_;
+ }
+
+ // optional bool nullable = 3 [default = false];
+ private boolean nullable_ ;
+ /**
+ * optional 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.List
+ getUpperBoundList();
+ /**
+ * repeated .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.ArrayList();
+ mutable_bitField0_ |= 0x00000010;
+ }
+ upperBound_.add(input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.PARSER, extensionRegistry));
+ 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_ & 0x00000010) == 0x00000010)) {
+ upperBound_ = java.util.Collections.unmodifiableList(upperBound_);
+ }
+ 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_TypeParameter_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_TypeParameter_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public TypeParameter parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new TypeParameter(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ /**
+ * Protobuf enum {@code org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance}
+ */
+ public enum Variance
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * IN = 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.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public Variance findValueByNumber(int number) {
+ return Variance.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final Variance[] VALUES = values();
+
+ public static Variance valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private Variance(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:org.jetbrains.jet.descriptors.serialization.TypeParameter.Variance)
+ }
+
+ private int bitField0_;
+ // required int32 id = 1;
+ public static final int ID_FIELD_NUMBER = 1;
+ private int id_;
+ /**
+ * required 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.List upperBound_;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public java.util.List getUpperBoundList() {
+ return upperBound_;
+ }
+ /**
+ * repeated .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.Builder
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_TypeParameter_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_TypeParameter_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder.class);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getUpperBoundFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ id_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ name_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ reified_ = false;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ variance_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Variance.INV;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ if (upperBoundBuilder_ == null) {
+ upperBound_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ upperBoundBuilder_.clear();
+ }
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_TypeParameter_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.id_ = id_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.name_ = name_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.reified_ = reified_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.variance_ = variance_;
+ if (upperBoundBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ upperBound_ = java.util.Collections.unmodifiableList(upperBound_);
+ bitField0_ = (bitField0_ & ~0x00000010);
+ }
+ result.upperBound_ = upperBound_;
+ } else {
+ result.upperBound_ = upperBoundBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.getDefaultInstance()) return this;
+ if (other.hasId()) {
+ setId(other.getId());
+ }
+ if (other.hasName()) {
+ setName(other.getName());
+ }
+ if (other.hasReified()) {
+ setReified(other.getReified());
+ }
+ if (other.hasVariance()) {
+ setVariance(other.getVariance());
+ }
+ if (upperBoundBuilder_ == null) {
+ if (!other.upperBound_.isEmpty()) {
+ if (upperBound_.isEmpty()) {
+ upperBound_ = other.upperBound_;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ ensureUpperBoundIsMutable();
+ upperBound_.addAll(other.upperBound_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.upperBound_.isEmpty()) {
+ if (upperBoundBuilder_.isEmpty()) {
+ upperBoundBuilder_.dispose();
+ upperBoundBuilder_ = null;
+ upperBound_ = other.upperBound_;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ upperBoundBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getUpperBoundFieldBuilder() : null;
+ } else {
+ upperBoundBuilder_.addAllMessages(other.upperBound_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasId()) {
+
+ return false;
+ }
+ if (!hasName()) {
+
+ return false;
+ }
+ for (int i = 0; i < getUpperBoundCount(); i++) {
+ if (!getUpperBound(i).isInitialized()) {
+
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // required int32 id = 1;
+ private int id_ ;
+ /**
+ * required 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.List upperBound_ =
+ java.util.Collections.emptyList();
+ private void ensureUpperBoundIsMutable() {
+ if (!((bitField0_ & 0x00000010) == 0x00000010)) {
+ upperBound_ = new java.util.ArrayList(upperBound_);
+ bitField0_ |= 0x00000010;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder> upperBoundBuilder_;
+
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type upper_bound = 5;
+ */
+ public java.util.List getUpperBoundList() {
+ if (upperBoundBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(upperBound_);
+ } else {
+ return upperBoundBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .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.List
+ getUpperBoundBuilderList() {
+ return getUpperBoundFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getUpperBoundFieldBuilder() {
+ if (upperBoundBuilder_ == null) {
+ upperBoundBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>(
+ upperBound_,
+ ((bitField0_ & 0x00000010) == 0x00000010),
+ getParentForChildren(),
+ isClean());
+ upperBound_ = null;
+ }
+ return upperBoundBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.TypeParameter)
+ }
+
+ static {
+ defaultInstance = new TypeParameter(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.TypeParameter)
+ }
+
+ public interface ClassOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // optional int32 flags = 1 [default = 0];
+ /**
+ * optional 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.List
+ getTypeParameterList();
+ /**
+ * repeated .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.List
+ getSupertypeList();
+ /**
+ * repeated .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 getNestedClassNameList();
+ /**
+ * 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.List
+ getMemberList();
+ /**
+ * repeated .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.List getEnumEntryList();
+ /**
+ * repeated 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();
+ mutable_bitField0_ |= 0x00000010;
+ }
+ typeParameter_.add(input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.PARSER, extensionRegistry));
+ break;
+ }
+ case 50: {
+ if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
+ supertype_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000020;
+ }
+ supertype_.add(input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.PARSER, extensionRegistry));
+ break;
+ }
+ case 56: {
+ if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
+ nestedClassName_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000040;
+ }
+ nestedClassName_.add(input.readInt32());
+ break;
+ }
+ case 58: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) {
+ nestedClassName_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000040;
+ }
+ while (input.getBytesUntilLimit() > 0) {
+ nestedClassName_.add(input.readInt32());
+ }
+ input.popLimit(limit);
+ break;
+ }
+ case 90: {
+ if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
+ member_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000080;
+ }
+ member_.add(input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.PARSER, extensionRegistry));
+ break;
+ }
+ case 96: {
+ if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
+ enumEntry_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000100;
+ }
+ enumEntry_.add(input.readInt32());
+ break;
+ }
+ case 98: {
+ int length = input.readRawVarint32();
+ int limit = input.pushLimit(length);
+ if (!((mutable_bitField0_ & 0x00000100) == 0x00000100) && input.getBytesUntilLimit() > 0) {
+ enumEntry_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000100;
+ }
+ while (input.getBytesUntilLimit() > 0) {
+ enumEntry_.add(input.readInt32());
+ }
+ input.popLimit(limit);
+ break;
+ }
+ case 106: {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ subBuilder = primaryConstructor_.toBuilder();
+ }
+ primaryConstructor_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(primaryConstructor_);
+ primaryConstructor_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000010;
+ 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_ & 0x00000010) == 0x00000010)) {
+ typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_);
+ }
+ if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
+ supertype_ = java.util.Collections.unmodifiableList(supertype_);
+ }
+ if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
+ nestedClassName_ = java.util.Collections.unmodifiableList(nestedClassName_);
+ }
+ if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
+ member_ = java.util.Collections.unmodifiableList(member_);
+ }
+ if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
+ enumEntry_ = java.util.Collections.unmodifiableList(enumEntry_);
+ }
+ 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_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Class_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public Class parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Class(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ /**
+ * Protobuf enum {@code org.jetbrains.jet.descriptors.serialization.Class.Kind}
+ */
+ public enum Kind
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * 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.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public Kind findValueByNumber(int number) {
+ return Kind.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final Kind[] VALUES = values();
+
+ public static Kind valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private Kind(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:org.jetbrains.jet.descriptors.serialization.Class.Kind)
+ }
+
+ public interface ClassObjectOrBuilder
+ extends com.google.protobuf.MessageOrBuilder {
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ /**
+ * 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
+ *
+ */
+ 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 PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public ClassObject parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ClassObject(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ private int bitField0_;
+ // optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ public static final int DATA_FIELD_NUMBER = 1;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class 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 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
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObjectOrBuilder {
+ 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);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getDataFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ if (dataBuilder_ == null) {
+ data_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.getDefaultInstance();
+ } else {
+ dataBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Class_ClassObject_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ if (dataBuilder_ == null) {
+ result.data_ = data_;
+ } else {
+ result.data_ = dataBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.getDefaultInstance()) return this;
+ if (other.hasData()) {
+ mergeData(other.getData());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (hasData()) {
+ if (!getData().isInitialized()) {
+
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Class data = 1;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class data_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.getDefaultInstance();
+ 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> dataBuilder_;
+ /**
+ * 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 PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public PrimaryConstructor parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new PrimaryConstructor(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ private int bitField0_;
+ // optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ public static final int DATA_FIELD_NUMBER = 1;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable 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 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
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructorOrBuilder {
+ 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);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getDataFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ if (dataBuilder_ == null) {
+ data_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance();
+ } else {
+ dataBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Class_PrimaryConstructor_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ if (dataBuilder_ == null) {
+ result.data_ = data_;
+ } else {
+ result.data_ = dataBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.getDefaultInstance()) return this;
+ if (other.hasData()) {
+ mergeData(other.getData());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (hasData()) {
+ if (!getData().isInitialized()) {
+
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Callable data = 1;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable data_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance();
+ 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> dataBuilder_;
+ /**
+ * 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 typeParameter_;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public java.util.List getTypeParameterList() {
+ return typeParameter_;
+ }
+ /**
+ * repeated .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.List supertype_;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public java.util.List getSupertypeList() {
+ return supertype_;
+ }
+ /**
+ * repeated .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.List nestedClassName_;
+ /**
+ * 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 java.util.List
+ getNestedClassNameList() {
+ return nestedClassName_;
+ }
+ /**
+ * 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 member_;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public java.util.List getMemberList() {
+ return member_;
+ }
+ /**
+ * repeated .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.List enumEntry_;
+ /**
+ * repeated int32 enum_entry = 12;
+ */
+ public java.util.List
+ getEnumEntryList() {
+ return enumEntry_;
+ }
+ /**
+ * repeated 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
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.ClassOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Class_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Class_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.Builder.class);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getClassObjectFieldBuilder();
+ getTypeParameterFieldBuilder();
+ getSupertypeFieldBuilder();
+ getMemberFieldBuilder();
+ getPrimaryConstructorFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ flags_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ extraVisibility_ = "";
+ bitField0_ = (bitField0_ & ~0x00000002);
+ fqName_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ if (classObjectBuilder_ == null) {
+ classObject_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.ClassObject.getDefaultInstance();
+ } else {
+ classObjectBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000008);
+ if (typeParameterBuilder_ == null) {
+ typeParameter_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ typeParameterBuilder_.clear();
+ }
+ if (supertypeBuilder_ == null) {
+ supertype_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ } else {
+ supertypeBuilder_.clear();
+ }
+ nestedClassName_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ if (memberBuilder_ == null) {
+ member_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000080);
+ } else {
+ memberBuilder_.clear();
+ }
+ enumEntry_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000100);
+ if (primaryConstructorBuilder_ == null) {
+ primaryConstructor_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.PrimaryConstructor.getDefaultInstance();
+ } else {
+ primaryConstructorBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000200);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Class_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.flags_ = flags_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.extraVisibility_ = extraVisibility_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.fqName_ = fqName_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ if (classObjectBuilder_ == null) {
+ result.classObject_ = classObject_;
+ } else {
+ result.classObject_ = classObjectBuilder_.build();
+ }
+ if (typeParameterBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_);
+ bitField0_ = (bitField0_ & ~0x00000010);
+ }
+ result.typeParameter_ = typeParameter_;
+ } else {
+ result.typeParameter_ = typeParameterBuilder_.build();
+ }
+ if (supertypeBuilder_ == null) {
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ supertype_ = java.util.Collections.unmodifiableList(supertype_);
+ bitField0_ = (bitField0_ & ~0x00000020);
+ }
+ result.supertype_ = supertype_;
+ } else {
+ result.supertype_ = supertypeBuilder_.build();
+ }
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ nestedClassName_ = java.util.Collections.unmodifiableList(nestedClassName_);
+ bitField0_ = (bitField0_ & ~0x00000040);
+ }
+ result.nestedClassName_ = nestedClassName_;
+ if (memberBuilder_ == null) {
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ member_ = java.util.Collections.unmodifiableList(member_);
+ bitField0_ = (bitField0_ & ~0x00000080);
+ }
+ result.member_ = member_;
+ } else {
+ result.member_ = memberBuilder_.build();
+ }
+ if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ enumEntry_ = java.util.Collections.unmodifiableList(enumEntry_);
+ bitField0_ = (bitField0_ & ~0x00000100);
+ }
+ result.enumEntry_ = enumEntry_;
+ if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
+ to_bitField0_ |= 0x00000010;
+ }
+ if (primaryConstructorBuilder_ == null) {
+ result.primaryConstructor_ = primaryConstructor_;
+ } else {
+ result.primaryConstructor_ = primaryConstructorBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class.getDefaultInstance()) return this;
+ if (other.hasFlags()) {
+ setFlags(other.getFlags());
+ }
+ if (other.hasExtraVisibility()) {
+ bitField0_ |= 0x00000002;
+ extraVisibility_ = other.extraVisibility_;
+ onChanged();
+ }
+ if (other.hasFqName()) {
+ setFqName(other.getFqName());
+ }
+ if (other.hasClassObject()) {
+ mergeClassObject(other.getClassObject());
+ }
+ if (typeParameterBuilder_ == null) {
+ if (!other.typeParameter_.isEmpty()) {
+ if (typeParameter_.isEmpty()) {
+ typeParameter_ = other.typeParameter_;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ ensureTypeParameterIsMutable();
+ typeParameter_.addAll(other.typeParameter_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.typeParameter_.isEmpty()) {
+ if (typeParameterBuilder_.isEmpty()) {
+ typeParameterBuilder_.dispose();
+ typeParameterBuilder_ = null;
+ typeParameter_ = other.typeParameter_;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ typeParameterBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getTypeParameterFieldBuilder() : null;
+ } else {
+ typeParameterBuilder_.addAllMessages(other.typeParameter_);
+ }
+ }
+ }
+ if (supertypeBuilder_ == null) {
+ if (!other.supertype_.isEmpty()) {
+ if (supertype_.isEmpty()) {
+ supertype_ = other.supertype_;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ } else {
+ ensureSupertypeIsMutable();
+ supertype_.addAll(other.supertype_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.supertype_.isEmpty()) {
+ if (supertypeBuilder_.isEmpty()) {
+ supertypeBuilder_.dispose();
+ supertypeBuilder_ = null;
+ supertype_ = other.supertype_;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ supertypeBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getSupertypeFieldBuilder() : null;
+ } else {
+ supertypeBuilder_.addAllMessages(other.supertype_);
+ }
+ }
+ }
+ if (!other.nestedClassName_.isEmpty()) {
+ if (nestedClassName_.isEmpty()) {
+ nestedClassName_ = other.nestedClassName_;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ } else {
+ ensureNestedClassNameIsMutable();
+ nestedClassName_.addAll(other.nestedClassName_);
+ }
+ onChanged();
+ }
+ if (memberBuilder_ == null) {
+ if (!other.member_.isEmpty()) {
+ if (member_.isEmpty()) {
+ member_ = other.member_;
+ bitField0_ = (bitField0_ & ~0x00000080);
+ } else {
+ ensureMemberIsMutable();
+ member_.addAll(other.member_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.member_.isEmpty()) {
+ if (memberBuilder_.isEmpty()) {
+ memberBuilder_.dispose();
+ memberBuilder_ = null;
+ member_ = other.member_;
+ bitField0_ = (bitField0_ & ~0x00000080);
+ memberBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getMemberFieldBuilder() : null;
+ } else {
+ memberBuilder_.addAllMessages(other.member_);
+ }
+ }
+ }
+ if (!other.enumEntry_.isEmpty()) {
+ if (enumEntry_.isEmpty()) {
+ enumEntry_ = other.enumEntry_;
+ bitField0_ = (bitField0_ & ~0x00000100);
+ } else {
+ ensureEnumEntryIsMutable();
+ enumEntry_.addAll(other.enumEntry_);
+ }
+ onChanged();
+ }
+ if (other.hasPrimaryConstructor()) {
+ mergePrimaryConstructor(other.getPrimaryConstructor());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasFqName()) {
+
+ return false;
+ }
+ if (hasClassObject()) {
+ if (!getClassObject().isInitialized()) {
+
+ return false;
+ }
+ }
+ for (int i = 0; i < getTypeParameterCount(); i++) {
+ if (!getTypeParameter(i).isInitialized()) {
+
+ return false;
+ }
+ }
+ for (int i = 0; i < getSupertypeCount(); i++) {
+ if (!getSupertype(i).isInitialized()) {
+
+ return false;
+ }
+ }
+ for (int i = 0; i < getMemberCount(); i++) {
+ if (!getMember(i).isInitialized()) {
+
+ return false;
+ }
+ }
+ if (hasPrimaryConstructor()) {
+ if (!getPrimaryConstructor().isInitialized()) {
+
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Class) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // optional int32 flags = 1 [default = 0];
+ 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 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 typeParameter_ =
+ java.util.Collections.emptyList();
+ private void ensureTypeParameterIsMutable() {
+ if (!((bitField0_ & 0x00000010) == 0x00000010)) {
+ typeParameter_ = new java.util.ArrayList(typeParameter_);
+ bitField0_ |= 0x00000010;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder> typeParameterBuilder_;
+
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 5;
+ */
+ public java.util.List getTypeParameterList() {
+ if (typeParameterBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(typeParameter_);
+ } else {
+ return typeParameterBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .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.List
+ getTypeParameterBuilderList() {
+ return getTypeParameterFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder>
+ getTypeParameterFieldBuilder() {
+ if (typeParameterBuilder_ == null) {
+ typeParameterBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder>(
+ typeParameter_,
+ ((bitField0_ & 0x00000010) == 0x00000010),
+ getParentForChildren(),
+ isClean());
+ typeParameter_ = null;
+ }
+ return typeParameterBuilder_;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ private java.util.List supertype_ =
+ java.util.Collections.emptyList();
+ private void ensureSupertypeIsMutable() {
+ if (!((bitField0_ & 0x00000020) == 0x00000020)) {
+ supertype_ = new java.util.ArrayList(supertype_);
+ bitField0_ |= 0x00000020;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder> supertypeBuilder_;
+
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Type supertype = 6;
+ */
+ public java.util.List getSupertypeList() {
+ if (supertypeBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(supertype_);
+ } else {
+ return supertypeBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .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.List
+ getSupertypeBuilderList() {
+ return getSupertypeFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>
+ getSupertypeFieldBuilder() {
+ if (supertypeBuilder_ == null) {
+ supertypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeOrBuilder>(
+ supertype_,
+ ((bitField0_ & 0x00000020) == 0x00000020),
+ getParentForChildren(),
+ isClean());
+ supertype_ = null;
+ }
+ return supertypeBuilder_;
+ }
+
+ // repeated int32 nested_class_name = 7;
+ private java.util.List nestedClassName_ = java.util.Collections.emptyList();
+ private void ensureNestedClassNameIsMutable() {
+ if (!((bitField0_ & 0x00000040) == 0x00000040)) {
+ nestedClassName_ = new java.util.ArrayList(nestedClassName_);
+ bitField0_ |= 0x00000040;
+ }
+ }
+ /**
+ * 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 java.util.List
+ getNestedClassNameList() {
+ return java.util.Collections.unmodifiableList(nestedClassName_);
+ }
+ /**
+ * 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 member_ =
+ java.util.Collections.emptyList();
+ private void ensureMemberIsMutable() {
+ if (!((bitField0_ & 0x00000080) == 0x00000080)) {
+ member_ = new java.util.ArrayList(member_);
+ bitField0_ |= 0x00000080;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder> memberBuilder_;
+
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 11;
+ */
+ public java.util.List getMemberList() {
+ if (memberBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(member_);
+ } else {
+ return memberBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .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.List
+ getMemberBuilderList() {
+ return getMemberFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>
+ getMemberFieldBuilder() {
+ if (memberBuilder_ == null) {
+ memberBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>(
+ member_,
+ ((bitField0_ & 0x00000080) == 0x00000080),
+ getParentForChildren(),
+ isClean());
+ member_ = null;
+ }
+ return memberBuilder_;
+ }
+
+ // repeated int32 enum_entry = 12;
+ private java.util.List enumEntry_ = java.util.Collections.emptyList();
+ private void ensureEnumEntryIsMutable() {
+ if (!((bitField0_ & 0x00000100) == 0x00000100)) {
+ enumEntry_ = new java.util.ArrayList(enumEntry_);
+ bitField0_ |= 0x00000100;
+ }
+ }
+ /**
+ * repeated int32 enum_entry = 12;
+ */
+ public java.util.List
+ getEnumEntryList() {
+ return java.util.Collections.unmodifiableList(enumEntry_);
+ }
+ /**
+ * repeated 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.List
+ getMemberList();
+ /**
+ * repeated .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.ArrayList();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ member_.add(input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.PARSER, extensionRegistry));
+ 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)) {
+ member_ = java.util.Collections.unmodifiableList(member_);
+ }
+ 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_Package_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Package_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public Package parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Package(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ public static final int MEMBER_FIELD_NUMBER = 1;
+ private java.util.List member_;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public java.util.List getMemberList() {
+ return member_;
+ }
+ /**
+ * repeated .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.Builder
+ implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.PackageOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Package_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Package_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package.Builder.class);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getMemberFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ if (memberBuilder_ == null) {
+ member_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ memberBuilder_.clear();
+ }
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Package_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package(this);
+ int from_bitField0_ = bitField0_;
+ if (memberBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ member_ = java.util.Collections.unmodifiableList(member_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.member_ = member_;
+ } else {
+ result.member_ = memberBuilder_.build();
+ }
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package.getDefaultInstance()) return this;
+ if (memberBuilder_ == null) {
+ if (!other.member_.isEmpty()) {
+ if (member_.isEmpty()) {
+ member_ = other.member_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureMemberIsMutable();
+ member_.addAll(other.member_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.member_.isEmpty()) {
+ if (memberBuilder_.isEmpty()) {
+ memberBuilder_.dispose();
+ memberBuilder_ = null;
+ member_ = other.member_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ memberBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getMemberFieldBuilder() : null;
+ } else {
+ memberBuilder_.addAllMessages(other.member_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ for (int i = 0; i < getMemberCount(); i++) {
+ if (!getMember(i).isInitialized()) {
+
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Package) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ private java.util.List member_ =
+ java.util.Collections.emptyList();
+ private void ensureMemberIsMutable() {
+ if (!((bitField0_ & 0x00000001) == 0x00000001)) {
+ member_ = new java.util.ArrayList(member_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder> memberBuilder_;
+
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.Callable member = 1;
+ */
+ public java.util.List getMemberList() {
+ if (memberBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(member_);
+ } else {
+ return memberBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .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.List
+ getMemberBuilderList() {
+ return getMemberFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>
+ getMemberFieldBuilder() {
+ if (memberBuilder_ == null) {
+ memberBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder>(
+ member_,
+ ((bitField0_ & 0x00000001) == 0x00000001),
+ getParentForChildren(),
+ isClean());
+ member_ = null;
+ }
+ return memberBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:org.jetbrains.jet.descriptors.serialization.Package)
+ }
+
+ static {
+ defaultInstance = new Package(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:org.jetbrains.jet.descriptors.serialization.Package)
+ }
+
+ public interface CallableOrBuilder extends
+ com.google.protobuf.GeneratedMessage.
+ ExtendableMessageOrBuilder {
+
+ // optional int32 flags = 1;
+ /**
+ * optional 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.List
+ getTypeParameterList();
+ /**
+ * repeated .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
+ getValueParameterList();
+ /**
+ * 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.ExtendableBuilder builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private Callable(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final Callable defaultInstance;
+ public static Callable getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public Callable getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private Callable(
+ 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 34: {
+ if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ typeParameter_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000010;
+ }
+ typeParameter_.add(input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.PARSER, extensionRegistry));
+ break;
+ }
+ case 42: {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ subBuilder = receiverType_.toBuilder();
+ }
+ receiverType_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(receiverType_);
+ receiverType_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000010;
+ break;
+ }
+ case 48: {
+ bitField0_ |= 0x00000020;
+ name_ = input.readInt32();
+ break;
+ }
+ case 58: {
+ if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
+ valueParameter_ = new java.util.ArrayList();
+ mutable_bitField0_ |= 0x00000080;
+ }
+ valueParameter_.add(input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.PARSER, extensionRegistry));
+ break;
+ }
+ case 66: {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ subBuilder = returnType_.toBuilder();
+ }
+ returnType_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(returnType_);
+ returnType_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000040;
+ break;
+ }
+ case 72: {
+ bitField0_ |= 0x00000004;
+ getterFlags_ = input.readInt32();
+ break;
+ }
+ case 80: {
+ bitField0_ |= 0x00000008;
+ setterFlags_ = 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 {
+ if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
+ typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_);
+ }
+ if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
+ valueParameter_ = java.util.Collections.unmodifiableList(valueParameter_);
+ }
+ 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_Callable_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Callable_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public Callable parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new Callable(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ /**
+ * Protobuf enum {@code org.jetbrains.jet.descriptors.serialization.Callable.MemberKind}
+ */
+ public enum MemberKind
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * DECLARATION = 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.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public MemberKind findValueByNumber(int number) {
+ return MemberKind.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDescriptor().getEnumTypes().get(0);
+ }
+
+ private static final MemberKind[] VALUES = values();
+
+ public static MemberKind valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private MemberKind(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:org.jetbrains.jet.descriptors.serialization.Callable.MemberKind)
+ }
+
+ /**
+ * Protobuf enum {@code org.jetbrains.jet.descriptors.serialization.Callable.CallableKind}
+ */
+ public enum CallableKind
+ implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ * FUN = 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.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static com.google.protobuf.Internal.EnumLiteMap
+ internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public CallableKind findValueByNumber(int number) {
+ return CallableKind.valueOf(number);
+ }
+ };
+
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor
+ getValueDescriptor() {
+ return getDescriptor().getValues().get(index);
+ }
+ public final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptorForType() {
+ return getDescriptor();
+ }
+ public static final com.google.protobuf.Descriptors.EnumDescriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDescriptor().getEnumTypes().get(1);
+ }
+
+ private static final CallableKind[] VALUES = values();
+
+ public static CallableKind valueOf(
+ com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException(
+ "EnumValueDescriptor is not for this type.");
+ }
+ return VALUES[desc.getIndex()];
+ }
+
+ private final int index;
+ private final int value;
+
+ private CallableKind(int index, int value) {
+ this.index = index;
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:org.jetbrains.jet.descriptors.serialization.Callable.CallableKind)
+ }
+
+ public interface ValueParameterOrBuilder extends
+ com.google.protobuf.GeneratedMessage.
+ ExtendableMessageOrBuilder {
+
+ // optional int32 flags = 1;
+ /**
+ * optional 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.ExtendableBuilder builder) {
+ super(builder);
+ this.unknownFields = builder.getUnknownFields();
+ }
+ private ValueParameter(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
+ private static final ValueParameter defaultInstance;
+ public static ValueParameter getDefaultInstance() {
+ return defaultInstance;
+ }
+
+ public ValueParameter getDefaultInstanceForType() {
+ return defaultInstance;
+ }
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private ValueParameter(
+ 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 16: {
+ bitField0_ |= 0x00000002;
+ name_ = input.readInt32();
+ break;
+ }
+ case 26: {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ 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_ |= 0x00000004;
+ break;
+ }
+ case 34: {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ subBuilder = varargElementType_.toBuilder();
+ }
+ varargElementType_ = input.readMessage(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(varargElementType_);
+ varargElementType_ = 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.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Callable_ValueParameter_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Callable_ValueParameter_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ public ValueParameter parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new ValueParameter(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ private int bitField0_;
+ // optional int32 flags = 1;
+ public static final int FLAGS_FIELD_NUMBER = 1;
+ private int flags_;
+ /**
+ * optional 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
+ .ExtendableMessage.ExtensionWriter extensionWriter =
+ newExtensionWriter();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeInt32(1, flags_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeInt32(2, name_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeMessage(3, type_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeMessage(4, varargElementType_);
+ }
+ extensionWriter.writeUntil(200, output);
+ 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
+ .computeInt32Size(2, name_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(3, type_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, varargElementType_);
+ }
+ size += extensionsSerializedSize();
+ 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.Callable.ValueParameter parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter 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.Callable.ValueParameter parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter 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.Callable.ValueParameter parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter 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.Callable.ValueParameter parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter 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.Callable.ValueParameter parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter 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.Callable.ValueParameter 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.Callable.ValueParameter}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.ExtendableBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter, Builder> implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameterOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Callable_ValueParameter_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Callable_ValueParameter_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder.class);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getTypeFieldBuilder();
+ getVarargElementTypeFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ flags_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ name_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ if (typeBuilder_ == null) {
+ type_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ } else {
+ typeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000004);
+ if (varargElementTypeBuilder_ == null) {
+ varargElementType_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ } else {
+ varargElementTypeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000008);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Callable_ValueParameter_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.flags_ = flags_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.name_ = name_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ if (typeBuilder_ == null) {
+ result.type_ = type_;
+ } else {
+ result.type_ = typeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ if (varargElementTypeBuilder_ == null) {
+ result.varargElementType_ = varargElementType_;
+ } else {
+ result.varargElementType_ = varargElementTypeBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.getDefaultInstance()) return this;
+ if (other.hasFlags()) {
+ setFlags(other.getFlags());
+ }
+ if (other.hasName()) {
+ setName(other.getName());
+ }
+ if (other.hasType()) {
+ mergeType(other.getType());
+ }
+ if (other.hasVarargElementType()) {
+ mergeVarargElementType(other.getVarargElementType());
+ }
+ this.mergeExtensionFields(other);
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasName()) {
+
+ return false;
+ }
+ if (!hasType()) {
+
+ return false;
+ }
+ if (!getType().isInitialized()) {
+
+ return false;
+ }
+ if (hasVarargElementType()) {
+ if (!getVarargElementType().isInitialized()) {
+
+ return false;
+ }
+ }
+ if (!extensionsAreInitialized()) {
+
+ return false;
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // optional int32 flags = 1;
+ private int flags_ ;
+ /**
+ * optional 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.List typeParameter_;
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public java.util.List getTypeParameterList() {
+ return typeParameter_;
+ }
+ /**
+ * repeated .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.List 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 java.util.List getValueParameterList() {
+ 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 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
+ .ExtendableMessage.ExtensionWriter extensionWriter =
+ newExtensionWriter();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeInt32(1, flags_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeBytes(2, getExtraVisibilityBytes());
+ }
+ for (int i = 0; i < typeParameter_.size(); i++) {
+ output.writeMessage(4, typeParameter_.get(i));
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ output.writeMessage(5, receiverType_);
+ }
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ output.writeInt32(6, name_);
+ }
+ for (int i = 0; i < valueParameter_.size(); i++) {
+ output.writeMessage(7, valueParameter_.get(i));
+ }
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ output.writeMessage(8, returnType_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeInt32(9, getterFlags_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeInt32(10, setterFlags_);
+ }
+ extensionWriter.writeUntil(200, output);
+ 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());
+ }
+ for (int i = 0; i < typeParameter_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, typeParameter_.get(i));
+ }
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(5, receiverType_);
+ }
+ if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(6, name_);
+ }
+ for (int i = 0; i < valueParameter_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(7, valueParameter_.get(i));
+ }
+ if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(8, returnType_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(9, getterFlags_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(10, setterFlags_);
+ }
+ size += extensionsSerializedSize();
+ 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.Callable parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable 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.Callable parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable 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.Callable parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable 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.Callable parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable 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.Callable parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable 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.Callable 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.Callable}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.ExtendableBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable, Builder> implements org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.CallableOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Callable_descriptor;
+ }
+
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Callable_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.class, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.Builder.class);
+ }
+
+ // Construct using org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ getTypeParameterFieldBuilder();
+ getReceiverTypeFieldBuilder();
+ getValueParameterFieldBuilder();
+ getReturnTypeFieldBuilder();
+ }
+ }
+ private static Builder create() {
+ return new Builder();
+ }
+
+ public Builder clear() {
+ super.clear();
+ flags_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ extraVisibility_ = "";
+ bitField0_ = (bitField0_ & ~0x00000002);
+ getterFlags_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ setterFlags_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ if (typeParameterBuilder_ == null) {
+ typeParameter_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ typeParameterBuilder_.clear();
+ }
+ if (receiverTypeBuilder_ == null) {
+ receiverType_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ } else {
+ receiverTypeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000020);
+ name_ = 0;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ if (valueParameterBuilder_ == null) {
+ valueParameter_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000080);
+ } else {
+ valueParameterBuilder_.clear();
+ }
+ if (returnTypeBuilder_ == null) {
+ returnType_ = org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type.getDefaultInstance();
+ } else {
+ returnTypeBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000100);
+ return this;
+ }
+
+ public Builder clone() {
+ return create().mergeFrom(buildPartial());
+ }
+
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.internal_static_org_jetbrains_jet_descriptors_serialization_Callable_descriptor;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable getDefaultInstanceForType() {
+ return org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance();
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable build() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ public org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable buildPartial() {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable result = new org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable(this);
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ to_bitField0_ |= 0x00000001;
+ }
+ result.flags_ = flags_;
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.extraVisibility_ = extraVisibility_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.getterFlags_ = getterFlags_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.setterFlags_ = setterFlags_;
+ if (typeParameterBuilder_ == null) {
+ if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ typeParameter_ = java.util.Collections.unmodifiableList(typeParameter_);
+ bitField0_ = (bitField0_ & ~0x00000010);
+ }
+ result.typeParameter_ = typeParameter_;
+ } else {
+ result.typeParameter_ = typeParameterBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ to_bitField0_ |= 0x00000010;
+ }
+ if (receiverTypeBuilder_ == null) {
+ result.receiverType_ = receiverType_;
+ } else {
+ result.receiverType_ = receiverTypeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
+ to_bitField0_ |= 0x00000020;
+ }
+ result.name_ = name_;
+ if (valueParameterBuilder_ == null) {
+ if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ valueParameter_ = java.util.Collections.unmodifiableList(valueParameter_);
+ bitField0_ = (bitField0_ & ~0x00000080);
+ }
+ result.valueParameter_ = valueParameter_;
+ } else {
+ result.valueParameter_ = valueParameterBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
+ to_bitField0_ |= 0x00000040;
+ }
+ if (returnTypeBuilder_ == null) {
+ result.returnType_ = returnType_;
+ } else {
+ result.returnType_ = returnTypeBuilder_.build();
+ }
+ result.bitField0_ = to_bitField0_;
+ onBuilt();
+ return result;
+ }
+
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable) {
+ return mergeFrom((org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable other) {
+ if (other == org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.getDefaultInstance()) return this;
+ if (other.hasFlags()) {
+ setFlags(other.getFlags());
+ }
+ if (other.hasExtraVisibility()) {
+ bitField0_ |= 0x00000002;
+ extraVisibility_ = other.extraVisibility_;
+ onChanged();
+ }
+ if (other.hasGetterFlags()) {
+ setGetterFlags(other.getGetterFlags());
+ }
+ if (other.hasSetterFlags()) {
+ setSetterFlags(other.getSetterFlags());
+ }
+ if (typeParameterBuilder_ == null) {
+ if (!other.typeParameter_.isEmpty()) {
+ if (typeParameter_.isEmpty()) {
+ typeParameter_ = other.typeParameter_;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ } else {
+ ensureTypeParameterIsMutable();
+ typeParameter_.addAll(other.typeParameter_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.typeParameter_.isEmpty()) {
+ if (typeParameterBuilder_.isEmpty()) {
+ typeParameterBuilder_.dispose();
+ typeParameterBuilder_ = null;
+ typeParameter_ = other.typeParameter_;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ typeParameterBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getTypeParameterFieldBuilder() : null;
+ } else {
+ typeParameterBuilder_.addAllMessages(other.typeParameter_);
+ }
+ }
+ }
+ if (other.hasReceiverType()) {
+ mergeReceiverType(other.getReceiverType());
+ }
+ if (other.hasName()) {
+ setName(other.getName());
+ }
+ if (valueParameterBuilder_ == null) {
+ if (!other.valueParameter_.isEmpty()) {
+ if (valueParameter_.isEmpty()) {
+ valueParameter_ = other.valueParameter_;
+ bitField0_ = (bitField0_ & ~0x00000080);
+ } else {
+ ensureValueParameterIsMutable();
+ valueParameter_.addAll(other.valueParameter_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.valueParameter_.isEmpty()) {
+ if (valueParameterBuilder_.isEmpty()) {
+ valueParameterBuilder_.dispose();
+ valueParameterBuilder_ = null;
+ valueParameter_ = other.valueParameter_;
+ bitField0_ = (bitField0_ & ~0x00000080);
+ valueParameterBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
+ getValueParameterFieldBuilder() : null;
+ } else {
+ valueParameterBuilder_.addAllMessages(other.valueParameter_);
+ }
+ }
+ }
+ if (other.hasReturnType()) {
+ mergeReturnType(other.getReturnType());
+ }
+ this.mergeExtensionFields(other);
+ this.mergeUnknownFields(other.getUnknownFields());
+ return this;
+ }
+
+ public final boolean isInitialized() {
+ if (!hasName()) {
+
+ return false;
+ }
+ if (!hasReturnType()) {
+
+ return false;
+ }
+ for (int i = 0; i < getTypeParameterCount(); i++) {
+ if (!getTypeParameter(i).isInitialized()) {
+
+ return false;
+ }
+ }
+ if (hasReceiverType()) {
+ if (!getReceiverType().isInitialized()) {
+
+ return false;
+ }
+ }
+ for (int i = 0; i < getValueParameterCount(); i++) {
+ if (!getValueParameter(i).isInitialized()) {
+
+ return false;
+ }
+ }
+ if (!getReturnType().isInitialized()) {
+
+ return false;
+ }
+ if (!extensionsAreInitialized()) {
+
+ return false;
+ }
+ return true;
+ }
+
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+ private int bitField0_;
+
+ // optional int32 flags = 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 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.List typeParameter_ =
+ java.util.Collections.emptyList();
+ private void ensureTypeParameterIsMutable() {
+ if (!((bitField0_ & 0x00000010) == 0x00000010)) {
+ typeParameter_ = new java.util.ArrayList(typeParameter_);
+ bitField0_ |= 0x00000010;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder> typeParameterBuilder_;
+
+ /**
+ * repeated .org.jetbrains.jet.descriptors.serialization.TypeParameter type_parameter = 4;
+ */
+ public java.util.List getTypeParameterList() {
+ if (typeParameterBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(typeParameter_);
+ } else {
+ return typeParameterBuilder_.getMessageList();
+ }
+ }
+ /**
+ * repeated .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.List
+ getTypeParameterBuilderList() {
+ return getTypeParameterFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder>
+ getTypeParameterFieldBuilder() {
+ if (typeParameterBuilder_ == null) {
+ typeParameterBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameter.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.TypeParameterOrBuilder>(
+ typeParameter_,
+ ((bitField0_ & 0x00000010) == 0x00000010),
+ getParentForChildren(),
+ isClean());
+ typeParameter_ = null;
+ }
+ return typeParameterBuilder_;
+ }
+
+ // optional .org.jetbrains.jet.descriptors.serialization.Type receiver_type = 5;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type receiverType_ = 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> receiverTypeBuilder_;
+ /**
+ * optional .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.List valueParameter_ =
+ java.util.Collections.emptyList();
+ private void ensureValueParameterIsMutable() {
+ if (!((bitField0_ & 0x00000080) == 0x00000080)) {
+ valueParameter_ = new java.util.ArrayList(valueParameter_);
+ bitField0_ |= 0x00000080;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameterOrBuilder> valueParameterBuilder_;
+
+ /**
+ * 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 getValueParameterList() {
+ if (valueParameterBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(valueParameter_);
+ } else {
+ return valueParameterBuilder_.getMessageList();
+ }
+ }
+ /**
+ * 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
+ getValueParameterBuilderList() {
+ return getValueParameterFieldBuilder().getBuilderList();
+ }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameterOrBuilder>
+ getValueParameterFieldBuilder() {
+ if (valueParameterBuilder_ == null) {
+ valueParameterBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
+ org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameter.Builder, org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Callable.ValueParameterOrBuilder>(
+ valueParameter_,
+ ((bitField0_ & 0x00000080) == 0x00000080),
+ getParentForChildren(),
+ isClean());
+ valueParameter_ = null;
+ }
+ return valueParameterBuilder_;
+ }
+
+ // required .org.jetbrains.jet.descriptors.serialization.Type return_type = 8;
+ private org.jetbrains.jet.descriptors.serialization.DebugProtoBuf.Type returnType_ = 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> returnTypeBuilder_;
+ /**
+ * 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)
+}