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