1
|
|
2
|
|
3
|
|
4
|
package org.momut.ooas.codegen.ast.protobuf.gen;
|
5
|
|
6
|
public final class RecordedAstTraversal {
|
7
|
private RecordedAstTraversal() {}
|
8
|
public static void registerAllExtensions(
|
9
|
com.google.protobuf.ExtensionRegistry registry) {
|
10
|
}
|
11
|
|
12
|
|
13
|
|
14
|
public enum PBReturnType
|
15
|
implements com.google.protobuf.ProtocolMessageEnum {
|
16
|
|
17
|
|
18
|
|
19
|
type_voidPointer(0, 1),
|
20
|
|
21
|
|
22
|
|
23
|
type_boolean(1, 2),
|
24
|
;
|
25
|
|
26
|
|
27
|
|
28
|
|
29
|
public static final int type_voidPointer_VALUE = 1;
|
30
|
|
31
|
|
32
|
|
33
|
public static final int type_boolean_VALUE = 2;
|
34
|
|
35
|
|
36
|
@Override
|
37
|
public final int getNumber() { return value; }
|
38
|
|
39
|
public static PBReturnType valueOf(int value) {
|
40
|
switch (value) {
|
41
|
case 1: return type_voidPointer;
|
42
|
case 2: return type_boolean;
|
43
|
default: return null;
|
44
|
}
|
45
|
}
|
46
|
|
47
|
public static com.google.protobuf.Internal.EnumLiteMap<PBReturnType>
|
48
|
internalGetValueMap() {
|
49
|
return internalValueMap;
|
50
|
}
|
51
|
private static com.google.protobuf.Internal.EnumLiteMap<PBReturnType>
|
52
|
internalValueMap =
|
53
|
new com.google.protobuf.Internal.EnumLiteMap<PBReturnType>() {
|
54
|
@Override
|
55
|
public PBReturnType findValueByNumber(int number) {
|
56
|
return PBReturnType.valueOf(number);
|
57
|
}
|
58
|
};
|
59
|
|
60
|
@Override
|
61
|
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
62
|
getValueDescriptor() {
|
63
|
return getDescriptor().getValues().get(index);
|
64
|
}
|
65
|
@Override
|
66
|
public final com.google.protobuf.Descriptors.EnumDescriptor
|
67
|
getDescriptorForType() {
|
68
|
return getDescriptor();
|
69
|
}
|
70
|
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
71
|
getDescriptor() {
|
72
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.getDescriptor().getEnumTypes().get(0);
|
73
|
}
|
74
|
|
75
|
private static final PBReturnType[] VALUES = values();
|
76
|
|
77
|
public static PBReturnType valueOf(
|
78
|
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
79
|
if (desc.getType() != getDescriptor()) {
|
80
|
throw new java.lang.IllegalArgumentException(
|
81
|
"EnumValueDescriptor is not for this type.");
|
82
|
}
|
83
|
return VALUES[desc.getIndex()];
|
84
|
}
|
85
|
|
86
|
private final int index;
|
87
|
private final int value;
|
88
|
|
89
|
private PBReturnType(int index, int value) {
|
90
|
this.index = index;
|
91
|
this.value = value;
|
92
|
}
|
93
|
|
94
|
|
95
|
}
|
96
|
|
97
|
public interface PBParameterOrBuilder extends
|
98
|
|
99
|
com.google.protobuf.MessageOrBuilder {
|
100
|
|
101
|
|
102
|
|
103
|
|
104
|
|
105
|
|
106
|
|
107
|
|
108
|
boolean hasUint64Value();
|
109
|
|
110
|
|
111
|
|
112
|
|
113
|
|
114
|
|
115
|
|
116
|
long getUint64Value();
|
117
|
|
118
|
|
119
|
|
120
|
|
121
|
boolean hasLiteralValue();
|
122
|
|
123
|
|
124
|
|
125
|
java.lang.String getLiteralValue();
|
126
|
|
127
|
|
128
|
|
129
|
com.google.protobuf.ByteString
|
130
|
getLiteralValueBytes();
|
131
|
|
132
|
|
133
|
|
134
|
|
135
|
boolean hasBoolValue();
|
136
|
|
137
|
|
138
|
|
139
|
boolean getBoolValue();
|
140
|
|
141
|
|
142
|
|
143
|
|
144
|
boolean hasInt32Value();
|
145
|
|
146
|
|
147
|
|
148
|
int getInt32Value();
|
149
|
|
150
|
|
151
|
|
152
|
|
153
|
boolean hasUint32Value();
|
154
|
|
155
|
|
156
|
|
157
|
int getUint32Value();
|
158
|
}
|
159
|
|
160
|
|
161
|
|
162
|
public static final class PBParameter extends
|
163
|
com.google.protobuf.GeneratedMessage implements
|
164
|
|
165
|
PBParameterOrBuilder {
|
166
|
|
167
|
private PBParameter(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
168
|
super(builder);
|
169
|
this.unknownFields = builder.getUnknownFields();
|
170
|
}
|
171
|
private PBParameter(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
172
|
|
173
|
private static final PBParameter defaultInstance;
|
174
|
public static PBParameter getDefaultInstance() {
|
175
|
return defaultInstance;
|
176
|
}
|
177
|
|
178
|
@Override
|
179
|
public PBParameter getDefaultInstanceForType() {
|
180
|
return defaultInstance;
|
181
|
}
|
182
|
|
183
|
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
184
|
@java.lang.Override
|
185
|
public final com.google.protobuf.UnknownFieldSet
|
186
|
getUnknownFields() {
|
187
|
return this.unknownFields;
|
188
|
}
|
189
|
private PBParameter(
|
190
|
com.google.protobuf.CodedInputStream input,
|
191
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
192
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
193
|
initFields();
|
194
|
|
195
|
final com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
196
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
197
|
try {
|
198
|
boolean done = false;
|
199
|
while (!done) {
|
200
|
final int tag = input.readTag();
|
201
|
switch (tag) {
|
202
|
case 0:
|
203
|
done = true;
|
204
|
break;
|
205
|
default: {
|
206
|
if (!parseUnknownField(input, unknownFields,
|
207
|
extensionRegistry, tag)) {
|
208
|
done = true;
|
209
|
}
|
210
|
break;
|
211
|
}
|
212
|
case 8: {
|
213
|
bitField0_ |= 0x00000001;
|
214
|
uint64Value_ = input.readUInt64();
|
215
|
break;
|
216
|
}
|
217
|
case 18: {
|
218
|
final com.google.protobuf.ByteString bs = input.readBytes();
|
219
|
bitField0_ |= 0x00000002;
|
220
|
literalValue_ = bs;
|
221
|
break;
|
222
|
}
|
223
|
case 24: {
|
224
|
bitField0_ |= 0x00000004;
|
225
|
boolValue_ = input.readBool();
|
226
|
break;
|
227
|
}
|
228
|
case 32: {
|
229
|
bitField0_ |= 0x00000008;
|
230
|
int32Value_ = input.readInt32();
|
231
|
break;
|
232
|
}
|
233
|
case 40: {
|
234
|
bitField0_ |= 0x00000010;
|
235
|
uint32Value_ = input.readUInt32();
|
236
|
break;
|
237
|
}
|
238
|
}
|
239
|
}
|
240
|
} catch (final com.google.protobuf.InvalidProtocolBufferException e) {
|
241
|
throw e.setUnfinishedMessage(this);
|
242
|
} catch (final java.io.IOException e) {
|
243
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
244
|
e.getMessage()).setUnfinishedMessage(this);
|
245
|
} finally {
|
246
|
this.unknownFields = unknownFields.build();
|
247
|
makeExtensionsImmutable();
|
248
|
}
|
249
|
}
|
250
|
public static final com.google.protobuf.Descriptors.Descriptor
|
251
|
getDescriptor() {
|
252
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBParameter_descriptor;
|
253
|
}
|
254
|
|
255
|
@Override
|
256
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
257
|
internalGetFieldAccessorTable() {
|
258
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBParameter_fieldAccessorTable
|
259
|
.ensureFieldAccessorsInitialized(
|
260
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.class, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder.class);
|
261
|
}
|
262
|
|
263
|
public static com.google.protobuf.Parser<PBParameter> PARSER =
|
264
|
new com.google.protobuf.AbstractParser<PBParameter>() {
|
265
|
@Override
|
266
|
public PBParameter parsePartialFrom(
|
267
|
com.google.protobuf.CodedInputStream input,
|
268
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
269
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
270
|
return new PBParameter(input, extensionRegistry);
|
271
|
}
|
272
|
};
|
273
|
|
274
|
@java.lang.Override
|
275
|
public com.google.protobuf.Parser<PBParameter> getParserForType() {
|
276
|
return PARSER;
|
277
|
}
|
278
|
|
279
|
private int bitField0_;
|
280
|
public static final int UINT64_VALUE_FIELD_NUMBER = 1;
|
281
|
private long uint64Value_;
|
282
|
|
283
|
|
284
|
|
285
|
|
286
|
|
287
|
|
288
|
|
289
|
@Override
|
290
|
public boolean hasUint64Value() {
|
291
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
292
|
}
|
293
|
|
294
|
|
295
|
|
296
|
|
297
|
|
298
|
|
299
|
|
300
|
@Override
|
301
|
public long getUint64Value() {
|
302
|
return uint64Value_;
|
303
|
}
|
304
|
|
305
|
public static final int LITERAL_VALUE_FIELD_NUMBER = 2;
|
306
|
private java.lang.Object literalValue_;
|
307
|
|
308
|
|
309
|
|
310
|
@Override
|
311
|
public boolean hasLiteralValue() {
|
312
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
313
|
}
|
314
|
|
315
|
|
316
|
|
317
|
@Override
|
318
|
public java.lang.String getLiteralValue() {
|
319
|
final java.lang.Object ref = literalValue_;
|
320
|
if (ref instanceof java.lang.String) {
|
321
|
return (java.lang.String) ref;
|
322
|
} else {
|
323
|
final com.google.protobuf.ByteString bs =
|
324
|
(com.google.protobuf.ByteString) ref;
|
325
|
final java.lang.String s = bs.toStringUtf8();
|
326
|
if (bs.isValidUtf8()) {
|
327
|
literalValue_ = s;
|
328
|
}
|
329
|
return s;
|
330
|
}
|
331
|
}
|
332
|
|
333
|
|
334
|
|
335
|
@Override
|
336
|
public com.google.protobuf.ByteString
|
337
|
getLiteralValueBytes() {
|
338
|
final java.lang.Object ref = literalValue_;
|
339
|
if (ref instanceof java.lang.String) {
|
340
|
final com.google.protobuf.ByteString b =
|
341
|
com.google.protobuf.ByteString.copyFromUtf8(
|
342
|
(java.lang.String) ref);
|
343
|
literalValue_ = b;
|
344
|
return b;
|
345
|
} else {
|
346
|
return (com.google.protobuf.ByteString) ref;
|
347
|
}
|
348
|
}
|
349
|
|
350
|
public static final int BOOL_VALUE_FIELD_NUMBER = 3;
|
351
|
private boolean boolValue_;
|
352
|
|
353
|
|
354
|
|
355
|
@Override
|
356
|
public boolean hasBoolValue() {
|
357
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
358
|
}
|
359
|
|
360
|
|
361
|
|
362
|
@Override
|
363
|
public boolean getBoolValue() {
|
364
|
return boolValue_;
|
365
|
}
|
366
|
|
367
|
public static final int INT32_VALUE_FIELD_NUMBER = 4;
|
368
|
private int int32Value_;
|
369
|
|
370
|
|
371
|
|
372
|
@Override
|
373
|
public boolean hasInt32Value() {
|
374
|
return ((bitField0_ & 0x00000008) == 0x00000008);
|
375
|
}
|
376
|
|
377
|
|
378
|
|
379
|
@Override
|
380
|
public int getInt32Value() {
|
381
|
return int32Value_;
|
382
|
}
|
383
|
|
384
|
public static final int UINT32_VALUE_FIELD_NUMBER = 5;
|
385
|
private int uint32Value_;
|
386
|
|
387
|
|
388
|
|
389
|
@Override
|
390
|
public boolean hasUint32Value() {
|
391
|
return ((bitField0_ & 0x00000010) == 0x00000010);
|
392
|
}
|
393
|
|
394
|
|
395
|
|
396
|
@Override
|
397
|
public int getUint32Value() {
|
398
|
return uint32Value_;
|
399
|
}
|
400
|
|
401
|
private void initFields() {
|
402
|
uint64Value_ = 0L;
|
403
|
literalValue_ = "";
|
404
|
boolValue_ = false;
|
405
|
int32Value_ = 0;
|
406
|
uint32Value_ = 0;
|
407
|
}
|
408
|
private byte memoizedIsInitialized = -1;
|
409
|
@Override
|
410
|
public final boolean isInitialized() {
|
411
|
final byte isInitialized = memoizedIsInitialized;
|
412
|
if (isInitialized == 1) return true;
|
413
|
if (isInitialized == 0) return false;
|
414
|
|
415
|
memoizedIsInitialized = 1;
|
416
|
return true;
|
417
|
}
|
418
|
|
419
|
@Override
|
420
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
421
|
throws java.io.IOException {
|
422
|
getSerializedSize();
|
423
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
424
|
output.writeUInt64(1, uint64Value_);
|
425
|
}
|
426
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
427
|
output.writeBytes(2, getLiteralValueBytes());
|
428
|
}
|
429
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
430
|
output.writeBool(3, boolValue_);
|
431
|
}
|
432
|
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
433
|
output.writeInt32(4, int32Value_);
|
434
|
}
|
435
|
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
436
|
output.writeUInt32(5, uint32Value_);
|
437
|
}
|
438
|
getUnknownFields().writeTo(output);
|
439
|
}
|
440
|
|
441
|
private int memoizedSerializedSize = -1;
|
442
|
@Override
|
443
|
public int getSerializedSize() {
|
444
|
int size = memoizedSerializedSize;
|
445
|
if (size != -1) return size;
|
446
|
|
447
|
size = 0;
|
448
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
449
|
size += com.google.protobuf.CodedOutputStream
|
450
|
.computeUInt64Size(1, uint64Value_);
|
451
|
}
|
452
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
453
|
size += com.google.protobuf.CodedOutputStream
|
454
|
.computeBytesSize(2, getLiteralValueBytes());
|
455
|
}
|
456
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
457
|
size += com.google.protobuf.CodedOutputStream
|
458
|
.computeBoolSize(3, boolValue_);
|
459
|
}
|
460
|
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
461
|
size += com.google.protobuf.CodedOutputStream
|
462
|
.computeInt32Size(4, int32Value_);
|
463
|
}
|
464
|
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
465
|
size += com.google.protobuf.CodedOutputStream
|
466
|
.computeUInt32Size(5, uint32Value_);
|
467
|
}
|
468
|
size += getUnknownFields().getSerializedSize();
|
469
|
memoizedSerializedSize = size;
|
470
|
return size;
|
471
|
}
|
472
|
|
473
|
private static final long serialVersionUID = 0L;
|
474
|
@java.lang.Override
|
475
|
protected java.lang.Object writeReplace()
|
476
|
throws java.io.ObjectStreamException {
|
477
|
return super.writeReplace();
|
478
|
}
|
479
|
|
480
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parseFrom(
|
481
|
com.google.protobuf.ByteString data)
|
482
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
483
|
return PARSER.parseFrom(data);
|
484
|
}
|
485
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parseFrom(
|
486
|
com.google.protobuf.ByteString data,
|
487
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
488
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
489
|
return PARSER.parseFrom(data, extensionRegistry);
|
490
|
}
|
491
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parseFrom(byte[] data)
|
492
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
493
|
return PARSER.parseFrom(data);
|
494
|
}
|
495
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parseFrom(
|
496
|
byte[] data,
|
497
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
498
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
499
|
return PARSER.parseFrom(data, extensionRegistry);
|
500
|
}
|
501
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parseFrom(java.io.InputStream input)
|
502
|
throws java.io.IOException {
|
503
|
return PARSER.parseFrom(input);
|
504
|
}
|
505
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parseFrom(
|
506
|
java.io.InputStream input,
|
507
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
508
|
throws java.io.IOException {
|
509
|
return PARSER.parseFrom(input, extensionRegistry);
|
510
|
}
|
511
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parseDelimitedFrom(java.io.InputStream input)
|
512
|
throws java.io.IOException {
|
513
|
return PARSER.parseDelimitedFrom(input);
|
514
|
}
|
515
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parseDelimitedFrom(
|
516
|
java.io.InputStream input,
|
517
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
518
|
throws java.io.IOException {
|
519
|
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
520
|
}
|
521
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parseFrom(
|
522
|
com.google.protobuf.CodedInputStream input)
|
523
|
throws java.io.IOException {
|
524
|
return PARSER.parseFrom(input);
|
525
|
}
|
526
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parseFrom(
|
527
|
com.google.protobuf.CodedInputStream input,
|
528
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
529
|
throws java.io.IOException {
|
530
|
return PARSER.parseFrom(input, extensionRegistry);
|
531
|
}
|
532
|
|
533
|
public static Builder newBuilder() { return Builder.create(); }
|
534
|
@Override
|
535
|
public Builder newBuilderForType() { return newBuilder(); }
|
536
|
public static Builder newBuilder(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter prototype) {
|
537
|
return newBuilder().mergeFrom(prototype);
|
538
|
}
|
539
|
@Override
|
540
|
public Builder toBuilder() { return newBuilder(this); }
|
541
|
|
542
|
@java.lang.Override
|
543
|
protected Builder newBuilderForType(
|
544
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
545
|
final Builder builder = new Builder(parent);
|
546
|
return builder;
|
547
|
}
|
548
|
|
549
|
|
550
|
|
551
|
public static final class Builder extends
|
552
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
553
|
|
554
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameterOrBuilder {
|
555
|
public static final com.google.protobuf.Descriptors.Descriptor
|
556
|
getDescriptor() {
|
557
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBParameter_descriptor;
|
558
|
}
|
559
|
|
560
|
@Override
|
561
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
562
|
internalGetFieldAccessorTable() {
|
563
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBParameter_fieldAccessorTable
|
564
|
.ensureFieldAccessorsInitialized(
|
565
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.class, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder.class);
|
566
|
}
|
567
|
|
568
|
|
569
|
private Builder() {
|
570
|
maybeForceBuilderInitialization();
|
571
|
}
|
572
|
|
573
|
private Builder(
|
574
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
575
|
super(parent);
|
576
|
maybeForceBuilderInitialization();
|
577
|
}
|
578
|
private void maybeForceBuilderInitialization() {
|
579
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
580
|
}
|
581
|
}
|
582
|
private static Builder create() {
|
583
|
return new Builder();
|
584
|
}
|
585
|
|
586
|
@Override
|
587
|
public Builder clear() {
|
588
|
super.clear();
|
589
|
uint64Value_ = 0L;
|
590
|
bitField0_ = (bitField0_ & ~0x00000001);
|
591
|
literalValue_ = "";
|
592
|
bitField0_ = (bitField0_ & ~0x00000002);
|
593
|
boolValue_ = false;
|
594
|
bitField0_ = (bitField0_ & ~0x00000004);
|
595
|
int32Value_ = 0;
|
596
|
bitField0_ = (bitField0_ & ~0x00000008);
|
597
|
uint32Value_ = 0;
|
598
|
bitField0_ = (bitField0_ & ~0x00000010);
|
599
|
return this;
|
600
|
}
|
601
|
|
602
|
@Override
|
603
|
public Builder clone() {
|
604
|
return create().mergeFrom(buildPartial());
|
605
|
}
|
606
|
|
607
|
@Override
|
608
|
public com.google.protobuf.Descriptors.Descriptor
|
609
|
getDescriptorForType() {
|
610
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBParameter_descriptor;
|
611
|
}
|
612
|
|
613
|
@Override
|
614
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter getDefaultInstanceForType() {
|
615
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.getDefaultInstance();
|
616
|
}
|
617
|
|
618
|
@Override
|
619
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter build() {
|
620
|
final org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter result = buildPartial();
|
621
|
if (!result.isInitialized()) {
|
622
|
throw newUninitializedMessageException(result);
|
623
|
}
|
624
|
return result;
|
625
|
}
|
626
|
|
627
|
@Override
|
628
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter buildPartial() {
|
629
|
final org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter result = new org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter(this);
|
630
|
final int from_bitField0_ = bitField0_;
|
631
|
int to_bitField0_ = 0;
|
632
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
633
|
to_bitField0_ |= 0x00000001;
|
634
|
}
|
635
|
result.uint64Value_ = uint64Value_;
|
636
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
637
|
to_bitField0_ |= 0x00000002;
|
638
|
}
|
639
|
result.literalValue_ = literalValue_;
|
640
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
641
|
to_bitField0_ |= 0x00000004;
|
642
|
}
|
643
|
result.boolValue_ = boolValue_;
|
644
|
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
645
|
to_bitField0_ |= 0x00000008;
|
646
|
}
|
647
|
result.int32Value_ = int32Value_;
|
648
|
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
|
649
|
to_bitField0_ |= 0x00000010;
|
650
|
}
|
651
|
result.uint32Value_ = uint32Value_;
|
652
|
result.bitField0_ = to_bitField0_;
|
653
|
onBuilt();
|
654
|
return result;
|
655
|
}
|
656
|
|
657
|
@Override
|
658
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
659
|
if (other instanceof org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter) {
|
660
|
return mergeFrom((org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter)other);
|
661
|
} else {
|
662
|
super.mergeFrom(other);
|
663
|
return this;
|
664
|
}
|
665
|
}
|
666
|
|
667
|
public Builder mergeFrom(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter other) {
|
668
|
if (other == org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.getDefaultInstance()) return this;
|
669
|
if (other.hasUint64Value()) {
|
670
|
setUint64Value(other.getUint64Value());
|
671
|
}
|
672
|
if (other.hasLiteralValue()) {
|
673
|
bitField0_ |= 0x00000002;
|
674
|
literalValue_ = other.literalValue_;
|
675
|
onChanged();
|
676
|
}
|
677
|
if (other.hasBoolValue()) {
|
678
|
setBoolValue(other.getBoolValue());
|
679
|
}
|
680
|
if (other.hasInt32Value()) {
|
681
|
setInt32Value(other.getInt32Value());
|
682
|
}
|
683
|
if (other.hasUint32Value()) {
|
684
|
setUint32Value(other.getUint32Value());
|
685
|
}
|
686
|
this.mergeUnknownFields(other.getUnknownFields());
|
687
|
return this;
|
688
|
}
|
689
|
|
690
|
@Override
|
691
|
public final boolean isInitialized() {
|
692
|
return true;
|
693
|
}
|
694
|
|
695
|
@Override
|
696
|
public Builder mergeFrom(
|
697
|
com.google.protobuf.CodedInputStream input,
|
698
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
699
|
throws java.io.IOException {
|
700
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter parsedMessage = null;
|
701
|
try {
|
702
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
703
|
} catch (final com.google.protobuf.InvalidProtocolBufferException e) {
|
704
|
parsedMessage = (org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter) e.getUnfinishedMessage();
|
705
|
throw e;
|
706
|
} finally {
|
707
|
if (parsedMessage != null) {
|
708
|
mergeFrom(parsedMessage);
|
709
|
}
|
710
|
}
|
711
|
return this;
|
712
|
}
|
713
|
private int bitField0_;
|
714
|
|
715
|
private long uint64Value_ ;
|
716
|
|
717
|
|
718
|
|
719
|
|
720
|
|
721
|
|
722
|
|
723
|
@Override
|
724
|
public boolean hasUint64Value() {
|
725
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
726
|
}
|
727
|
|
728
|
|
729
|
|
730
|
|
731
|
|
732
|
|
733
|
|
734
|
@Override
|
735
|
public long getUint64Value() {
|
736
|
return uint64Value_;
|
737
|
}
|
738
|
|
739
|
|
740
|
|
741
|
|
742
|
|
743
|
|
744
|
|
745
|
public Builder setUint64Value(long value) {
|
746
|
bitField0_ |= 0x00000001;
|
747
|
uint64Value_ = value;
|
748
|
onChanged();
|
749
|
return this;
|
750
|
}
|
751
|
|
752
|
|
753
|
|
754
|
|
755
|
|
756
|
|
757
|
|
758
|
public Builder clearUint64Value() {
|
759
|
bitField0_ = (bitField0_ & ~0x00000001);
|
760
|
uint64Value_ = 0L;
|
761
|
onChanged();
|
762
|
return this;
|
763
|
}
|
764
|
|
765
|
private java.lang.Object literalValue_ = "";
|
766
|
|
767
|
|
768
|
|
769
|
@Override
|
770
|
public boolean hasLiteralValue() {
|
771
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
772
|
}
|
773
|
|
774
|
|
775
|
|
776
|
@Override
|
777
|
public java.lang.String getLiteralValue() {
|
778
|
final java.lang.Object ref = literalValue_;
|
779
|
if (!(ref instanceof java.lang.String)) {
|
780
|
final com.google.protobuf.ByteString bs =
|
781
|
(com.google.protobuf.ByteString) ref;
|
782
|
final java.lang.String s = bs.toStringUtf8();
|
783
|
if (bs.isValidUtf8()) {
|
784
|
literalValue_ = s;
|
785
|
}
|
786
|
return s;
|
787
|
} else {
|
788
|
return (java.lang.String) ref;
|
789
|
}
|
790
|
}
|
791
|
|
792
|
|
793
|
|
794
|
@Override
|
795
|
public com.google.protobuf.ByteString
|
796
|
getLiteralValueBytes() {
|
797
|
final java.lang.Object ref = literalValue_;
|
798
|
if (ref instanceof String) {
|
799
|
final com.google.protobuf.ByteString b =
|
800
|
com.google.protobuf.ByteString.copyFromUtf8(
|
801
|
(java.lang.String) ref);
|
802
|
literalValue_ = b;
|
803
|
return b;
|
804
|
} else {
|
805
|
return (com.google.protobuf.ByteString) ref;
|
806
|
}
|
807
|
}
|
808
|
|
809
|
|
810
|
|
811
|
public Builder setLiteralValue(
|
812
|
java.lang.String value) {
|
813
|
if (value == null) {
|
814
|
throw new NullPointerException();
|
815
|
}
|
816
|
bitField0_ |= 0x00000002;
|
817
|
literalValue_ = value;
|
818
|
onChanged();
|
819
|
return this;
|
820
|
}
|
821
|
|
822
|
|
823
|
|
824
|
public Builder clearLiteralValue() {
|
825
|
bitField0_ = (bitField0_ & ~0x00000002);
|
826
|
literalValue_ = getDefaultInstance().getLiteralValue();
|
827
|
onChanged();
|
828
|
return this;
|
829
|
}
|
830
|
|
831
|
|
832
|
|
833
|
public Builder setLiteralValueBytes(
|
834
|
com.google.protobuf.ByteString value) {
|
835
|
if (value == null) {
|
836
|
throw new NullPointerException();
|
837
|
}
|
838
|
bitField0_ |= 0x00000002;
|
839
|
literalValue_ = value;
|
840
|
onChanged();
|
841
|
return this;
|
842
|
}
|
843
|
|
844
|
private boolean boolValue_ ;
|
845
|
|
846
|
|
847
|
|
848
|
@Override
|
849
|
public boolean hasBoolValue() {
|
850
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
851
|
}
|
852
|
|
853
|
|
854
|
|
855
|
@Override
|
856
|
public boolean getBoolValue() {
|
857
|
return boolValue_;
|
858
|
}
|
859
|
|
860
|
|
861
|
|
862
|
public Builder setBoolValue(boolean value) {
|
863
|
bitField0_ |= 0x00000004;
|
864
|
boolValue_ = value;
|
865
|
onChanged();
|
866
|
return this;
|
867
|
}
|
868
|
|
869
|
|
870
|
|
871
|
public Builder clearBoolValue() {
|
872
|
bitField0_ = (bitField0_ & ~0x00000004);
|
873
|
boolValue_ = false;
|
874
|
onChanged();
|
875
|
return this;
|
876
|
}
|
877
|
|
878
|
private int int32Value_ ;
|
879
|
|
880
|
|
881
|
|
882
|
@Override
|
883
|
public boolean hasInt32Value() {
|
884
|
return ((bitField0_ & 0x00000008) == 0x00000008);
|
885
|
}
|
886
|
|
887
|
|
888
|
|
889
|
@Override
|
890
|
public int getInt32Value() {
|
891
|
return int32Value_;
|
892
|
}
|
893
|
|
894
|
|
895
|
|
896
|
public Builder setInt32Value(int value) {
|
897
|
bitField0_ |= 0x00000008;
|
898
|
int32Value_ = value;
|
899
|
onChanged();
|
900
|
return this;
|
901
|
}
|
902
|
|
903
|
|
904
|
|
905
|
public Builder clearInt32Value() {
|
906
|
bitField0_ = (bitField0_ & ~0x00000008);
|
907
|
int32Value_ = 0;
|
908
|
onChanged();
|
909
|
return this;
|
910
|
}
|
911
|
|
912
|
private int uint32Value_ ;
|
913
|
|
914
|
|
915
|
|
916
|
@Override
|
917
|
public boolean hasUint32Value() {
|
918
|
return ((bitField0_ & 0x00000010) == 0x00000010);
|
919
|
}
|
920
|
|
921
|
|
922
|
|
923
|
@Override
|
924
|
public int getUint32Value() {
|
925
|
return uint32Value_;
|
926
|
}
|
927
|
|
928
|
|
929
|
|
930
|
public Builder setUint32Value(int value) {
|
931
|
bitField0_ |= 0x00000010;
|
932
|
uint32Value_ = value;
|
933
|
onChanged();
|
934
|
return this;
|
935
|
}
|
936
|
|
937
|
|
938
|
|
939
|
public Builder clearUint32Value() {
|
940
|
bitField0_ = (bitField0_ & ~0x00000010);
|
941
|
uint32Value_ = 0;
|
942
|
onChanged();
|
943
|
return this;
|
944
|
}
|
945
|
|
946
|
|
947
|
}
|
948
|
|
949
|
static {
|
950
|
defaultInstance = new PBParameter(true);
|
951
|
defaultInstance.initFields();
|
952
|
}
|
953
|
|
954
|
|
955
|
}
|
956
|
|
957
|
public interface PBReturnValueOrBuilder extends
|
958
|
|
959
|
com.google.protobuf.MessageOrBuilder {
|
960
|
|
961
|
|
962
|
|
963
|
|
964
|
boolean hasReturnType();
|
965
|
|
966
|
|
967
|
|
968
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType getReturnType();
|
969
|
|
970
|
|
971
|
|
972
|
|
973
|
boolean hasReturnId();
|
974
|
|
975
|
|
976
|
|
977
|
long getReturnId();
|
978
|
}
|
979
|
|
980
|
|
981
|
|
982
|
public static final class PBReturnValue extends
|
983
|
com.google.protobuf.GeneratedMessage implements
|
984
|
|
985
|
PBReturnValueOrBuilder {
|
986
|
|
987
|
private PBReturnValue(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
988
|
super(builder);
|
989
|
this.unknownFields = builder.getUnknownFields();
|
990
|
}
|
991
|
private PBReturnValue(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
992
|
|
993
|
private static final PBReturnValue defaultInstance;
|
994
|
public static PBReturnValue getDefaultInstance() {
|
995
|
return defaultInstance;
|
996
|
}
|
997
|
|
998
|
@Override
|
999
|
public PBReturnValue getDefaultInstanceForType() {
|
1000
|
return defaultInstance;
|
1001
|
}
|
1002
|
|
1003
|
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
1004
|
@java.lang.Override
|
1005
|
public final com.google.protobuf.UnknownFieldSet
|
1006
|
getUnknownFields() {
|
1007
|
return this.unknownFields;
|
1008
|
}
|
1009
|
private PBReturnValue(
|
1010
|
com.google.protobuf.CodedInputStream input,
|
1011
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
1012
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
1013
|
initFields();
|
1014
|
|
1015
|
final com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
1016
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
1017
|
try {
|
1018
|
boolean done = false;
|
1019
|
while (!done) {
|
1020
|
final int tag = input.readTag();
|
1021
|
switch (tag) {
|
1022
|
case 0:
|
1023
|
done = true;
|
1024
|
break;
|
1025
|
default: {
|
1026
|
if (!parseUnknownField(input, unknownFields,
|
1027
|
extensionRegistry, tag)) {
|
1028
|
done = true;
|
1029
|
}
|
1030
|
break;
|
1031
|
}
|
1032
|
case 8: {
|
1033
|
final int rawValue = input.readEnum();
|
1034
|
final org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType value = org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType.valueOf(rawValue);
|
1035
|
if (value == null) {
|
1036
|
unknownFields.mergeVarintField(1, rawValue);
|
1037
|
} else {
|
1038
|
bitField0_ |= 0x00000001;
|
1039
|
returnType_ = value;
|
1040
|
}
|
1041
|
break;
|
1042
|
}
|
1043
|
case 16: {
|
1044
|
bitField0_ |= 0x00000002;
|
1045
|
returnId_ = input.readUInt64();
|
1046
|
break;
|
1047
|
}
|
1048
|
}
|
1049
|
}
|
1050
|
} catch (final com.google.protobuf.InvalidProtocolBufferException e) {
|
1051
|
throw e.setUnfinishedMessage(this);
|
1052
|
} catch (final java.io.IOException e) {
|
1053
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
1054
|
e.getMessage()).setUnfinishedMessage(this);
|
1055
|
} finally {
|
1056
|
this.unknownFields = unknownFields.build();
|
1057
|
makeExtensionsImmutable();
|
1058
|
}
|
1059
|
}
|
1060
|
public static final com.google.protobuf.Descriptors.Descriptor
|
1061
|
getDescriptor() {
|
1062
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBReturnValue_descriptor;
|
1063
|
}
|
1064
|
|
1065
|
@Override
|
1066
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
1067
|
internalGetFieldAccessorTable() {
|
1068
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBReturnValue_fieldAccessorTable
|
1069
|
.ensureFieldAccessorsInitialized(
|
1070
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.class, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.Builder.class);
|
1071
|
}
|
1072
|
|
1073
|
public static com.google.protobuf.Parser<PBReturnValue> PARSER =
|
1074
|
new com.google.protobuf.AbstractParser<PBReturnValue>() {
|
1075
|
@Override
|
1076
|
public PBReturnValue parsePartialFrom(
|
1077
|
com.google.protobuf.CodedInputStream input,
|
1078
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
1079
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
1080
|
return new PBReturnValue(input, extensionRegistry);
|
1081
|
}
|
1082
|
};
|
1083
|
|
1084
|
@java.lang.Override
|
1085
|
public com.google.protobuf.Parser<PBReturnValue> getParserForType() {
|
1086
|
return PARSER;
|
1087
|
}
|
1088
|
|
1089
|
private int bitField0_;
|
1090
|
public static final int RETURN_TYPE_FIELD_NUMBER = 1;
|
1091
|
private org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType returnType_;
|
1092
|
|
1093
|
|
1094
|
|
1095
|
@Override
|
1096
|
public boolean hasReturnType() {
|
1097
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
1098
|
}
|
1099
|
|
1100
|
|
1101
|
|
1102
|
@Override
|
1103
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType getReturnType() {
|
1104
|
return returnType_;
|
1105
|
}
|
1106
|
|
1107
|
public static final int RETURN_ID_FIELD_NUMBER = 2;
|
1108
|
private long returnId_;
|
1109
|
|
1110
|
|
1111
|
|
1112
|
@Override
|
1113
|
public boolean hasReturnId() {
|
1114
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
1115
|
}
|
1116
|
|
1117
|
|
1118
|
|
1119
|
@Override
|
1120
|
public long getReturnId() {
|
1121
|
return returnId_;
|
1122
|
}
|
1123
|
|
1124
|
private void initFields() {
|
1125
|
returnType_ = org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType.type_voidPointer;
|
1126
|
returnId_ = 0L;
|
1127
|
}
|
1128
|
private byte memoizedIsInitialized = -1;
|
1129
|
@Override
|
1130
|
public final boolean isInitialized() {
|
1131
|
final byte isInitialized = memoizedIsInitialized;
|
1132
|
if (isInitialized == 1) return true;
|
1133
|
if (isInitialized == 0) return false;
|
1134
|
|
1135
|
if (!hasReturnType()) {
|
1136
|
memoizedIsInitialized = 0;
|
1137
|
return false;
|
1138
|
}
|
1139
|
memoizedIsInitialized = 1;
|
1140
|
return true;
|
1141
|
}
|
1142
|
|
1143
|
@Override
|
1144
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
1145
|
throws java.io.IOException {
|
1146
|
getSerializedSize();
|
1147
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
1148
|
output.writeEnum(1, returnType_.getNumber());
|
1149
|
}
|
1150
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
1151
|
output.writeUInt64(2, returnId_);
|
1152
|
}
|
1153
|
getUnknownFields().writeTo(output);
|
1154
|
}
|
1155
|
|
1156
|
private int memoizedSerializedSize = -1;
|
1157
|
@Override
|
1158
|
public int getSerializedSize() {
|
1159
|
int size = memoizedSerializedSize;
|
1160
|
if (size != -1) return size;
|
1161
|
|
1162
|
size = 0;
|
1163
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
1164
|
size += com.google.protobuf.CodedOutputStream
|
1165
|
.computeEnumSize(1, returnType_.getNumber());
|
1166
|
}
|
1167
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
1168
|
size += com.google.protobuf.CodedOutputStream
|
1169
|
.computeUInt64Size(2, returnId_);
|
1170
|
}
|
1171
|
size += getUnknownFields().getSerializedSize();
|
1172
|
memoizedSerializedSize = size;
|
1173
|
return size;
|
1174
|
}
|
1175
|
|
1176
|
private static final long serialVersionUID = 0L;
|
1177
|
@java.lang.Override
|
1178
|
protected java.lang.Object writeReplace()
|
1179
|
throws java.io.ObjectStreamException {
|
1180
|
return super.writeReplace();
|
1181
|
}
|
1182
|
|
1183
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parseFrom(
|
1184
|
com.google.protobuf.ByteString data)
|
1185
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
1186
|
return PARSER.parseFrom(data);
|
1187
|
}
|
1188
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parseFrom(
|
1189
|
com.google.protobuf.ByteString data,
|
1190
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
1191
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
1192
|
return PARSER.parseFrom(data, extensionRegistry);
|
1193
|
}
|
1194
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parseFrom(byte[] data)
|
1195
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
1196
|
return PARSER.parseFrom(data);
|
1197
|
}
|
1198
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parseFrom(
|
1199
|
byte[] data,
|
1200
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
1201
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
1202
|
return PARSER.parseFrom(data, extensionRegistry);
|
1203
|
}
|
1204
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parseFrom(java.io.InputStream input)
|
1205
|
throws java.io.IOException {
|
1206
|
return PARSER.parseFrom(input);
|
1207
|
}
|
1208
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parseFrom(
|
1209
|
java.io.InputStream input,
|
1210
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
1211
|
throws java.io.IOException {
|
1212
|
return PARSER.parseFrom(input, extensionRegistry);
|
1213
|
}
|
1214
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parseDelimitedFrom(java.io.InputStream input)
|
1215
|
throws java.io.IOException {
|
1216
|
return PARSER.parseDelimitedFrom(input);
|
1217
|
}
|
1218
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parseDelimitedFrom(
|
1219
|
java.io.InputStream input,
|
1220
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
1221
|
throws java.io.IOException {
|
1222
|
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
1223
|
}
|
1224
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parseFrom(
|
1225
|
com.google.protobuf.CodedInputStream input)
|
1226
|
throws java.io.IOException {
|
1227
|
return PARSER.parseFrom(input);
|
1228
|
}
|
1229
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parseFrom(
|
1230
|
com.google.protobuf.CodedInputStream input,
|
1231
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
1232
|
throws java.io.IOException {
|
1233
|
return PARSER.parseFrom(input, extensionRegistry);
|
1234
|
}
|
1235
|
|
1236
|
public static Builder newBuilder() { return Builder.create(); }
|
1237
|
@Override
|
1238
|
public Builder newBuilderForType() { return newBuilder(); }
|
1239
|
public static Builder newBuilder(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue prototype) {
|
1240
|
return newBuilder().mergeFrom(prototype);
|
1241
|
}
|
1242
|
@Override
|
1243
|
public Builder toBuilder() { return newBuilder(this); }
|
1244
|
|
1245
|
@java.lang.Override
|
1246
|
protected Builder newBuilderForType(
|
1247
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
1248
|
final Builder builder = new Builder(parent);
|
1249
|
return builder;
|
1250
|
}
|
1251
|
|
1252
|
|
1253
|
|
1254
|
public static final class Builder extends
|
1255
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
1256
|
|
1257
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValueOrBuilder {
|
1258
|
public static final com.google.protobuf.Descriptors.Descriptor
|
1259
|
getDescriptor() {
|
1260
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBReturnValue_descriptor;
|
1261
|
}
|
1262
|
|
1263
|
@Override
|
1264
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
1265
|
internalGetFieldAccessorTable() {
|
1266
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBReturnValue_fieldAccessorTable
|
1267
|
.ensureFieldAccessorsInitialized(
|
1268
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.class, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.Builder.class);
|
1269
|
}
|
1270
|
|
1271
|
|
1272
|
private Builder() {
|
1273
|
maybeForceBuilderInitialization();
|
1274
|
}
|
1275
|
|
1276
|
private Builder(
|
1277
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
1278
|
super(parent);
|
1279
|
maybeForceBuilderInitialization();
|
1280
|
}
|
1281
|
private void maybeForceBuilderInitialization() {
|
1282
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
1283
|
}
|
1284
|
}
|
1285
|
private static Builder create() {
|
1286
|
return new Builder();
|
1287
|
}
|
1288
|
|
1289
|
@Override
|
1290
|
public Builder clear() {
|
1291
|
super.clear();
|
1292
|
returnType_ = org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType.type_voidPointer;
|
1293
|
bitField0_ = (bitField0_ & ~0x00000001);
|
1294
|
returnId_ = 0L;
|
1295
|
bitField0_ = (bitField0_ & ~0x00000002);
|
1296
|
return this;
|
1297
|
}
|
1298
|
|
1299
|
@Override
|
1300
|
public Builder clone() {
|
1301
|
return create().mergeFrom(buildPartial());
|
1302
|
}
|
1303
|
|
1304
|
@Override
|
1305
|
public com.google.protobuf.Descriptors.Descriptor
|
1306
|
getDescriptorForType() {
|
1307
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBReturnValue_descriptor;
|
1308
|
}
|
1309
|
|
1310
|
@Override
|
1311
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue getDefaultInstanceForType() {
|
1312
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.getDefaultInstance();
|
1313
|
}
|
1314
|
|
1315
|
@Override
|
1316
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue build() {
|
1317
|
final org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue result = buildPartial();
|
1318
|
if (!result.isInitialized()) {
|
1319
|
throw newUninitializedMessageException(result);
|
1320
|
}
|
1321
|
return result;
|
1322
|
}
|
1323
|
|
1324
|
@Override
|
1325
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue buildPartial() {
|
1326
|
final org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue result = new org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue(this);
|
1327
|
final int from_bitField0_ = bitField0_;
|
1328
|
int to_bitField0_ = 0;
|
1329
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
1330
|
to_bitField0_ |= 0x00000001;
|
1331
|
}
|
1332
|
result.returnType_ = returnType_;
|
1333
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
1334
|
to_bitField0_ |= 0x00000002;
|
1335
|
}
|
1336
|
result.returnId_ = returnId_;
|
1337
|
result.bitField0_ = to_bitField0_;
|
1338
|
onBuilt();
|
1339
|
return result;
|
1340
|
}
|
1341
|
|
1342
|
@Override
|
1343
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
1344
|
if (other instanceof org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue) {
|
1345
|
return mergeFrom((org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue)other);
|
1346
|
} else {
|
1347
|
super.mergeFrom(other);
|
1348
|
return this;
|
1349
|
}
|
1350
|
}
|
1351
|
|
1352
|
public Builder mergeFrom(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue other) {
|
1353
|
if (other == org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.getDefaultInstance()) return this;
|
1354
|
if (other.hasReturnType()) {
|
1355
|
setReturnType(other.getReturnType());
|
1356
|
}
|
1357
|
if (other.hasReturnId()) {
|
1358
|
setReturnId(other.getReturnId());
|
1359
|
}
|
1360
|
this.mergeUnknownFields(other.getUnknownFields());
|
1361
|
return this;
|
1362
|
}
|
1363
|
|
1364
|
@Override
|
1365
|
public final boolean isInitialized() {
|
1366
|
if (!hasReturnType()) {
|
1367
|
|
1368
|
return false;
|
1369
|
}
|
1370
|
return true;
|
1371
|
}
|
1372
|
|
1373
|
@Override
|
1374
|
public Builder mergeFrom(
|
1375
|
com.google.protobuf.CodedInputStream input,
|
1376
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
1377
|
throws java.io.IOException {
|
1378
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue parsedMessage = null;
|
1379
|
try {
|
1380
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
1381
|
} catch (final com.google.protobuf.InvalidProtocolBufferException e) {
|
1382
|
parsedMessage = (org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue) e.getUnfinishedMessage();
|
1383
|
throw e;
|
1384
|
} finally {
|
1385
|
if (parsedMessage != null) {
|
1386
|
mergeFrom(parsedMessage);
|
1387
|
}
|
1388
|
}
|
1389
|
return this;
|
1390
|
}
|
1391
|
private int bitField0_;
|
1392
|
|
1393
|
private org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType returnType_ = org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType.type_voidPointer;
|
1394
|
|
1395
|
|
1396
|
|
1397
|
@Override
|
1398
|
public boolean hasReturnType() {
|
1399
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
1400
|
}
|
1401
|
|
1402
|
|
1403
|
|
1404
|
@Override
|
1405
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType getReturnType() {
|
1406
|
return returnType_;
|
1407
|
}
|
1408
|
|
1409
|
|
1410
|
|
1411
|
public Builder setReturnType(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType value) {
|
1412
|
if (value == null) {
|
1413
|
throw new NullPointerException();
|
1414
|
}
|
1415
|
bitField0_ |= 0x00000001;
|
1416
|
returnType_ = value;
|
1417
|
onChanged();
|
1418
|
return this;
|
1419
|
}
|
1420
|
|
1421
|
|
1422
|
|
1423
|
public Builder clearReturnType() {
|
1424
|
bitField0_ = (bitField0_ & ~0x00000001);
|
1425
|
returnType_ = org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnType.type_voidPointer;
|
1426
|
onChanged();
|
1427
|
return this;
|
1428
|
}
|
1429
|
|
1430
|
private long returnId_ ;
|
1431
|
|
1432
|
|
1433
|
|
1434
|
@Override
|
1435
|
public boolean hasReturnId() {
|
1436
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
1437
|
}
|
1438
|
|
1439
|
|
1440
|
|
1441
|
@Override
|
1442
|
public long getReturnId() {
|
1443
|
return returnId_;
|
1444
|
}
|
1445
|
|
1446
|
|
1447
|
|
1448
|
public Builder setReturnId(long value) {
|
1449
|
bitField0_ |= 0x00000002;
|
1450
|
returnId_ = value;
|
1451
|
onChanged();
|
1452
|
return this;
|
1453
|
}
|
1454
|
|
1455
|
|
1456
|
|
1457
|
public Builder clearReturnId() {
|
1458
|
bitField0_ = (bitField0_ & ~0x00000002);
|
1459
|
returnId_ = 0L;
|
1460
|
onChanged();
|
1461
|
return this;
|
1462
|
}
|
1463
|
|
1464
|
|
1465
|
}
|
1466
|
|
1467
|
static {
|
1468
|
defaultInstance = new PBReturnValue(true);
|
1469
|
defaultInstance.initFields();
|
1470
|
}
|
1471
|
|
1472
|
|
1473
|
}
|
1474
|
|
1475
|
public interface PBFunctionCallOrBuilder extends
|
1476
|
|
1477
|
com.google.protobuf.MessageOrBuilder {
|
1478
|
|
1479
|
|
1480
|
|
1481
|
|
1482
|
boolean hasAdd();
|
1483
|
|
1484
|
|
1485
|
|
1486
|
org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd getAdd();
|
1487
|
|
1488
|
|
1489
|
|
1490
|
|
1491
|
boolean hasAllocate();
|
1492
|
|
1493
|
|
1494
|
|
1495
|
org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation getAllocate();
|
1496
|
|
1497
|
|
1498
|
|
1499
|
|
1500
|
boolean hasIdentifier();
|
1501
|
|
1502
|
|
1503
|
|
1504
|
org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers getIdentifier();
|
1505
|
|
1506
|
|
1507
|
|
1508
|
|
1509
|
boolean hasType();
|
1510
|
|
1511
|
|
1512
|
|
1513
|
org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes getType();
|
1514
|
|
1515
|
|
1516
|
|
1517
|
|
1518
|
boolean hasStatement();
|
1519
|
|
1520
|
|
1521
|
|
1522
|
org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements getStatement();
|
1523
|
|
1524
|
|
1525
|
|
1526
|
|
1527
|
boolean hasExpression();
|
1528
|
|
1529
|
|
1530
|
|
1531
|
org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions getExpression();
|
1532
|
|
1533
|
|
1534
|
|
1535
|
|
1536
|
java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter>
|
1537
|
getParametersList();
|
1538
|
|
1539
|
|
1540
|
|
1541
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter getParameters(int index);
|
1542
|
|
1543
|
|
1544
|
|
1545
|
int getParametersCount();
|
1546
|
|
1547
|
|
1548
|
|
1549
|
java.util.List<? extends org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameterOrBuilder>
|
1550
|
getParametersOrBuilderList();
|
1551
|
|
1552
|
|
1553
|
|
1554
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameterOrBuilder getParametersOrBuilder(
|
1555
|
int index);
|
1556
|
|
1557
|
|
1558
|
|
1559
|
|
1560
|
boolean hasReturnValue();
|
1561
|
|
1562
|
|
1563
|
|
1564
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue getReturnValue();
|
1565
|
|
1566
|
|
1567
|
|
1568
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValueOrBuilder getReturnValueOrBuilder();
|
1569
|
}
|
1570
|
|
1571
|
|
1572
|
|
1573
|
public static final class PBFunctionCall extends
|
1574
|
com.google.protobuf.GeneratedMessage implements
|
1575
|
|
1576
|
PBFunctionCallOrBuilder {
|
1577
|
|
1578
|
private PBFunctionCall(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
1579
|
super(builder);
|
1580
|
this.unknownFields = builder.getUnknownFields();
|
1581
|
}
|
1582
|
private PBFunctionCall(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
1583
|
|
1584
|
private static final PBFunctionCall defaultInstance;
|
1585
|
public static PBFunctionCall getDefaultInstance() {
|
1586
|
return defaultInstance;
|
1587
|
}
|
1588
|
|
1589
|
@Override
|
1590
|
public PBFunctionCall getDefaultInstanceForType() {
|
1591
|
return defaultInstance;
|
1592
|
}
|
1593
|
|
1594
|
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
1595
|
@java.lang.Override
|
1596
|
public final com.google.protobuf.UnknownFieldSet
|
1597
|
getUnknownFields() {
|
1598
|
return this.unknownFields;
|
1599
|
}
|
1600
|
private PBFunctionCall(
|
1601
|
com.google.protobuf.CodedInputStream input,
|
1602
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
1603
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
1604
|
initFields();
|
1605
|
int mutable_bitField0_ = 0;
|
1606
|
final com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
1607
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
1608
|
try {
|
1609
|
boolean done = false;
|
1610
|
while (!done) {
|
1611
|
final int tag = input.readTag();
|
1612
|
switch (tag) {
|
1613
|
case 0:
|
1614
|
done = true;
|
1615
|
break;
|
1616
|
default: {
|
1617
|
if (!parseUnknownField(input, unknownFields,
|
1618
|
extensionRegistry, tag)) {
|
1619
|
done = true;
|
1620
|
}
|
1621
|
break;
|
1622
|
}
|
1623
|
case 8: {
|
1624
|
final int rawValue = input.readEnum();
|
1625
|
final org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd value = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd.valueOf(rawValue);
|
1626
|
if (value == null) {
|
1627
|
unknownFields.mergeVarintField(1, rawValue);
|
1628
|
} else {
|
1629
|
bitField0_ |= 0x00000001;
|
1630
|
add_ = value;
|
1631
|
}
|
1632
|
break;
|
1633
|
}
|
1634
|
case 16: {
|
1635
|
final int rawValue = input.readEnum();
|
1636
|
final org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation value = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation.valueOf(rawValue);
|
1637
|
if (value == null) {
|
1638
|
unknownFields.mergeVarintField(2, rawValue);
|
1639
|
} else {
|
1640
|
bitField0_ |= 0x00000002;
|
1641
|
allocate_ = value;
|
1642
|
}
|
1643
|
break;
|
1644
|
}
|
1645
|
case 24: {
|
1646
|
final int rawValue = input.readEnum();
|
1647
|
final org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers value = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers.valueOf(rawValue);
|
1648
|
if (value == null) {
|
1649
|
unknownFields.mergeVarintField(3, rawValue);
|
1650
|
} else {
|
1651
|
bitField0_ |= 0x00000004;
|
1652
|
identifier_ = value;
|
1653
|
}
|
1654
|
break;
|
1655
|
}
|
1656
|
case 32: {
|
1657
|
final int rawValue = input.readEnum();
|
1658
|
final org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes value = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes.valueOf(rawValue);
|
1659
|
if (value == null) {
|
1660
|
unknownFields.mergeVarintField(4, rawValue);
|
1661
|
} else {
|
1662
|
bitField0_ |= 0x00000008;
|
1663
|
type_ = value;
|
1664
|
}
|
1665
|
break;
|
1666
|
}
|
1667
|
case 40: {
|
1668
|
final int rawValue = input.readEnum();
|
1669
|
final org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements value = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements.valueOf(rawValue);
|
1670
|
if (value == null) {
|
1671
|
unknownFields.mergeVarintField(5, rawValue);
|
1672
|
} else {
|
1673
|
bitField0_ |= 0x00000010;
|
1674
|
statement_ = value;
|
1675
|
}
|
1676
|
break;
|
1677
|
}
|
1678
|
case 48: {
|
1679
|
final int rawValue = input.readEnum();
|
1680
|
final org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions value = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions.valueOf(rawValue);
|
1681
|
if (value == null) {
|
1682
|
unknownFields.mergeVarintField(6, rawValue);
|
1683
|
} else {
|
1684
|
bitField0_ |= 0x00000020;
|
1685
|
expression_ = value;
|
1686
|
}
|
1687
|
break;
|
1688
|
}
|
1689
|
case 58: {
|
1690
|
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
|
1691
|
parameters_ = new java.util.ArrayList<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter>();
|
1692
|
mutable_bitField0_ |= 0x00000040;
|
1693
|
}
|
1694
|
parameters_.add(input.readMessage(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.PARSER, extensionRegistry));
|
1695
|
break;
|
1696
|
}
|
1697
|
case 66: {
|
1698
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.Builder subBuilder = null;
|
1699
|
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
1700
|
subBuilder = returnValue_.toBuilder();
|
1701
|
}
|
1702
|
returnValue_ = input.readMessage(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.PARSER, extensionRegistry);
|
1703
|
if (subBuilder != null) {
|
1704
|
subBuilder.mergeFrom(returnValue_);
|
1705
|
returnValue_ = subBuilder.buildPartial();
|
1706
|
}
|
1707
|
bitField0_ |= 0x00000040;
|
1708
|
break;
|
1709
|
}
|
1710
|
}
|
1711
|
}
|
1712
|
} catch (final com.google.protobuf.InvalidProtocolBufferException e) {
|
1713
|
throw e.setUnfinishedMessage(this);
|
1714
|
} catch (final java.io.IOException e) {
|
1715
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
1716
|
e.getMessage()).setUnfinishedMessage(this);
|
1717
|
} finally {
|
1718
|
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
|
1719
|
parameters_ = java.util.Collections.unmodifiableList(parameters_);
|
1720
|
}
|
1721
|
this.unknownFields = unknownFields.build();
|
1722
|
makeExtensionsImmutable();
|
1723
|
}
|
1724
|
}
|
1725
|
public static final com.google.protobuf.Descriptors.Descriptor
|
1726
|
getDescriptor() {
|
1727
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBFunctionCall_descriptor;
|
1728
|
}
|
1729
|
|
1730
|
@Override
|
1731
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
1732
|
internalGetFieldAccessorTable() {
|
1733
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBFunctionCall_fieldAccessorTable
|
1734
|
.ensureFieldAccessorsInitialized(
|
1735
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.class, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder.class);
|
1736
|
}
|
1737
|
|
1738
|
public static com.google.protobuf.Parser<PBFunctionCall> PARSER =
|
1739
|
new com.google.protobuf.AbstractParser<PBFunctionCall>() {
|
1740
|
@Override
|
1741
|
public PBFunctionCall parsePartialFrom(
|
1742
|
com.google.protobuf.CodedInputStream input,
|
1743
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
1744
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
1745
|
return new PBFunctionCall(input, extensionRegistry);
|
1746
|
}
|
1747
|
};
|
1748
|
|
1749
|
@java.lang.Override
|
1750
|
public com.google.protobuf.Parser<PBFunctionCall> getParserForType() {
|
1751
|
return PARSER;
|
1752
|
}
|
1753
|
|
1754
|
private int bitField0_;
|
1755
|
public static final int ADD_FIELD_NUMBER = 1;
|
1756
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd add_;
|
1757
|
|
1758
|
|
1759
|
|
1760
|
@Override
|
1761
|
public boolean hasAdd() {
|
1762
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
1763
|
}
|
1764
|
|
1765
|
|
1766
|
|
1767
|
@Override
|
1768
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd getAdd() {
|
1769
|
return add_;
|
1770
|
}
|
1771
|
|
1772
|
public static final int ALLOCATE_FIELD_NUMBER = 2;
|
1773
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation allocate_;
|
1774
|
|
1775
|
|
1776
|
|
1777
|
@Override
|
1778
|
public boolean hasAllocate() {
|
1779
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
1780
|
}
|
1781
|
|
1782
|
|
1783
|
|
1784
|
@Override
|
1785
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation getAllocate() {
|
1786
|
return allocate_;
|
1787
|
}
|
1788
|
|
1789
|
public static final int IDENTIFIER_FIELD_NUMBER = 3;
|
1790
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers identifier_;
|
1791
|
|
1792
|
|
1793
|
|
1794
|
@Override
|
1795
|
public boolean hasIdentifier() {
|
1796
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
1797
|
}
|
1798
|
|
1799
|
|
1800
|
|
1801
|
@Override
|
1802
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers getIdentifier() {
|
1803
|
return identifier_;
|
1804
|
}
|
1805
|
|
1806
|
public static final int TYPE_FIELD_NUMBER = 4;
|
1807
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes type_;
|
1808
|
|
1809
|
|
1810
|
|
1811
|
@Override
|
1812
|
public boolean hasType() {
|
1813
|
return ((bitField0_ & 0x00000008) == 0x00000008);
|
1814
|
}
|
1815
|
|
1816
|
|
1817
|
|
1818
|
@Override
|
1819
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes getType() {
|
1820
|
return type_;
|
1821
|
}
|
1822
|
|
1823
|
public static final int STATEMENT_FIELD_NUMBER = 5;
|
1824
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements statement_;
|
1825
|
|
1826
|
|
1827
|
|
1828
|
@Override
|
1829
|
public boolean hasStatement() {
|
1830
|
return ((bitField0_ & 0x00000010) == 0x00000010);
|
1831
|
}
|
1832
|
|
1833
|
|
1834
|
|
1835
|
@Override
|
1836
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements getStatement() {
|
1837
|
return statement_;
|
1838
|
}
|
1839
|
|
1840
|
public static final int EXPRESSION_FIELD_NUMBER = 6;
|
1841
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions expression_;
|
1842
|
|
1843
|
|
1844
|
|
1845
|
@Override
|
1846
|
public boolean hasExpression() {
|
1847
|
return ((bitField0_ & 0x00000020) == 0x00000020);
|
1848
|
}
|
1849
|
|
1850
|
|
1851
|
|
1852
|
@Override
|
1853
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions getExpression() {
|
1854
|
return expression_;
|
1855
|
}
|
1856
|
|
1857
|
public static final int PARAMETERS_FIELD_NUMBER = 7;
|
1858
|
private java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter> parameters_;
|
1859
|
|
1860
|
|
1861
|
|
1862
|
@Override
|
1863
|
public java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter> getParametersList() {
|
1864
|
return parameters_;
|
1865
|
}
|
1866
|
|
1867
|
|
1868
|
|
1869
|
@Override
|
1870
|
public java.util.List<? extends org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameterOrBuilder>
|
1871
|
getParametersOrBuilderList() {
|
1872
|
return parameters_;
|
1873
|
}
|
1874
|
|
1875
|
|
1876
|
|
1877
|
@Override
|
1878
|
public int getParametersCount() {
|
1879
|
return parameters_.size();
|
1880
|
}
|
1881
|
|
1882
|
|
1883
|
|
1884
|
@Override
|
1885
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter getParameters(int index) {
|
1886
|
return parameters_.get(index);
|
1887
|
}
|
1888
|
|
1889
|
|
1890
|
|
1891
|
@Override
|
1892
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameterOrBuilder getParametersOrBuilder(
|
1893
|
int index) {
|
1894
|
return parameters_.get(index);
|
1895
|
}
|
1896
|
|
1897
|
public static final int RETURN_VALUE_FIELD_NUMBER = 8;
|
1898
|
private org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue returnValue_;
|
1899
|
|
1900
|
|
1901
|
|
1902
|
@Override
|
1903
|
public boolean hasReturnValue() {
|
1904
|
return ((bitField0_ & 0x00000040) == 0x00000040);
|
1905
|
}
|
1906
|
|
1907
|
|
1908
|
|
1909
|
@Override
|
1910
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue getReturnValue() {
|
1911
|
return returnValue_;
|
1912
|
}
|
1913
|
|
1914
|
|
1915
|
|
1916
|
@Override
|
1917
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValueOrBuilder getReturnValueOrBuilder() {
|
1918
|
return returnValue_;
|
1919
|
}
|
1920
|
|
1921
|
private void initFields() {
|
1922
|
add_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd.TIRESIAS_ADD_IDENTIFIERTOLIST;
|
1923
|
allocate_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation.TIRESIAS_CREATE_IDENTIFIER;
|
1924
|
identifier_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers.TIRESIAS_INIT_ENUMIDENTIFIER;
|
1925
|
type_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes.TIRESIAS_INIT_INTTYPE;
|
1926
|
statement_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements.TIRESIAS_INIT_SKIP;
|
1927
|
expression_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions.TIRESIAS_INIT_TYPEEXPRESSION;
|
1928
|
parameters_ = java.util.Collections.emptyList();
|
1929
|
returnValue_ = org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.getDefaultInstance();
|
1930
|
}
|
1931
|
private byte memoizedIsInitialized = -1;
|
1932
|
@Override
|
1933
|
public final boolean isInitialized() {
|
1934
|
final byte isInitialized = memoizedIsInitialized;
|
1935
|
if (isInitialized == 1) return true;
|
1936
|
if (isInitialized == 0) return false;
|
1937
|
|
1938
|
if (!hasReturnValue()) {
|
1939
|
memoizedIsInitialized = 0;
|
1940
|
return false;
|
1941
|
}
|
1942
|
if (!getReturnValue().isInitialized()) {
|
1943
|
memoizedIsInitialized = 0;
|
1944
|
return false;
|
1945
|
}
|
1946
|
memoizedIsInitialized = 1;
|
1947
|
return true;
|
1948
|
}
|
1949
|
|
1950
|
@Override
|
1951
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
1952
|
throws java.io.IOException {
|
1953
|
getSerializedSize();
|
1954
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
1955
|
output.writeEnum(1, add_.getNumber());
|
1956
|
}
|
1957
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
1958
|
output.writeEnum(2, allocate_.getNumber());
|
1959
|
}
|
1960
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
1961
|
output.writeEnum(3, identifier_.getNumber());
|
1962
|
}
|
1963
|
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
1964
|
output.writeEnum(4, type_.getNumber());
|
1965
|
}
|
1966
|
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
1967
|
output.writeEnum(5, statement_.getNumber());
|
1968
|
}
|
1969
|
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
1970
|
output.writeEnum(6, expression_.getNumber());
|
1971
|
}
|
1972
|
for (int i = 0; i < parameters_.size(); i++) {
|
1973
|
output.writeMessage(7, parameters_.get(i));
|
1974
|
}
|
1975
|
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
1976
|
output.writeMessage(8, returnValue_);
|
1977
|
}
|
1978
|
getUnknownFields().writeTo(output);
|
1979
|
}
|
1980
|
|
1981
|
private int memoizedSerializedSize = -1;
|
1982
|
@Override
|
1983
|
public int getSerializedSize() {
|
1984
|
int size = memoizedSerializedSize;
|
1985
|
if (size != -1) return size;
|
1986
|
|
1987
|
size = 0;
|
1988
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
1989
|
size += com.google.protobuf.CodedOutputStream
|
1990
|
.computeEnumSize(1, add_.getNumber());
|
1991
|
}
|
1992
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
1993
|
size += com.google.protobuf.CodedOutputStream
|
1994
|
.computeEnumSize(2, allocate_.getNumber());
|
1995
|
}
|
1996
|
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
1997
|
size += com.google.protobuf.CodedOutputStream
|
1998
|
.computeEnumSize(3, identifier_.getNumber());
|
1999
|
}
|
2000
|
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
2001
|
size += com.google.protobuf.CodedOutputStream
|
2002
|
.computeEnumSize(4, type_.getNumber());
|
2003
|
}
|
2004
|
if (((bitField0_ & 0x00000010) == 0x00000010)) {
|
2005
|
size += com.google.protobuf.CodedOutputStream
|
2006
|
.computeEnumSize(5, statement_.getNumber());
|
2007
|
}
|
2008
|
if (((bitField0_ & 0x00000020) == 0x00000020)) {
|
2009
|
size += com.google.protobuf.CodedOutputStream
|
2010
|
.computeEnumSize(6, expression_.getNumber());
|
2011
|
}
|
2012
|
for (int i = 0; i < parameters_.size(); i++) {
|
2013
|
size += com.google.protobuf.CodedOutputStream
|
2014
|
.computeMessageSize(7, parameters_.get(i));
|
2015
|
}
|
2016
|
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
2017
|
size += com.google.protobuf.CodedOutputStream
|
2018
|
.computeMessageSize(8, returnValue_);
|
2019
|
}
|
2020
|
size += getUnknownFields().getSerializedSize();
|
2021
|
memoizedSerializedSize = size;
|
2022
|
return size;
|
2023
|
}
|
2024
|
|
2025
|
private static final long serialVersionUID = 0L;
|
2026
|
@java.lang.Override
|
2027
|
protected java.lang.Object writeReplace()
|
2028
|
throws java.io.ObjectStreamException {
|
2029
|
return super.writeReplace();
|
2030
|
}
|
2031
|
|
2032
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parseFrom(
|
2033
|
com.google.protobuf.ByteString data)
|
2034
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2035
|
return PARSER.parseFrom(data);
|
2036
|
}
|
2037
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parseFrom(
|
2038
|
com.google.protobuf.ByteString data,
|
2039
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
2040
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2041
|
return PARSER.parseFrom(data, extensionRegistry);
|
2042
|
}
|
2043
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parseFrom(byte[] data)
|
2044
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2045
|
return PARSER.parseFrom(data);
|
2046
|
}
|
2047
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parseFrom(
|
2048
|
byte[] data,
|
2049
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
2050
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
2051
|
return PARSER.parseFrom(data, extensionRegistry);
|
2052
|
}
|
2053
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parseFrom(java.io.InputStream input)
|
2054
|
throws java.io.IOException {
|
2055
|
return PARSER.parseFrom(input);
|
2056
|
}
|
2057
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parseFrom(
|
2058
|
java.io.InputStream input,
|
2059
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
2060
|
throws java.io.IOException {
|
2061
|
return PARSER.parseFrom(input, extensionRegistry);
|
2062
|
}
|
2063
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parseDelimitedFrom(java.io.InputStream input)
|
2064
|
throws java.io.IOException {
|
2065
|
return PARSER.parseDelimitedFrom(input);
|
2066
|
}
|
2067
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parseDelimitedFrom(
|
2068
|
java.io.InputStream input,
|
2069
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
2070
|
throws java.io.IOException {
|
2071
|
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
2072
|
}
|
2073
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parseFrom(
|
2074
|
com.google.protobuf.CodedInputStream input)
|
2075
|
throws java.io.IOException {
|
2076
|
return PARSER.parseFrom(input);
|
2077
|
}
|
2078
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parseFrom(
|
2079
|
com.google.protobuf.CodedInputStream input,
|
2080
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
2081
|
throws java.io.IOException {
|
2082
|
return PARSER.parseFrom(input, extensionRegistry);
|
2083
|
}
|
2084
|
|
2085
|
public static Builder newBuilder() { return Builder.create(); }
|
2086
|
@Override
|
2087
|
public Builder newBuilderForType() { return newBuilder(); }
|
2088
|
public static Builder newBuilder(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall prototype) {
|
2089
|
return newBuilder().mergeFrom(prototype);
|
2090
|
}
|
2091
|
@Override
|
2092
|
public Builder toBuilder() { return newBuilder(this); }
|
2093
|
|
2094
|
@java.lang.Override
|
2095
|
protected Builder newBuilderForType(
|
2096
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
2097
|
final Builder builder = new Builder(parent);
|
2098
|
return builder;
|
2099
|
}
|
2100
|
|
2101
|
|
2102
|
|
2103
|
public static final class Builder extends
|
2104
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
2105
|
|
2106
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCallOrBuilder {
|
2107
|
public static final com.google.protobuf.Descriptors.Descriptor
|
2108
|
getDescriptor() {
|
2109
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBFunctionCall_descriptor;
|
2110
|
}
|
2111
|
|
2112
|
@Override
|
2113
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
2114
|
internalGetFieldAccessorTable() {
|
2115
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBFunctionCall_fieldAccessorTable
|
2116
|
.ensureFieldAccessorsInitialized(
|
2117
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.class, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder.class);
|
2118
|
}
|
2119
|
|
2120
|
|
2121
|
private Builder() {
|
2122
|
maybeForceBuilderInitialization();
|
2123
|
}
|
2124
|
|
2125
|
private Builder(
|
2126
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
2127
|
super(parent);
|
2128
|
maybeForceBuilderInitialization();
|
2129
|
}
|
2130
|
private void maybeForceBuilderInitialization() {
|
2131
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
2132
|
getParametersFieldBuilder();
|
2133
|
getReturnValueFieldBuilder();
|
2134
|
}
|
2135
|
}
|
2136
|
private static Builder create() {
|
2137
|
return new Builder();
|
2138
|
}
|
2139
|
|
2140
|
@Override
|
2141
|
public Builder clear() {
|
2142
|
super.clear();
|
2143
|
add_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd.TIRESIAS_ADD_IDENTIFIERTOLIST;
|
2144
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2145
|
allocate_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation.TIRESIAS_CREATE_IDENTIFIER;
|
2146
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2147
|
identifier_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers.TIRESIAS_INIT_ENUMIDENTIFIER;
|
2148
|
bitField0_ = (bitField0_ & ~0x00000004);
|
2149
|
type_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes.TIRESIAS_INIT_INTTYPE;
|
2150
|
bitField0_ = (bitField0_ & ~0x00000008);
|
2151
|
statement_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements.TIRESIAS_INIT_SKIP;
|
2152
|
bitField0_ = (bitField0_ & ~0x00000010);
|
2153
|
expression_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions.TIRESIAS_INIT_TYPEEXPRESSION;
|
2154
|
bitField0_ = (bitField0_ & ~0x00000020);
|
2155
|
if (parametersBuilder_ == null) {
|
2156
|
parameters_ = java.util.Collections.emptyList();
|
2157
|
bitField0_ = (bitField0_ & ~0x00000040);
|
2158
|
} else {
|
2159
|
parametersBuilder_.clear();
|
2160
|
}
|
2161
|
if (returnValueBuilder_ == null) {
|
2162
|
returnValue_ = org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.getDefaultInstance();
|
2163
|
} else {
|
2164
|
returnValueBuilder_.clear();
|
2165
|
}
|
2166
|
bitField0_ = (bitField0_ & ~0x00000080);
|
2167
|
return this;
|
2168
|
}
|
2169
|
|
2170
|
@Override
|
2171
|
public Builder clone() {
|
2172
|
return create().mergeFrom(buildPartial());
|
2173
|
}
|
2174
|
|
2175
|
@Override
|
2176
|
public com.google.protobuf.Descriptors.Descriptor
|
2177
|
getDescriptorForType() {
|
2178
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBFunctionCall_descriptor;
|
2179
|
}
|
2180
|
|
2181
|
@Override
|
2182
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall getDefaultInstanceForType() {
|
2183
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.getDefaultInstance();
|
2184
|
}
|
2185
|
|
2186
|
@Override
|
2187
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall build() {
|
2188
|
final org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall result = buildPartial();
|
2189
|
if (!result.isInitialized()) {
|
2190
|
throw newUninitializedMessageException(result);
|
2191
|
}
|
2192
|
return result;
|
2193
|
}
|
2194
|
|
2195
|
@Override
|
2196
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall buildPartial() {
|
2197
|
final org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall result = new org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall(this);
|
2198
|
final int from_bitField0_ = bitField0_;
|
2199
|
int to_bitField0_ = 0;
|
2200
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
2201
|
to_bitField0_ |= 0x00000001;
|
2202
|
}
|
2203
|
result.add_ = add_;
|
2204
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
2205
|
to_bitField0_ |= 0x00000002;
|
2206
|
}
|
2207
|
result.allocate_ = allocate_;
|
2208
|
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
|
2209
|
to_bitField0_ |= 0x00000004;
|
2210
|
}
|
2211
|
result.identifier_ = identifier_;
|
2212
|
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
|
2213
|
to_bitField0_ |= 0x00000008;
|
2214
|
}
|
2215
|
result.type_ = type_;
|
2216
|
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
|
2217
|
to_bitField0_ |= 0x00000010;
|
2218
|
}
|
2219
|
result.statement_ = statement_;
|
2220
|
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
|
2221
|
to_bitField0_ |= 0x00000020;
|
2222
|
}
|
2223
|
result.expression_ = expression_;
|
2224
|
if (parametersBuilder_ == null) {
|
2225
|
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
2226
|
parameters_ = java.util.Collections.unmodifiableList(parameters_);
|
2227
|
bitField0_ = (bitField0_ & ~0x00000040);
|
2228
|
}
|
2229
|
result.parameters_ = parameters_;
|
2230
|
} else {
|
2231
|
result.parameters_ = parametersBuilder_.build();
|
2232
|
}
|
2233
|
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
|
2234
|
to_bitField0_ |= 0x00000040;
|
2235
|
}
|
2236
|
if (returnValueBuilder_ == null) {
|
2237
|
result.returnValue_ = returnValue_;
|
2238
|
} else {
|
2239
|
result.returnValue_ = returnValueBuilder_.build();
|
2240
|
}
|
2241
|
result.bitField0_ = to_bitField0_;
|
2242
|
onBuilt();
|
2243
|
return result;
|
2244
|
}
|
2245
|
|
2246
|
@Override
|
2247
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
2248
|
if (other instanceof org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall) {
|
2249
|
return mergeFrom((org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall)other);
|
2250
|
} else {
|
2251
|
super.mergeFrom(other);
|
2252
|
return this;
|
2253
|
}
|
2254
|
}
|
2255
|
|
2256
|
public Builder mergeFrom(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall other) {
|
2257
|
if (other == org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.getDefaultInstance()) return this;
|
2258
|
if (other.hasAdd()) {
|
2259
|
setAdd(other.getAdd());
|
2260
|
}
|
2261
|
if (other.hasAllocate()) {
|
2262
|
setAllocate(other.getAllocate());
|
2263
|
}
|
2264
|
if (other.hasIdentifier()) {
|
2265
|
setIdentifier(other.getIdentifier());
|
2266
|
}
|
2267
|
if (other.hasType()) {
|
2268
|
setType(other.getType());
|
2269
|
}
|
2270
|
if (other.hasStatement()) {
|
2271
|
setStatement(other.getStatement());
|
2272
|
}
|
2273
|
if (other.hasExpression()) {
|
2274
|
setExpression(other.getExpression());
|
2275
|
}
|
2276
|
if (parametersBuilder_ == null) {
|
2277
|
if (!other.parameters_.isEmpty()) {
|
2278
|
if (parameters_.isEmpty()) {
|
2279
|
parameters_ = other.parameters_;
|
2280
|
bitField0_ = (bitField0_ & ~0x00000040);
|
2281
|
} else {
|
2282
|
ensureParametersIsMutable();
|
2283
|
parameters_.addAll(other.parameters_);
|
2284
|
}
|
2285
|
onChanged();
|
2286
|
}
|
2287
|
} else {
|
2288
|
if (!other.parameters_.isEmpty()) {
|
2289
|
if (parametersBuilder_.isEmpty()) {
|
2290
|
parametersBuilder_.dispose();
|
2291
|
parametersBuilder_ = null;
|
2292
|
parameters_ = other.parameters_;
|
2293
|
bitField0_ = (bitField0_ & ~0x00000040);
|
2294
|
parametersBuilder_ =
|
2295
|
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
2296
|
getParametersFieldBuilder() : null;
|
2297
|
} else {
|
2298
|
parametersBuilder_.addAllMessages(other.parameters_);
|
2299
|
}
|
2300
|
}
|
2301
|
}
|
2302
|
if (other.hasReturnValue()) {
|
2303
|
mergeReturnValue(other.getReturnValue());
|
2304
|
}
|
2305
|
this.mergeUnknownFields(other.getUnknownFields());
|
2306
|
return this;
|
2307
|
}
|
2308
|
|
2309
|
@Override
|
2310
|
public final boolean isInitialized() {
|
2311
|
if (!hasReturnValue()) {
|
2312
|
|
2313
|
return false;
|
2314
|
}
|
2315
|
if (!getReturnValue().isInitialized()) {
|
2316
|
|
2317
|
return false;
|
2318
|
}
|
2319
|
return true;
|
2320
|
}
|
2321
|
|
2322
|
@Override
|
2323
|
public Builder mergeFrom(
|
2324
|
com.google.protobuf.CodedInputStream input,
|
2325
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
2326
|
throws java.io.IOException {
|
2327
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall parsedMessage = null;
|
2328
|
try {
|
2329
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
2330
|
} catch (final com.google.protobuf.InvalidProtocolBufferException e) {
|
2331
|
parsedMessage = (org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall) e.getUnfinishedMessage();
|
2332
|
throw e;
|
2333
|
} finally {
|
2334
|
if (parsedMessage != null) {
|
2335
|
mergeFrom(parsedMessage);
|
2336
|
}
|
2337
|
}
|
2338
|
return this;
|
2339
|
}
|
2340
|
private int bitField0_;
|
2341
|
|
2342
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd add_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd.TIRESIAS_ADD_IDENTIFIERTOLIST;
|
2343
|
|
2344
|
|
2345
|
|
2346
|
@Override
|
2347
|
public boolean hasAdd() {
|
2348
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
2349
|
}
|
2350
|
|
2351
|
|
2352
|
|
2353
|
@Override
|
2354
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd getAdd() {
|
2355
|
return add_;
|
2356
|
}
|
2357
|
|
2358
|
|
2359
|
|
2360
|
public Builder setAdd(org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd value) {
|
2361
|
if (value == null) {
|
2362
|
throw new NullPointerException();
|
2363
|
}
|
2364
|
bitField0_ |= 0x00000001;
|
2365
|
add_ = value;
|
2366
|
onChanged();
|
2367
|
return this;
|
2368
|
}
|
2369
|
|
2370
|
|
2371
|
|
2372
|
public Builder clearAdd() {
|
2373
|
bitField0_ = (bitField0_ & ~0x00000001);
|
2374
|
add_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAdd.TIRESIAS_ADD_IDENTIFIERTOLIST;
|
2375
|
onChanged();
|
2376
|
return this;
|
2377
|
}
|
2378
|
|
2379
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation allocate_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation.TIRESIAS_CREATE_IDENTIFIER;
|
2380
|
|
2381
|
|
2382
|
|
2383
|
@Override
|
2384
|
public boolean hasAllocate() {
|
2385
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
2386
|
}
|
2387
|
|
2388
|
|
2389
|
|
2390
|
@Override
|
2391
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation getAllocate() {
|
2392
|
return allocate_;
|
2393
|
}
|
2394
|
|
2395
|
|
2396
|
|
2397
|
public Builder setAllocate(org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation value) {
|
2398
|
if (value == null) {
|
2399
|
throw new NullPointerException();
|
2400
|
}
|
2401
|
bitField0_ |= 0x00000002;
|
2402
|
allocate_ = value;
|
2403
|
onChanged();
|
2404
|
return this;
|
2405
|
}
|
2406
|
|
2407
|
|
2408
|
|
2409
|
public Builder clearAllocate() {
|
2410
|
bitField0_ = (bitField0_ & ~0x00000002);
|
2411
|
allocate_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBAllocation.TIRESIAS_CREATE_IDENTIFIER;
|
2412
|
onChanged();
|
2413
|
return this;
|
2414
|
}
|
2415
|
|
2416
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers identifier_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers.TIRESIAS_INIT_ENUMIDENTIFIER;
|
2417
|
|
2418
|
|
2419
|
|
2420
|
@Override
|
2421
|
public boolean hasIdentifier() {
|
2422
|
return ((bitField0_ & 0x00000004) == 0x00000004);
|
2423
|
}
|
2424
|
|
2425
|
|
2426
|
|
2427
|
@Override
|
2428
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers getIdentifier() {
|
2429
|
return identifier_;
|
2430
|
}
|
2431
|
|
2432
|
|
2433
|
|
2434
|
public Builder setIdentifier(org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers value) {
|
2435
|
if (value == null) {
|
2436
|
throw new NullPointerException();
|
2437
|
}
|
2438
|
bitField0_ |= 0x00000004;
|
2439
|
identifier_ = value;
|
2440
|
onChanged();
|
2441
|
return this;
|
2442
|
}
|
2443
|
|
2444
|
|
2445
|
|
2446
|
public Builder clearIdentifier() {
|
2447
|
bitField0_ = (bitField0_ & ~0x00000004);
|
2448
|
identifier_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBIdentifiers.TIRESIAS_INIT_ENUMIDENTIFIER;
|
2449
|
onChanged();
|
2450
|
return this;
|
2451
|
}
|
2452
|
|
2453
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes type_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes.TIRESIAS_INIT_INTTYPE;
|
2454
|
|
2455
|
|
2456
|
|
2457
|
@Override
|
2458
|
public boolean hasType() {
|
2459
|
return ((bitField0_ & 0x00000008) == 0x00000008);
|
2460
|
}
|
2461
|
|
2462
|
|
2463
|
|
2464
|
@Override
|
2465
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes getType() {
|
2466
|
return type_;
|
2467
|
}
|
2468
|
|
2469
|
|
2470
|
|
2471
|
public Builder setType(org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes value) {
|
2472
|
if (value == null) {
|
2473
|
throw new NullPointerException();
|
2474
|
}
|
2475
|
bitField0_ |= 0x00000008;
|
2476
|
type_ = value;
|
2477
|
onChanged();
|
2478
|
return this;
|
2479
|
}
|
2480
|
|
2481
|
|
2482
|
|
2483
|
public Builder clearType() {
|
2484
|
bitField0_ = (bitField0_ & ~0x00000008);
|
2485
|
type_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBTypes.TIRESIAS_INIT_INTTYPE;
|
2486
|
onChanged();
|
2487
|
return this;
|
2488
|
}
|
2489
|
|
2490
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements statement_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements.TIRESIAS_INIT_SKIP;
|
2491
|
|
2492
|
|
2493
|
|
2494
|
@Override
|
2495
|
public boolean hasStatement() {
|
2496
|
return ((bitField0_ & 0x00000010) == 0x00000010);
|
2497
|
}
|
2498
|
|
2499
|
|
2500
|
|
2501
|
@Override
|
2502
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements getStatement() {
|
2503
|
return statement_;
|
2504
|
}
|
2505
|
|
2506
|
|
2507
|
|
2508
|
public Builder setStatement(org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements value) {
|
2509
|
if (value == null) {
|
2510
|
throw new NullPointerException();
|
2511
|
}
|
2512
|
bitField0_ |= 0x00000010;
|
2513
|
statement_ = value;
|
2514
|
onChanged();
|
2515
|
return this;
|
2516
|
}
|
2517
|
|
2518
|
|
2519
|
|
2520
|
public Builder clearStatement() {
|
2521
|
bitField0_ = (bitField0_ & ~0x00000010);
|
2522
|
statement_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBStatements.TIRESIAS_INIT_SKIP;
|
2523
|
onChanged();
|
2524
|
return this;
|
2525
|
}
|
2526
|
|
2527
|
private org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions expression_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions.TIRESIAS_INIT_TYPEEXPRESSION;
|
2528
|
|
2529
|
|
2530
|
|
2531
|
@Override
|
2532
|
public boolean hasExpression() {
|
2533
|
return ((bitField0_ & 0x00000020) == 0x00000020);
|
2534
|
}
|
2535
|
|
2536
|
|
2537
|
|
2538
|
@Override
|
2539
|
public org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions getExpression() {
|
2540
|
return expression_;
|
2541
|
}
|
2542
|
|
2543
|
|
2544
|
|
2545
|
public Builder setExpression(org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions value) {
|
2546
|
if (value == null) {
|
2547
|
throw new NullPointerException();
|
2548
|
}
|
2549
|
bitField0_ |= 0x00000020;
|
2550
|
expression_ = value;
|
2551
|
onChanged();
|
2552
|
return this;
|
2553
|
}
|
2554
|
|
2555
|
|
2556
|
|
2557
|
public Builder clearExpression() {
|
2558
|
bitField0_ = (bitField0_ & ~0x00000020);
|
2559
|
expression_ = org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.PBExpressions.TIRESIAS_INIT_TYPEEXPRESSION;
|
2560
|
onChanged();
|
2561
|
return this;
|
2562
|
}
|
2563
|
|
2564
|
private java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter> parameters_ =
|
2565
|
java.util.Collections.emptyList();
|
2566
|
private void ensureParametersIsMutable() {
|
2567
|
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
|
2568
|
parameters_ = new java.util.ArrayList<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter>(parameters_);
|
2569
|
bitField0_ |= 0x00000040;
|
2570
|
}
|
2571
|
}
|
2572
|
|
2573
|
private com.google.protobuf.RepeatedFieldBuilder<
|
2574
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameterOrBuilder> parametersBuilder_;
|
2575
|
|
2576
|
|
2577
|
|
2578
|
|
2579
|
@Override
|
2580
|
public java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter> getParametersList() {
|
2581
|
if (parametersBuilder_ == null) {
|
2582
|
return java.util.Collections.unmodifiableList(parameters_);
|
2583
|
} else {
|
2584
|
return parametersBuilder_.getMessageList();
|
2585
|
}
|
2586
|
}
|
2587
|
|
2588
|
|
2589
|
|
2590
|
@Override
|
2591
|
public int getParametersCount() {
|
2592
|
if (parametersBuilder_ == null) {
|
2593
|
return parameters_.size();
|
2594
|
} else {
|
2595
|
return parametersBuilder_.getCount();
|
2596
|
}
|
2597
|
}
|
2598
|
|
2599
|
|
2600
|
|
2601
|
@Override
|
2602
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter getParameters(int index) {
|
2603
|
if (parametersBuilder_ == null) {
|
2604
|
return parameters_.get(index);
|
2605
|
} else {
|
2606
|
return parametersBuilder_.getMessage(index);
|
2607
|
}
|
2608
|
}
|
2609
|
|
2610
|
|
2611
|
|
2612
|
public Builder setParameters(
|
2613
|
int index, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter value) {
|
2614
|
if (parametersBuilder_ == null) {
|
2615
|
if (value == null) {
|
2616
|
throw new NullPointerException();
|
2617
|
}
|
2618
|
ensureParametersIsMutable();
|
2619
|
parameters_.set(index, value);
|
2620
|
onChanged();
|
2621
|
} else {
|
2622
|
parametersBuilder_.setMessage(index, value);
|
2623
|
}
|
2624
|
return this;
|
2625
|
}
|
2626
|
|
2627
|
|
2628
|
|
2629
|
public Builder setParameters(
|
2630
|
int index, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder builderForValue) {
|
2631
|
if (parametersBuilder_ == null) {
|
2632
|
ensureParametersIsMutable();
|
2633
|
parameters_.set(index, builderForValue.build());
|
2634
|
onChanged();
|
2635
|
} else {
|
2636
|
parametersBuilder_.setMessage(index, builderForValue.build());
|
2637
|
}
|
2638
|
return this;
|
2639
|
}
|
2640
|
|
2641
|
|
2642
|
|
2643
|
public Builder addParameters(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter value) {
|
2644
|
if (parametersBuilder_ == null) {
|
2645
|
if (value == null) {
|
2646
|
throw new NullPointerException();
|
2647
|
}
|
2648
|
ensureParametersIsMutable();
|
2649
|
parameters_.add(value);
|
2650
|
onChanged();
|
2651
|
} else {
|
2652
|
parametersBuilder_.addMessage(value);
|
2653
|
}
|
2654
|
return this;
|
2655
|
}
|
2656
|
|
2657
|
|
2658
|
|
2659
|
public Builder addParameters(
|
2660
|
int index, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter value) {
|
2661
|
if (parametersBuilder_ == null) {
|
2662
|
if (value == null) {
|
2663
|
throw new NullPointerException();
|
2664
|
}
|
2665
|
ensureParametersIsMutable();
|
2666
|
parameters_.add(index, value);
|
2667
|
onChanged();
|
2668
|
} else {
|
2669
|
parametersBuilder_.addMessage(index, value);
|
2670
|
}
|
2671
|
return this;
|
2672
|
}
|
2673
|
|
2674
|
|
2675
|
|
2676
|
public Builder addParameters(
|
2677
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder builderForValue) {
|
2678
|
if (parametersBuilder_ == null) {
|
2679
|
ensureParametersIsMutable();
|
2680
|
parameters_.add(builderForValue.build());
|
2681
|
onChanged();
|
2682
|
} else {
|
2683
|
parametersBuilder_.addMessage(builderForValue.build());
|
2684
|
}
|
2685
|
return this;
|
2686
|
}
|
2687
|
|
2688
|
|
2689
|
|
2690
|
public Builder addParameters(
|
2691
|
int index, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder builderForValue) {
|
2692
|
if (parametersBuilder_ == null) {
|
2693
|
ensureParametersIsMutable();
|
2694
|
parameters_.add(index, builderForValue.build());
|
2695
|
onChanged();
|
2696
|
} else {
|
2697
|
parametersBuilder_.addMessage(index, builderForValue.build());
|
2698
|
}
|
2699
|
return this;
|
2700
|
}
|
2701
|
|
2702
|
|
2703
|
|
2704
|
public Builder addAllParameters(
|
2705
|
java.lang.Iterable<? extends org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter> values) {
|
2706
|
if (parametersBuilder_ == null) {
|
2707
|
ensureParametersIsMutable();
|
2708
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
2709
|
values, parameters_);
|
2710
|
onChanged();
|
2711
|
} else {
|
2712
|
parametersBuilder_.addAllMessages(values);
|
2713
|
}
|
2714
|
return this;
|
2715
|
}
|
2716
|
|
2717
|
|
2718
|
|
2719
|
public Builder clearParameters() {
|
2720
|
if (parametersBuilder_ == null) {
|
2721
|
parameters_ = java.util.Collections.emptyList();
|
2722
|
bitField0_ = (bitField0_ & ~0x00000040);
|
2723
|
onChanged();
|
2724
|
} else {
|
2725
|
parametersBuilder_.clear();
|
2726
|
}
|
2727
|
return this;
|
2728
|
}
|
2729
|
|
2730
|
|
2731
|
|
2732
|
public Builder removeParameters(int index) {
|
2733
|
if (parametersBuilder_ == null) {
|
2734
|
ensureParametersIsMutable();
|
2735
|
parameters_.remove(index);
|
2736
|
onChanged();
|
2737
|
} else {
|
2738
|
parametersBuilder_.remove(index);
|
2739
|
}
|
2740
|
return this;
|
2741
|
}
|
2742
|
|
2743
|
|
2744
|
|
2745
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder getParametersBuilder(
|
2746
|
int index) {
|
2747
|
return getParametersFieldBuilder().getBuilder(index);
|
2748
|
}
|
2749
|
|
2750
|
|
2751
|
|
2752
|
@Override
|
2753
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameterOrBuilder getParametersOrBuilder(
|
2754
|
int index) {
|
2755
|
if (parametersBuilder_ == null) {
|
2756
|
return parameters_.get(index); } else {
|
2757
|
return parametersBuilder_.getMessageOrBuilder(index);
|
2758
|
}
|
2759
|
}
|
2760
|
|
2761
|
|
2762
|
|
2763
|
@Override
|
2764
|
public java.util.List<? extends org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameterOrBuilder>
|
2765
|
getParametersOrBuilderList() {
|
2766
|
if (parametersBuilder_ != null) {
|
2767
|
return parametersBuilder_.getMessageOrBuilderList();
|
2768
|
} else {
|
2769
|
return java.util.Collections.unmodifiableList(parameters_);
|
2770
|
}
|
2771
|
}
|
2772
|
|
2773
|
|
2774
|
|
2775
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder addParametersBuilder() {
|
2776
|
return getParametersFieldBuilder().addBuilder(
|
2777
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.getDefaultInstance());
|
2778
|
}
|
2779
|
|
2780
|
|
2781
|
|
2782
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder addParametersBuilder(
|
2783
|
int index) {
|
2784
|
return getParametersFieldBuilder().addBuilder(
|
2785
|
index, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.getDefaultInstance());
|
2786
|
}
|
2787
|
|
2788
|
|
2789
|
|
2790
|
public java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder>
|
2791
|
getParametersBuilderList() {
|
2792
|
return getParametersFieldBuilder().getBuilderList();
|
2793
|
}
|
2794
|
private com.google.protobuf.RepeatedFieldBuilder<
|
2795
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameterOrBuilder>
|
2796
|
getParametersFieldBuilder() {
|
2797
|
if (parametersBuilder_ == null) {
|
2798
|
parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
2799
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameter.Builder, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBParameterOrBuilder>(
|
2800
|
parameters_,
|
2801
|
((bitField0_ & 0x00000040) == 0x00000040),
|
2802
|
getParentForChildren(),
|
2803
|
isClean());
|
2804
|
parameters_ = null;
|
2805
|
}
|
2806
|
return parametersBuilder_;
|
2807
|
}
|
2808
|
|
2809
|
private org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue returnValue_ = org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.getDefaultInstance();
|
2810
|
private com.google.protobuf.SingleFieldBuilder<
|
2811
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.Builder, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValueOrBuilder> returnValueBuilder_;
|
2812
|
|
2813
|
|
2814
|
|
2815
|
@Override
|
2816
|
public boolean hasReturnValue() {
|
2817
|
return ((bitField0_ & 0x00000080) == 0x00000080);
|
2818
|
}
|
2819
|
|
2820
|
|
2821
|
|
2822
|
@Override
|
2823
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue getReturnValue() {
|
2824
|
if (returnValueBuilder_ == null) {
|
2825
|
return returnValue_;
|
2826
|
} else {
|
2827
|
return returnValueBuilder_.getMessage();
|
2828
|
}
|
2829
|
}
|
2830
|
|
2831
|
|
2832
|
|
2833
|
public Builder setReturnValue(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue value) {
|
2834
|
if (returnValueBuilder_ == null) {
|
2835
|
if (value == null) {
|
2836
|
throw new NullPointerException();
|
2837
|
}
|
2838
|
returnValue_ = value;
|
2839
|
onChanged();
|
2840
|
} else {
|
2841
|
returnValueBuilder_.setMessage(value);
|
2842
|
}
|
2843
|
bitField0_ |= 0x00000080;
|
2844
|
return this;
|
2845
|
}
|
2846
|
|
2847
|
|
2848
|
|
2849
|
public Builder setReturnValue(
|
2850
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.Builder builderForValue) {
|
2851
|
if (returnValueBuilder_ == null) {
|
2852
|
returnValue_ = builderForValue.build();
|
2853
|
onChanged();
|
2854
|
} else {
|
2855
|
returnValueBuilder_.setMessage(builderForValue.build());
|
2856
|
}
|
2857
|
bitField0_ |= 0x00000080;
|
2858
|
return this;
|
2859
|
}
|
2860
|
|
2861
|
|
2862
|
|
2863
|
public Builder mergeReturnValue(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue value) {
|
2864
|
if (returnValueBuilder_ == null) {
|
2865
|
if (((bitField0_ & 0x00000080) == 0x00000080) &&
|
2866
|
returnValue_ != org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.getDefaultInstance()) {
|
2867
|
returnValue_ =
|
2868
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.newBuilder(returnValue_).mergeFrom(value).buildPartial();
|
2869
|
} else {
|
2870
|
returnValue_ = value;
|
2871
|
}
|
2872
|
onChanged();
|
2873
|
} else {
|
2874
|
returnValueBuilder_.mergeFrom(value);
|
2875
|
}
|
2876
|
bitField0_ |= 0x00000080;
|
2877
|
return this;
|
2878
|
}
|
2879
|
|
2880
|
|
2881
|
|
2882
|
public Builder clearReturnValue() {
|
2883
|
if (returnValueBuilder_ == null) {
|
2884
|
returnValue_ = org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.getDefaultInstance();
|
2885
|
onChanged();
|
2886
|
} else {
|
2887
|
returnValueBuilder_.clear();
|
2888
|
}
|
2889
|
bitField0_ = (bitField0_ & ~0x00000080);
|
2890
|
return this;
|
2891
|
}
|
2892
|
|
2893
|
|
2894
|
|
2895
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.Builder getReturnValueBuilder() {
|
2896
|
bitField0_ |= 0x00000080;
|
2897
|
onChanged();
|
2898
|
return getReturnValueFieldBuilder().getBuilder();
|
2899
|
}
|
2900
|
|
2901
|
|
2902
|
|
2903
|
@Override
|
2904
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValueOrBuilder getReturnValueOrBuilder() {
|
2905
|
if (returnValueBuilder_ != null) {
|
2906
|
return returnValueBuilder_.getMessageOrBuilder();
|
2907
|
} else {
|
2908
|
return returnValue_;
|
2909
|
}
|
2910
|
}
|
2911
|
|
2912
|
|
2913
|
|
2914
|
private com.google.protobuf.SingleFieldBuilder<
|
2915
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.Builder, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValueOrBuilder>
|
2916
|
getReturnValueFieldBuilder() {
|
2917
|
if (returnValueBuilder_ == null) {
|
2918
|
returnValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
|
2919
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValue.Builder, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBReturnValueOrBuilder>(
|
2920
|
getReturnValue(),
|
2921
|
getParentForChildren(),
|
2922
|
isClean());
|
2923
|
returnValue_ = null;
|
2924
|
}
|
2925
|
return returnValueBuilder_;
|
2926
|
}
|
2927
|
|
2928
|
|
2929
|
}
|
2930
|
|
2931
|
static {
|
2932
|
defaultInstance = new PBFunctionCall(true);
|
2933
|
defaultInstance.initFields();
|
2934
|
}
|
2935
|
|
2936
|
|
2937
|
}
|
2938
|
|
2939
|
public interface PBAstTraversalOrBuilder extends
|
2940
|
|
2941
|
com.google.protobuf.MessageOrBuilder {
|
2942
|
|
2943
|
|
2944
|
|
2945
|
|
2946
|
java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall>
|
2947
|
getCallsList();
|
2948
|
|
2949
|
|
2950
|
|
2951
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall getCalls(int index);
|
2952
|
|
2953
|
|
2954
|
|
2955
|
int getCallsCount();
|
2956
|
|
2957
|
|
2958
|
|
2959
|
java.util.List<? extends org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCallOrBuilder>
|
2960
|
getCallsOrBuilderList();
|
2961
|
|
2962
|
|
2963
|
|
2964
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCallOrBuilder getCallsOrBuilder(
|
2965
|
int index);
|
2966
|
|
2967
|
|
2968
|
|
2969
|
|
2970
|
boolean hasMainModule();
|
2971
|
|
2972
|
|
2973
|
|
2974
|
long getMainModule();
|
2975
|
}
|
2976
|
|
2977
|
|
2978
|
|
2979
|
public static final class PBAstTraversal extends
|
2980
|
com.google.protobuf.GeneratedMessage implements
|
2981
|
|
2982
|
PBAstTraversalOrBuilder {
|
2983
|
|
2984
|
private PBAstTraversal(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
2985
|
super(builder);
|
2986
|
this.unknownFields = builder.getUnknownFields();
|
2987
|
}
|
2988
|
private PBAstTraversal(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
2989
|
|
2990
|
private static final PBAstTraversal defaultInstance;
|
2991
|
public static PBAstTraversal getDefaultInstance() {
|
2992
|
return defaultInstance;
|
2993
|
}
|
2994
|
|
2995
|
@Override
|
2996
|
public PBAstTraversal getDefaultInstanceForType() {
|
2997
|
return defaultInstance;
|
2998
|
}
|
2999
|
|
3000
|
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
3001
|
@java.lang.Override
|
3002
|
public final com.google.protobuf.UnknownFieldSet
|
3003
|
getUnknownFields() {
|
3004
|
return this.unknownFields;
|
3005
|
}
|
3006
|
private PBAstTraversal(
|
3007
|
com.google.protobuf.CodedInputStream input,
|
3008
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
3009
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
3010
|
initFields();
|
3011
|
int mutable_bitField0_ = 0;
|
3012
|
final com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
3013
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
3014
|
try {
|
3015
|
boolean done = false;
|
3016
|
while (!done) {
|
3017
|
final int tag = input.readTag();
|
3018
|
switch (tag) {
|
3019
|
case 0:
|
3020
|
done = true;
|
3021
|
break;
|
3022
|
default: {
|
3023
|
if (!parseUnknownField(input, unknownFields,
|
3024
|
extensionRegistry, tag)) {
|
3025
|
done = true;
|
3026
|
}
|
3027
|
break;
|
3028
|
}
|
3029
|
case 10: {
|
3030
|
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
3031
|
calls_ = new java.util.ArrayList<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall>();
|
3032
|
mutable_bitField0_ |= 0x00000001;
|
3033
|
}
|
3034
|
calls_.add(input.readMessage(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.PARSER, extensionRegistry));
|
3035
|
break;
|
3036
|
}
|
3037
|
case 16: {
|
3038
|
bitField0_ |= 0x00000001;
|
3039
|
mainModule_ = input.readUInt64();
|
3040
|
break;
|
3041
|
}
|
3042
|
}
|
3043
|
}
|
3044
|
} catch (final com.google.protobuf.InvalidProtocolBufferException e) {
|
3045
|
throw e.setUnfinishedMessage(this);
|
3046
|
} catch (final java.io.IOException e) {
|
3047
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
3048
|
e.getMessage()).setUnfinishedMessage(this);
|
3049
|
} finally {
|
3050
|
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
3051
|
calls_ = java.util.Collections.unmodifiableList(calls_);
|
3052
|
}
|
3053
|
this.unknownFields = unknownFields.build();
|
3054
|
makeExtensionsImmutable();
|
3055
|
}
|
3056
|
}
|
3057
|
public static final com.google.protobuf.Descriptors.Descriptor
|
3058
|
getDescriptor() {
|
3059
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBAstTraversal_descriptor;
|
3060
|
}
|
3061
|
|
3062
|
@Override
|
3063
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
3064
|
internalGetFieldAccessorTable() {
|
3065
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBAstTraversal_fieldAccessorTable
|
3066
|
.ensureFieldAccessorsInitialized(
|
3067
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal.class, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal.Builder.class);
|
3068
|
}
|
3069
|
|
3070
|
public static com.google.protobuf.Parser<PBAstTraversal> PARSER =
|
3071
|
new com.google.protobuf.AbstractParser<PBAstTraversal>() {
|
3072
|
@Override
|
3073
|
public PBAstTraversal parsePartialFrom(
|
3074
|
com.google.protobuf.CodedInputStream input,
|
3075
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
3076
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
3077
|
return new PBAstTraversal(input, extensionRegistry);
|
3078
|
}
|
3079
|
};
|
3080
|
|
3081
|
@java.lang.Override
|
3082
|
public com.google.protobuf.Parser<PBAstTraversal> getParserForType() {
|
3083
|
return PARSER;
|
3084
|
}
|
3085
|
|
3086
|
private int bitField0_;
|
3087
|
public static final int CALLS_FIELD_NUMBER = 1;
|
3088
|
private java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall> calls_;
|
3089
|
|
3090
|
|
3091
|
|
3092
|
@Override
|
3093
|
public java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall> getCallsList() {
|
3094
|
return calls_;
|
3095
|
}
|
3096
|
|
3097
|
|
3098
|
|
3099
|
@Override
|
3100
|
public java.util.List<? extends org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCallOrBuilder>
|
3101
|
getCallsOrBuilderList() {
|
3102
|
return calls_;
|
3103
|
}
|
3104
|
|
3105
|
|
3106
|
|
3107
|
@Override
|
3108
|
public int getCallsCount() {
|
3109
|
return calls_.size();
|
3110
|
}
|
3111
|
|
3112
|
|
3113
|
|
3114
|
@Override
|
3115
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall getCalls(int index) {
|
3116
|
return calls_.get(index);
|
3117
|
}
|
3118
|
|
3119
|
|
3120
|
|
3121
|
@Override
|
3122
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCallOrBuilder getCallsOrBuilder(
|
3123
|
int index) {
|
3124
|
return calls_.get(index);
|
3125
|
}
|
3126
|
|
3127
|
public static final int MAIN_MODULE_FIELD_NUMBER = 2;
|
3128
|
private long mainModule_;
|
3129
|
|
3130
|
|
3131
|
|
3132
|
@Override
|
3133
|
public boolean hasMainModule() {
|
3134
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
3135
|
}
|
3136
|
|
3137
|
|
3138
|
|
3139
|
@Override
|
3140
|
public long getMainModule() {
|
3141
|
return mainModule_;
|
3142
|
}
|
3143
|
|
3144
|
private void initFields() {
|
3145
|
calls_ = java.util.Collections.emptyList();
|
3146
|
mainModule_ = 0L;
|
3147
|
}
|
3148
|
private byte memoizedIsInitialized = -1;
|
3149
|
@Override
|
3150
|
public final boolean isInitialized() {
|
3151
|
final byte isInitialized = memoizedIsInitialized;
|
3152
|
if (isInitialized == 1) return true;
|
3153
|
if (isInitialized == 0) return false;
|
3154
|
|
3155
|
if (!hasMainModule()) {
|
3156
|
memoizedIsInitialized = 0;
|
3157
|
return false;
|
3158
|
}
|
3159
|
for (int i = 0; i < getCallsCount(); i++) {
|
3160
|
if (!getCalls(i).isInitialized()) {
|
3161
|
memoizedIsInitialized = 0;
|
3162
|
return false;
|
3163
|
}
|
3164
|
}
|
3165
|
memoizedIsInitialized = 1;
|
3166
|
return true;
|
3167
|
}
|
3168
|
|
3169
|
@Override
|
3170
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
3171
|
throws java.io.IOException {
|
3172
|
getSerializedSize();
|
3173
|
for (int i = 0; i < calls_.size(); i++) {
|
3174
|
output.writeMessage(1, calls_.get(i));
|
3175
|
}
|
3176
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
3177
|
output.writeUInt64(2, mainModule_);
|
3178
|
}
|
3179
|
getUnknownFields().writeTo(output);
|
3180
|
}
|
3181
|
|
3182
|
private int memoizedSerializedSize = -1;
|
3183
|
@Override
|
3184
|
public int getSerializedSize() {
|
3185
|
int size = memoizedSerializedSize;
|
3186
|
if (size != -1) return size;
|
3187
|
|
3188
|
size = 0;
|
3189
|
for (int i = 0; i < calls_.size(); i++) {
|
3190
|
size += com.google.protobuf.CodedOutputStream
|
3191
|
.computeMessageSize(1, calls_.get(i));
|
3192
|
}
|
3193
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
3194
|
size += com.google.protobuf.CodedOutputStream
|
3195
|
.computeUInt64Size(2, mainModule_);
|
3196
|
}
|
3197
|
size += getUnknownFields().getSerializedSize();
|
3198
|
memoizedSerializedSize = size;
|
3199
|
return size;
|
3200
|
}
|
3201
|
|
3202
|
private static final long serialVersionUID = 0L;
|
3203
|
@java.lang.Override
|
3204
|
protected java.lang.Object writeReplace()
|
3205
|
throws java.io.ObjectStreamException {
|
3206
|
return super.writeReplace();
|
3207
|
}
|
3208
|
|
3209
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parseFrom(
|
3210
|
com.google.protobuf.ByteString data)
|
3211
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
3212
|
return PARSER.parseFrom(data);
|
3213
|
}
|
3214
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parseFrom(
|
3215
|
com.google.protobuf.ByteString data,
|
3216
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
3217
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
3218
|
return PARSER.parseFrom(data, extensionRegistry);
|
3219
|
}
|
3220
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parseFrom(byte[] data)
|
3221
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
3222
|
return PARSER.parseFrom(data);
|
3223
|
}
|
3224
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parseFrom(
|
3225
|
byte[] data,
|
3226
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
3227
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
3228
|
return PARSER.parseFrom(data, extensionRegistry);
|
3229
|
}
|
3230
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parseFrom(java.io.InputStream input)
|
3231
|
throws java.io.IOException {
|
3232
|
return PARSER.parseFrom(input);
|
3233
|
}
|
3234
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parseFrom(
|
3235
|
java.io.InputStream input,
|
3236
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
3237
|
throws java.io.IOException {
|
3238
|
return PARSER.parseFrom(input, extensionRegistry);
|
3239
|
}
|
3240
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parseDelimitedFrom(java.io.InputStream input)
|
3241
|
throws java.io.IOException {
|
3242
|
return PARSER.parseDelimitedFrom(input);
|
3243
|
}
|
3244
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parseDelimitedFrom(
|
3245
|
java.io.InputStream input,
|
3246
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
3247
|
throws java.io.IOException {
|
3248
|
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
3249
|
}
|
3250
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parseFrom(
|
3251
|
com.google.protobuf.CodedInputStream input)
|
3252
|
throws java.io.IOException {
|
3253
|
return PARSER.parseFrom(input);
|
3254
|
}
|
3255
|
public static org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parseFrom(
|
3256
|
com.google.protobuf.CodedInputStream input,
|
3257
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
3258
|
throws java.io.IOException {
|
3259
|
return PARSER.parseFrom(input, extensionRegistry);
|
3260
|
}
|
3261
|
|
3262
|
public static Builder newBuilder() { return Builder.create(); }
|
3263
|
@Override
|
3264
|
public Builder newBuilderForType() { return newBuilder(); }
|
3265
|
public static Builder newBuilder(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal prototype) {
|
3266
|
return newBuilder().mergeFrom(prototype);
|
3267
|
}
|
3268
|
@Override
|
3269
|
public Builder toBuilder() { return newBuilder(this); }
|
3270
|
|
3271
|
@java.lang.Override
|
3272
|
protected Builder newBuilderForType(
|
3273
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
3274
|
final Builder builder = new Builder(parent);
|
3275
|
return builder;
|
3276
|
}
|
3277
|
|
3278
|
|
3279
|
|
3280
|
public static final class Builder extends
|
3281
|
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
|
3282
|
|
3283
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversalOrBuilder {
|
3284
|
public static final com.google.protobuf.Descriptors.Descriptor
|
3285
|
getDescriptor() {
|
3286
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBAstTraversal_descriptor;
|
3287
|
}
|
3288
|
|
3289
|
@Override
|
3290
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
3291
|
internalGetFieldAccessorTable() {
|
3292
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBAstTraversal_fieldAccessorTable
|
3293
|
.ensureFieldAccessorsInitialized(
|
3294
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal.class, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal.Builder.class);
|
3295
|
}
|
3296
|
|
3297
|
|
3298
|
private Builder() {
|
3299
|
maybeForceBuilderInitialization();
|
3300
|
}
|
3301
|
|
3302
|
private Builder(
|
3303
|
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
3304
|
super(parent);
|
3305
|
maybeForceBuilderInitialization();
|
3306
|
}
|
3307
|
private void maybeForceBuilderInitialization() {
|
3308
|
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
3309
|
getCallsFieldBuilder();
|
3310
|
}
|
3311
|
}
|
3312
|
private static Builder create() {
|
3313
|
return new Builder();
|
3314
|
}
|
3315
|
|
3316
|
@Override
|
3317
|
public Builder clear() {
|
3318
|
super.clear();
|
3319
|
if (callsBuilder_ == null) {
|
3320
|
calls_ = java.util.Collections.emptyList();
|
3321
|
bitField0_ = (bitField0_ & ~0x00000001);
|
3322
|
} else {
|
3323
|
callsBuilder_.clear();
|
3324
|
}
|
3325
|
mainModule_ = 0L;
|
3326
|
bitField0_ = (bitField0_ & ~0x00000002);
|
3327
|
return this;
|
3328
|
}
|
3329
|
|
3330
|
@Override
|
3331
|
public Builder clone() {
|
3332
|
return create().mergeFrom(buildPartial());
|
3333
|
}
|
3334
|
|
3335
|
@Override
|
3336
|
public com.google.protobuf.Descriptors.Descriptor
|
3337
|
getDescriptorForType() {
|
3338
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.internal_static_serialize_PBAstTraversal_descriptor;
|
3339
|
}
|
3340
|
|
3341
|
@Override
|
3342
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal getDefaultInstanceForType() {
|
3343
|
return org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal.getDefaultInstance();
|
3344
|
}
|
3345
|
|
3346
|
@Override
|
3347
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal build() {
|
3348
|
final org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal result = buildPartial();
|
3349
|
if (!result.isInitialized()) {
|
3350
|
throw newUninitializedMessageException(result);
|
3351
|
}
|
3352
|
return result;
|
3353
|
}
|
3354
|
|
3355
|
@Override
|
3356
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal buildPartial() {
|
3357
|
final org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal result = new org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal(this);
|
3358
|
final int from_bitField0_ = bitField0_;
|
3359
|
int to_bitField0_ = 0;
|
3360
|
if (callsBuilder_ == null) {
|
3361
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
3362
|
calls_ = java.util.Collections.unmodifiableList(calls_);
|
3363
|
bitField0_ = (bitField0_ & ~0x00000001);
|
3364
|
}
|
3365
|
result.calls_ = calls_;
|
3366
|
} else {
|
3367
|
result.calls_ = callsBuilder_.build();
|
3368
|
}
|
3369
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
3370
|
to_bitField0_ |= 0x00000001;
|
3371
|
}
|
3372
|
result.mainModule_ = mainModule_;
|
3373
|
result.bitField0_ = to_bitField0_;
|
3374
|
onBuilt();
|
3375
|
return result;
|
3376
|
}
|
3377
|
|
3378
|
@Override
|
3379
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
3380
|
if (other instanceof org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal) {
|
3381
|
return mergeFrom((org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal)other);
|
3382
|
} else {
|
3383
|
super.mergeFrom(other);
|
3384
|
return this;
|
3385
|
}
|
3386
|
}
|
3387
|
|
3388
|
public Builder mergeFrom(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal other) {
|
3389
|
if (other == org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal.getDefaultInstance()) return this;
|
3390
|
if (callsBuilder_ == null) {
|
3391
|
if (!other.calls_.isEmpty()) {
|
3392
|
if (calls_.isEmpty()) {
|
3393
|
calls_ = other.calls_;
|
3394
|
bitField0_ = (bitField0_ & ~0x00000001);
|
3395
|
} else {
|
3396
|
ensureCallsIsMutable();
|
3397
|
calls_.addAll(other.calls_);
|
3398
|
}
|
3399
|
onChanged();
|
3400
|
}
|
3401
|
} else {
|
3402
|
if (!other.calls_.isEmpty()) {
|
3403
|
if (callsBuilder_.isEmpty()) {
|
3404
|
callsBuilder_.dispose();
|
3405
|
callsBuilder_ = null;
|
3406
|
calls_ = other.calls_;
|
3407
|
bitField0_ = (bitField0_ & ~0x00000001);
|
3408
|
callsBuilder_ =
|
3409
|
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
3410
|
getCallsFieldBuilder() : null;
|
3411
|
} else {
|
3412
|
callsBuilder_.addAllMessages(other.calls_);
|
3413
|
}
|
3414
|
}
|
3415
|
}
|
3416
|
if (other.hasMainModule()) {
|
3417
|
setMainModule(other.getMainModule());
|
3418
|
}
|
3419
|
this.mergeUnknownFields(other.getUnknownFields());
|
3420
|
return this;
|
3421
|
}
|
3422
|
|
3423
|
@Override
|
3424
|
public final boolean isInitialized() {
|
3425
|
if (!hasMainModule()) {
|
3426
|
|
3427
|
return false;
|
3428
|
}
|
3429
|
for (int i = 0; i < getCallsCount(); i++) {
|
3430
|
if (!getCalls(i).isInitialized()) {
|
3431
|
|
3432
|
return false;
|
3433
|
}
|
3434
|
}
|
3435
|
return true;
|
3436
|
}
|
3437
|
|
3438
|
@Override
|
3439
|
public Builder mergeFrom(
|
3440
|
com.google.protobuf.CodedInputStream input,
|
3441
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
3442
|
throws java.io.IOException {
|
3443
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal parsedMessage = null;
|
3444
|
try {
|
3445
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
3446
|
} catch (final com.google.protobuf.InvalidProtocolBufferException e) {
|
3447
|
parsedMessage = (org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBAstTraversal) e.getUnfinishedMessage();
|
3448
|
throw e;
|
3449
|
} finally {
|
3450
|
if (parsedMessage != null) {
|
3451
|
mergeFrom(parsedMessage);
|
3452
|
}
|
3453
|
}
|
3454
|
return this;
|
3455
|
}
|
3456
|
private int bitField0_;
|
3457
|
|
3458
|
private java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall> calls_ =
|
3459
|
java.util.Collections.emptyList();
|
3460
|
private void ensureCallsIsMutable() {
|
3461
|
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
3462
|
calls_ = new java.util.ArrayList<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall>(calls_);
|
3463
|
bitField0_ |= 0x00000001;
|
3464
|
}
|
3465
|
}
|
3466
|
|
3467
|
private com.google.protobuf.RepeatedFieldBuilder<
|
3468
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCallOrBuilder> callsBuilder_;
|
3469
|
|
3470
|
|
3471
|
|
3472
|
|
3473
|
@Override
|
3474
|
public java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall> getCallsList() {
|
3475
|
if (callsBuilder_ == null) {
|
3476
|
return java.util.Collections.unmodifiableList(calls_);
|
3477
|
} else {
|
3478
|
return callsBuilder_.getMessageList();
|
3479
|
}
|
3480
|
}
|
3481
|
|
3482
|
|
3483
|
|
3484
|
@Override
|
3485
|
public int getCallsCount() {
|
3486
|
if (callsBuilder_ == null) {
|
3487
|
return calls_.size();
|
3488
|
} else {
|
3489
|
return callsBuilder_.getCount();
|
3490
|
}
|
3491
|
}
|
3492
|
|
3493
|
|
3494
|
|
3495
|
@Override
|
3496
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall getCalls(int index) {
|
3497
|
if (callsBuilder_ == null) {
|
3498
|
return calls_.get(index);
|
3499
|
} else {
|
3500
|
return callsBuilder_.getMessage(index);
|
3501
|
}
|
3502
|
}
|
3503
|
|
3504
|
|
3505
|
|
3506
|
public Builder setCalls(
|
3507
|
int index, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall value) {
|
3508
|
if (callsBuilder_ == null) {
|
3509
|
if (value == null) {
|
3510
|
throw new NullPointerException();
|
3511
|
}
|
3512
|
ensureCallsIsMutable();
|
3513
|
calls_.set(index, value);
|
3514
|
onChanged();
|
3515
|
} else {
|
3516
|
callsBuilder_.setMessage(index, value);
|
3517
|
}
|
3518
|
return this;
|
3519
|
}
|
3520
|
|
3521
|
|
3522
|
|
3523
|
public Builder setCalls(
|
3524
|
int index, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder builderForValue) {
|
3525
|
if (callsBuilder_ == null) {
|
3526
|
ensureCallsIsMutable();
|
3527
|
calls_.set(index, builderForValue.build());
|
3528
|
onChanged();
|
3529
|
} else {
|
3530
|
callsBuilder_.setMessage(index, builderForValue.build());
|
3531
|
}
|
3532
|
return this;
|
3533
|
}
|
3534
|
|
3535
|
|
3536
|
|
3537
|
public Builder addCalls(org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall value) {
|
3538
|
if (callsBuilder_ == null) {
|
3539
|
if (value == null) {
|
3540
|
throw new NullPointerException();
|
3541
|
}
|
3542
|
ensureCallsIsMutable();
|
3543
|
calls_.add(value);
|
3544
|
onChanged();
|
3545
|
} else {
|
3546
|
callsBuilder_.addMessage(value);
|
3547
|
}
|
3548
|
return this;
|
3549
|
}
|
3550
|
|
3551
|
|
3552
|
|
3553
|
public Builder addCalls(
|
3554
|
int index, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall value) {
|
3555
|
if (callsBuilder_ == null) {
|
3556
|
if (value == null) {
|
3557
|
throw new NullPointerException();
|
3558
|
}
|
3559
|
ensureCallsIsMutable();
|
3560
|
calls_.add(index, value);
|
3561
|
onChanged();
|
3562
|
} else {
|
3563
|
callsBuilder_.addMessage(index, value);
|
3564
|
}
|
3565
|
return this;
|
3566
|
}
|
3567
|
|
3568
|
|
3569
|
|
3570
|
public Builder addCalls(
|
3571
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder builderForValue) {
|
3572
|
if (callsBuilder_ == null) {
|
3573
|
ensureCallsIsMutable();
|
3574
|
calls_.add(builderForValue.build());
|
3575
|
onChanged();
|
3576
|
} else {
|
3577
|
callsBuilder_.addMessage(builderForValue.build());
|
3578
|
}
|
3579
|
return this;
|
3580
|
}
|
3581
|
|
3582
|
|
3583
|
|
3584
|
public Builder addCalls(
|
3585
|
int index, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder builderForValue) {
|
3586
|
if (callsBuilder_ == null) {
|
3587
|
ensureCallsIsMutable();
|
3588
|
calls_.add(index, builderForValue.build());
|
3589
|
onChanged();
|
3590
|
} else {
|
3591
|
callsBuilder_.addMessage(index, builderForValue.build());
|
3592
|
}
|
3593
|
return this;
|
3594
|
}
|
3595
|
|
3596
|
|
3597
|
|
3598
|
public Builder addAllCalls(
|
3599
|
java.lang.Iterable<? extends org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall> values) {
|
3600
|
if (callsBuilder_ == null) {
|
3601
|
ensureCallsIsMutable();
|
3602
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
3603
|
values, calls_);
|
3604
|
onChanged();
|
3605
|
} else {
|
3606
|
callsBuilder_.addAllMessages(values);
|
3607
|
}
|
3608
|
return this;
|
3609
|
}
|
3610
|
|
3611
|
|
3612
|
|
3613
|
public Builder clearCalls() {
|
3614
|
if (callsBuilder_ == null) {
|
3615
|
calls_ = java.util.Collections.emptyList();
|
3616
|
bitField0_ = (bitField0_ & ~0x00000001);
|
3617
|
onChanged();
|
3618
|
} else {
|
3619
|
callsBuilder_.clear();
|
3620
|
}
|
3621
|
return this;
|
3622
|
}
|
3623
|
|
3624
|
|
3625
|
|
3626
|
public Builder removeCalls(int index) {
|
3627
|
if (callsBuilder_ == null) {
|
3628
|
ensureCallsIsMutable();
|
3629
|
calls_.remove(index);
|
3630
|
onChanged();
|
3631
|
} else {
|
3632
|
callsBuilder_.remove(index);
|
3633
|
}
|
3634
|
return this;
|
3635
|
}
|
3636
|
|
3637
|
|
3638
|
|
3639
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder getCallsBuilder(
|
3640
|
int index) {
|
3641
|
return getCallsFieldBuilder().getBuilder(index);
|
3642
|
}
|
3643
|
|
3644
|
|
3645
|
|
3646
|
@Override
|
3647
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCallOrBuilder getCallsOrBuilder(
|
3648
|
int index) {
|
3649
|
if (callsBuilder_ == null) {
|
3650
|
return calls_.get(index); } else {
|
3651
|
return callsBuilder_.getMessageOrBuilder(index);
|
3652
|
}
|
3653
|
}
|
3654
|
|
3655
|
|
3656
|
|
3657
|
@Override
|
3658
|
public java.util.List<? extends org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCallOrBuilder>
|
3659
|
getCallsOrBuilderList() {
|
3660
|
if (callsBuilder_ != null) {
|
3661
|
return callsBuilder_.getMessageOrBuilderList();
|
3662
|
} else {
|
3663
|
return java.util.Collections.unmodifiableList(calls_);
|
3664
|
}
|
3665
|
}
|
3666
|
|
3667
|
|
3668
|
|
3669
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder addCallsBuilder() {
|
3670
|
return getCallsFieldBuilder().addBuilder(
|
3671
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.getDefaultInstance());
|
3672
|
}
|
3673
|
|
3674
|
|
3675
|
|
3676
|
public org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder addCallsBuilder(
|
3677
|
int index) {
|
3678
|
return getCallsFieldBuilder().addBuilder(
|
3679
|
index, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.getDefaultInstance());
|
3680
|
}
|
3681
|
|
3682
|
|
3683
|
|
3684
|
public java.util.List<org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder>
|
3685
|
getCallsBuilderList() {
|
3686
|
return getCallsFieldBuilder().getBuilderList();
|
3687
|
}
|
3688
|
private com.google.protobuf.RepeatedFieldBuilder<
|
3689
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCallOrBuilder>
|
3690
|
getCallsFieldBuilder() {
|
3691
|
if (callsBuilder_ == null) {
|
3692
|
callsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
3693
|
org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCall.Builder, org.momut.ooas.codegen.ast.protobuf.gen.RecordedAstTraversal.PBFunctionCallOrBuilder>(
|
3694
|
calls_,
|
3695
|
((bitField0_ & 0x00000001) == 0x00000001),
|
3696
|
getParentForChildren(),
|
3697
|
isClean());
|
3698
|
calls_ = null;
|
3699
|
}
|
3700
|
return callsBuilder_;
|
3701
|
}
|
3702
|
|
3703
|
private long mainModule_ ;
|
3704
|
|
3705
|
|
3706
|
|
3707
|
@Override
|
3708
|
public boolean hasMainModule() {
|
3709
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
3710
|
}
|
3711
|
|
3712
|
|
3713
|
|
3714
|
@Override
|
3715
|
public long getMainModule() {
|
3716
|
return mainModule_;
|
3717
|
}
|
3718
|
|
3719
|
|
3720
|
|
3721
|
public Builder setMainModule(long value) {
|
3722
|
bitField0_ |= 0x00000002;
|
3723
|
mainModule_ = value;
|
3724
|
onChanged();
|
3725
|
return this;
|
3726
|
}
|
3727
|
|
3728
|
|
3729
|
|
3730
|
public Builder clearMainModule() {
|
3731
|
bitField0_ = (bitField0_ & ~0x00000002);
|
3732
|
mainModule_ = 0L;
|
3733
|
onChanged();
|
3734
|
return this;
|
3735
|
}
|
3736
|
|
3737
|
|
3738
|
}
|
3739
|
|
3740
|
static {
|
3741
|
defaultInstance = new PBAstTraversal(true);
|
3742
|
defaultInstance.initFields();
|
3743
|
}
|
3744
|
|
3745
|
|
3746
|
}
|
3747
|
|
3748
|
private static final com.google.protobuf.Descriptors.Descriptor
|
3749
|
internal_static_serialize_PBParameter_descriptor;
|
3750
|
private static
|
3751
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
3752
|
internal_static_serialize_PBParameter_fieldAccessorTable;
|
3753
|
private static final com.google.protobuf.Descriptors.Descriptor
|
3754
|
internal_static_serialize_PBReturnValue_descriptor;
|
3755
|
private static
|
3756
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
3757
|
internal_static_serialize_PBReturnValue_fieldAccessorTable;
|
3758
|
private static final com.google.protobuf.Descriptors.Descriptor
|
3759
|
internal_static_serialize_PBFunctionCall_descriptor;
|
3760
|
private static
|
3761
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
3762
|
internal_static_serialize_PBFunctionCall_fieldAccessorTable;
|
3763
|
private static final com.google.protobuf.Descriptors.Descriptor
|
3764
|
internal_static_serialize_PBAstTraversal_descriptor;
|
3765
|
private static
|
3766
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
3767
|
internal_static_serialize_PBAstTraversal_fieldAccessorTable;
|
3768
|
|
3769
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
3770
|
getDescriptor() {
|
3771
|
return descriptor;
|
3772
|
}
|
3773
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
3774
|
descriptor;
|
3775
|
static {
|
3776
|
final java.lang.String[] descriptorData = {
|
3777
|
"\n\014Record.proto\022\tserialize\032\023FunctionNames" +
|
3778
|
".proto\"y\n\013PBParameter\022\024\n\014uint64_value\030\001 " +
|
3779
|
"\001(\004\022\025\n\rliteral_value\030\002 \001(\t\022\022\n\nbool_value" +
|
3780
|
"\030\003 \001(\010\022\023\n\013int32_value\030\004 \001(\005\022\024\n\014uint32_va" +
|
3781
|
"lue\030\005 \001(\r\"P\n\rPBReturnValue\022,\n\013return_typ" +
|
3782
|
"e\030\001 \002(\0162\027.serialize.PBReturnType\022\021\n\tretu" +
|
3783
|
"rn_id\030\002 \001(\004\"\340\002\n\016PBFunctionCall\022\035\n\003add\030\001 " +
|
3784
|
"\001(\0162\020.serialize.PBAdd\022)\n\010allocate\030\002 \001(\0162" +
|
3785
|
"\027.serialize.PBAllocation\022,\n\nidentifier\030\003" +
|
3786
|
" \001(\0162\030.serialize.PBIdentifiers\022 \n\004type\030\004",
|
3787
|
" \001(\0162\022.serialize.PBTypes\022*\n\tstatement\030\005 " +
|
3788
|
"\001(\0162\027.serialize.PBStatements\022,\n\nexpressi" +
|
3789
|
"on\030\006 \001(\0162\030.serialize.PBExpressions\022*\n\npa" +
|
3790
|
"rameters\030\007 \003(\0132\026.serialize.PBParameter\022." +
|
3791
|
"\n\014return_value\030\010 \002(\0132\030.serialize.PBRetur" +
|
3792
|
"nValue\"O\n\016PBAstTraversal\022(\n\005calls\030\001 \003(\0132" +
|
3793
|
"\031.serialize.PBFunctionCall\022\023\n\013main_modul" +
|
3794
|
"e\030\002 \002(\004*6\n\014PBReturnType\022\024\n\020type_voidPoin" +
|
3795
|
"ter\020\001\022\020\n\014type_boolean\020\002B?\n\'org.momut.ooa" +
|
3796
|
"s.codegen.ast.protobuf.genB\024RecordedAstT",
|
3797
|
"raversal"
|
3798
|
};
|
3799
|
final com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
3800
|
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
|
3801
|
@Override
|
3802
|
public com.google.protobuf.ExtensionRegistry assignDescriptors(
|
3803
|
com.google.protobuf.Descriptors.FileDescriptor root) {
|
3804
|
descriptor = root;
|
3805
|
return null;
|
3806
|
}
|
3807
|
};
|
3808
|
com.google.protobuf.Descriptors.FileDescriptor
|
3809
|
.internalBuildGeneratedFileFrom(descriptorData,
|
3810
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
3811
|
org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.getDescriptor(),
|
3812
|
}, assigner);
|
3813
|
internal_static_serialize_PBParameter_descriptor =
|
3814
|
getDescriptor().getMessageTypes().get(0);
|
3815
|
internal_static_serialize_PBParameter_fieldAccessorTable = new
|
3816
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
3817
|
internal_static_serialize_PBParameter_descriptor,
|
3818
|
new java.lang.String[] { "Uint64Value", "LiteralValue", "BoolValue", "Int32Value", "Uint32Value", });
|
3819
|
internal_static_serialize_PBReturnValue_descriptor =
|
3820
|
getDescriptor().getMessageTypes().get(1);
|
3821
|
internal_static_serialize_PBReturnValue_fieldAccessorTable = new
|
3822
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
3823
|
internal_static_serialize_PBReturnValue_descriptor,
|
3824
|
new java.lang.String[] { "ReturnType", "ReturnId", });
|
3825
|
internal_static_serialize_PBFunctionCall_descriptor =
|
3826
|
getDescriptor().getMessageTypes().get(2);
|
3827
|
internal_static_serialize_PBFunctionCall_fieldAccessorTable = new
|
3828
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
3829
|
internal_static_serialize_PBFunctionCall_descriptor,
|
3830
|
new java.lang.String[] { "Add", "Allocate", "Identifier", "Type", "Statement", "Expression", "Parameters", "ReturnValue", });
|
3831
|
internal_static_serialize_PBAstTraversal_descriptor =
|
3832
|
getDescriptor().getMessageTypes().get(3);
|
3833
|
internal_static_serialize_PBAstTraversal_fieldAccessorTable = new
|
3834
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
3835
|
internal_static_serialize_PBAstTraversal_descriptor,
|
3836
|
new java.lang.String[] { "Calls", "MainModule", });
|
3837
|
org.momut.ooas.codegen.ast.protobuf.gen.FunctionNames.getDescriptor();
|
3838
|
}
|
3839
|
|
3840
|
|
3841
|
}
|