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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
|
#include "xmlvm.h"
#include "java_lang_NullPointerException.h"
#include "java_lang_String.h"
#include "java_lang_StringBuilder.h"
#include "java_util_Collection.h"
#include "java_util_Iterator.h"
#include "java_util_Map_Entry.h"
#include "java_util_Set.h"
#include "java_util_AbstractMap.h"
#define XMLVM_CURRENT_CLASS_NAME AbstractMap
#define XMLVM_CURRENT_PKG_CLASS_NAME java_util_AbstractMap
__TIB_DEFINITION_java_util_AbstractMap __TIB_java_util_AbstractMap = {
0, // classInitializationBegan
0, // classInitialized
-1, // initializerThreadId
__INIT_java_util_AbstractMap, // classInitializer
"java.util.AbstractMap", // className
"java.util", // package
JAVA_NULL, // enclosingClassName
JAVA_NULL, // enclosingMethodName
"<K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Map<TK;TV;>;", // signature
(__TIB_DEFINITION_TEMPLATE*) &__TIB_java_lang_Object, // extends
sizeof(java_util_AbstractMap), // sizeInstance
XMLVM_TYPE_CLASS};
JAVA_OBJECT __CLASS_java_util_AbstractMap;
JAVA_OBJECT __CLASS_java_util_AbstractMap_1ARRAY;
JAVA_OBJECT __CLASS_java_util_AbstractMap_2ARRAY;
JAVA_OBJECT __CLASS_java_util_AbstractMap_3ARRAY;
//XMLVM_BEGIN_IMPLEMENTATION
//XMLVM_END_IMPLEMENTATION
#include "xmlvm-reflection.h"
static XMLVM_FIELD_REFLECTION_DATA __field_reflection_data[] = {
};
static XMLVM_CONSTRUCTOR_REFLECTION_DATA __constructor_reflection_data[] = {
};
static JAVA_OBJECT constructor_dispatcher(JAVA_OBJECT constructor, JAVA_OBJECT arguments)
{
XMLVM_NOT_IMPLEMENTED();
}
static XMLVM_METHOD_REFLECTION_DATA __method_reflection_data[] = {
};
static JAVA_OBJECT method_dispatcher(JAVA_OBJECT method, JAVA_OBJECT receiver, JAVA_OBJECT arguments)
{
XMLVM_NOT_IMPLEMENTED();
}
void __INIT_java_util_AbstractMap()
{
staticInitializerLock(&__TIB_java_util_AbstractMap);
// While the static initializer mutex is locked, locally store the value of
// whether class initialization began or not
int initBegan = __TIB_java_util_AbstractMap.classInitializationBegan;
// Whether or not class initialization had already began, it has begun now
__TIB_java_util_AbstractMap.classInitializationBegan = 1;
staticInitializerUnlock(&__TIB_java_util_AbstractMap);
JAVA_LONG curThreadId = (JAVA_LONG)pthread_self();
if (initBegan) {
if (__TIB_java_util_AbstractMap.initializerThreadId != curThreadId) {
// Busy wait until the other thread finishes initializing this class
while (!__TIB_java_util_AbstractMap.classInitialized) {
// do nothing
}
}
} else {
__TIB_java_util_AbstractMap.initializerThreadId = curThreadId;
XMLVM_CLASS_USED("java.util.AbstractMap")
__INIT_IMPL_java_util_AbstractMap();
}
}
void __INIT_IMPL_java_util_AbstractMap()
{
// Initialize base class if necessary
XMLVM_CLASS_INIT(java_lang_Object)
__TIB_java_util_AbstractMap.newInstanceFunc = __NEW_INSTANCE_java_util_AbstractMap;
// Copy vtable from base class
XMLVM_MEMCPY(__TIB_java_util_AbstractMap.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
// Initialize vtable for this class
__TIB_java_util_AbstractMap.vtable[6] = (VTABLE_PTR) &java_util_AbstractMap_clear__;
__TIB_java_util_AbstractMap.vtable[7] = (VTABLE_PTR) &java_util_AbstractMap_containsKey___java_lang_Object;
__TIB_java_util_AbstractMap.vtable[8] = (VTABLE_PTR) &java_util_AbstractMap_containsValue___java_lang_Object;
__TIB_java_util_AbstractMap.vtable[1] = (VTABLE_PTR) &java_util_AbstractMap_equals___java_lang_Object;
__TIB_java_util_AbstractMap.vtable[10] = (VTABLE_PTR) &java_util_AbstractMap_get___java_lang_Object;
__TIB_java_util_AbstractMap.vtable[4] = (VTABLE_PTR) &java_util_AbstractMap_hashCode__;
__TIB_java_util_AbstractMap.vtable[11] = (VTABLE_PTR) &java_util_AbstractMap_isEmpty__;
__TIB_java_util_AbstractMap.vtable[12] = (VTABLE_PTR) &java_util_AbstractMap_keySet__;
__TIB_java_util_AbstractMap.vtable[14] = (VTABLE_PTR) &java_util_AbstractMap_put___java_lang_Object_java_lang_Object;
__TIB_java_util_AbstractMap.vtable[13] = (VTABLE_PTR) &java_util_AbstractMap_putAll___java_util_Map;
__TIB_java_util_AbstractMap.vtable[15] = (VTABLE_PTR) &java_util_AbstractMap_remove___java_lang_Object;
__TIB_java_util_AbstractMap.vtable[16] = (VTABLE_PTR) &java_util_AbstractMap_size__;
__TIB_java_util_AbstractMap.vtable[5] = (VTABLE_PTR) &java_util_AbstractMap_toString__;
__TIB_java_util_AbstractMap.vtable[17] = (VTABLE_PTR) &java_util_AbstractMap_values__;
__TIB_java_util_AbstractMap.vtable[0] = (VTABLE_PTR) &java_util_AbstractMap_clone__;
// Initialize interface information
__TIB_java_util_AbstractMap.numImplementedInterfaces = 1;
__TIB_java_util_AbstractMap.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 1);
// Initialize interfaces if necessary and assign tib to implementedInterfaces
XMLVM_CLASS_INIT(java_util_Map)
__TIB_java_util_AbstractMap.implementedInterfaces[0][0] = &__TIB_java_util_Map;
// Initialize itable for this class
__TIB_java_util_AbstractMap.itableBegin = &__TIB_java_util_AbstractMap.itable[0];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_clear__] = __TIB_java_util_AbstractMap.vtable[6];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_containsKey___java_lang_Object] = __TIB_java_util_AbstractMap.vtable[7];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_containsValue___java_lang_Object] = __TIB_java_util_AbstractMap.vtable[8];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_entrySet__] = __TIB_java_util_AbstractMap.vtable[9];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_equals___java_lang_Object] = __TIB_java_util_AbstractMap.vtable[1];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_get___java_lang_Object] = __TIB_java_util_AbstractMap.vtable[10];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_hashCode__] = __TIB_java_util_AbstractMap.vtable[4];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_isEmpty__] = __TIB_java_util_AbstractMap.vtable[11];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_keySet__] = __TIB_java_util_AbstractMap.vtable[12];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_putAll___java_util_Map] = __TIB_java_util_AbstractMap.vtable[13];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_put___java_lang_Object_java_lang_Object] = __TIB_java_util_AbstractMap.vtable[14];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_remove___java_lang_Object] = __TIB_java_util_AbstractMap.vtable[15];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_size__] = __TIB_java_util_AbstractMap.vtable[16];
__TIB_java_util_AbstractMap.itable[XMLVM_ITABLE_IDX_java_util_Map_values__] = __TIB_java_util_AbstractMap.vtable[17];
__TIB_java_util_AbstractMap.declaredFields = &__field_reflection_data[0];
__TIB_java_util_AbstractMap.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
__TIB_java_util_AbstractMap.constructorDispatcherFunc = constructor_dispatcher;
__TIB_java_util_AbstractMap.declaredConstructors = &__constructor_reflection_data[0];
__TIB_java_util_AbstractMap.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
__TIB_java_util_AbstractMap.methodDispatcherFunc = method_dispatcher;
__TIB_java_util_AbstractMap.declaredMethods = &__method_reflection_data[0];
__TIB_java_util_AbstractMap.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
__CLASS_java_util_AbstractMap = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_util_AbstractMap);
__TIB_java_util_AbstractMap.clazz = __CLASS_java_util_AbstractMap;
__TIB_java_util_AbstractMap.baseType = JAVA_NULL;
__CLASS_java_util_AbstractMap_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_AbstractMap);
__CLASS_java_util_AbstractMap_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_AbstractMap_1ARRAY);
__CLASS_java_util_AbstractMap_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_AbstractMap_2ARRAY);
//XMLVM_BEGIN_WRAPPER[__INIT_java_util_AbstractMap]
//XMLVM_END_WRAPPER
__TIB_java_util_AbstractMap.classInitialized = 1;
}
void __DELETE_java_util_AbstractMap(void* me, void* client_data)
{
//XMLVM_BEGIN_WRAPPER[__DELETE_java_util_AbstractMap]
//XMLVM_END_WRAPPER
}
void __INIT_INSTANCE_MEMBERS_java_util_AbstractMap(JAVA_OBJECT me, int derivedClassWillRegisterFinalizer)
{
__INIT_INSTANCE_MEMBERS_java_lang_Object(me, 0 || derivedClassWillRegisterFinalizer);
((java_util_AbstractMap*) me)->fields.java_util_AbstractMap.keySet_ = (java_util_Set*) JAVA_NULL;
((java_util_AbstractMap*) me)->fields.java_util_AbstractMap.valuesCollection_ = (java_util_Collection*) JAVA_NULL;
//XMLVM_BEGIN_WRAPPER[__INIT_INSTANCE_MEMBERS_java_util_AbstractMap]
//XMLVM_END_WRAPPER
}
JAVA_OBJECT __NEW_java_util_AbstractMap()
{ XMLVM_CLASS_INIT(java_util_AbstractMap)
java_util_AbstractMap* me = (java_util_AbstractMap*) XMLVM_MALLOC(sizeof(java_util_AbstractMap));
me->tib = &__TIB_java_util_AbstractMap;
__INIT_INSTANCE_MEMBERS_java_util_AbstractMap(me, 0);
//XMLVM_BEGIN_WRAPPER[__NEW_java_util_AbstractMap]
//XMLVM_END_WRAPPER
return me;
}
JAVA_OBJECT __NEW_INSTANCE_java_util_AbstractMap()
{
JAVA_OBJECT me = JAVA_NULL;
me = __NEW_java_util_AbstractMap();
java_util_AbstractMap___INIT___(me);
return me;
}
void java_util_AbstractMap___INIT___(JAVA_OBJECT me)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap___INIT___]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "<init>", "?")
XMLVMElem _r0;
_r0.o = me;
XMLVM_SOURCE_POSITION("AbstractMap.java", 275)
XMLVM_CHECK_NPE(0)
java_lang_Object___INIT___(_r0.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 276)
XMLVM_EXIT_METHOD()
return;
//XMLVM_END_WRAPPER
}
void java_util_AbstractMap_clear__(JAVA_OBJECT me)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_clear__]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "clear", "?")
XMLVMElem _r0;
XMLVMElem _r1;
_r1.o = me;
XMLVM_SOURCE_POSITION("AbstractMap.java", 287)
//java_util_AbstractMap_entrySet__[9]
XMLVM_CHECK_NPE(1)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r1.o)->tib->vtable[9])(_r1.o);
XMLVM_CHECK_NPE(0)
(*(void (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Set_clear__])(_r0.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 288)
XMLVM_EXIT_METHOD()
return;
//XMLVM_END_WRAPPER
}
JAVA_BOOLEAN java_util_AbstractMap_containsKey___java_lang_Object(JAVA_OBJECT me, JAVA_OBJECT n1)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_containsKey___java_lang_Object]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "containsKey", "?")
XMLVMElem _r0;
XMLVMElem _r1;
XMLVMElem _r2;
XMLVMElem _r3;
XMLVMElem _r4;
_r3.o = me;
_r4.o = n1;
_r2.i = 1;
XMLVM_SOURCE_POSITION("AbstractMap.java", 299)
//java_util_AbstractMap_entrySet__[9]
XMLVM_CHECK_NPE(3)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r3.o)->tib->vtable[9])(_r3.o);
XMLVM_CHECK_NPE(0)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Set_iterator__])(_r0.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 300)
if (_r4.o == JAVA_NULL) goto label51;
label11:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 301)
XMLVM_CHECK_NPE(0)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r0.o);
if (_r1.i != 0) goto label19;
label17:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 313)
_r0.i = 0;
label18:;
XMLVM_EXIT_METHOD()
return _r0.i;
label19:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 302)
XMLVM_CHECK_NPE(0)
_r3.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r0.o);
_r3.o = _r3.o;
XMLVM_CHECK_NPE(3)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r3.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getKey__])(_r3.o);
//java_lang_Object_equals___java_lang_Object[1]
XMLVM_CHECK_NPE(4)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT, JAVA_OBJECT)) ((java_lang_Object*) _r4.o)->tib->vtable[1])(_r4.o, _r1.o);
if (_r1.i == 0) goto label11;
_r0 = _r2;
XMLVM_SOURCE_POSITION("AbstractMap.java", 303)
goto label18;
label37:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 308)
XMLVM_CHECK_NPE(0)
_r3.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r0.o);
_r3.o = _r3.o;
XMLVM_CHECK_NPE(3)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r3.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getKey__])(_r3.o);
if (_r1.o != JAVA_NULL) goto label51;
_r0 = _r2;
XMLVM_SOURCE_POSITION("AbstractMap.java", 309)
goto label18;
label51:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 307)
XMLVM_CHECK_NPE(0)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r0.o);
if (_r1.i != 0) goto label37;
goto label17;
//XMLVM_END_WRAPPER
}
JAVA_BOOLEAN java_util_AbstractMap_containsValue___java_lang_Object(JAVA_OBJECT me, JAVA_OBJECT n1)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_containsValue___java_lang_Object]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "containsValue", "?")
XMLVMElem _r0;
XMLVMElem _r1;
XMLVMElem _r2;
XMLVMElem _r3;
XMLVMElem _r4;
_r3.o = me;
_r4.o = n1;
_r2.i = 1;
XMLVM_SOURCE_POSITION("AbstractMap.java", 325)
//java_util_AbstractMap_entrySet__[9]
XMLVM_CHECK_NPE(3)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r3.o)->tib->vtable[9])(_r3.o);
XMLVM_CHECK_NPE(0)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Set_iterator__])(_r0.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 326)
if (_r4.o == JAVA_NULL) goto label51;
label11:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 327)
XMLVM_CHECK_NPE(0)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r0.o);
if (_r1.i != 0) goto label19;
label17:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 339)
_r0.i = 0;
label18:;
XMLVM_EXIT_METHOD()
return _r0.i;
label19:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 328)
XMLVM_CHECK_NPE(0)
_r3.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r0.o);
_r3.o = _r3.o;
XMLVM_CHECK_NPE(3)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r3.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getValue__])(_r3.o);
//java_lang_Object_equals___java_lang_Object[1]
XMLVM_CHECK_NPE(4)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT, JAVA_OBJECT)) ((java_lang_Object*) _r4.o)->tib->vtable[1])(_r4.o, _r1.o);
if (_r1.i == 0) goto label11;
_r0 = _r2;
XMLVM_SOURCE_POSITION("AbstractMap.java", 329)
goto label18;
label37:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 334)
XMLVM_CHECK_NPE(0)
_r3.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r0.o);
_r3.o = _r3.o;
XMLVM_CHECK_NPE(3)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r3.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getValue__])(_r3.o);
if (_r1.o != JAVA_NULL) goto label51;
_r0 = _r2;
XMLVM_SOURCE_POSITION("AbstractMap.java", 335)
goto label18;
label51:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 333)
XMLVM_CHECK_NPE(0)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r0.o);
if (_r1.i != 0) goto label37;
goto label17;
//XMLVM_END_WRAPPER
}
JAVA_BOOLEAN java_util_AbstractMap_equals___java_lang_Object(JAVA_OBJECT me, JAVA_OBJECT n1)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_equals___java_lang_Object]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "equals", "?")
volatile XMLVMElem _r0;
volatile XMLVMElem _r1;
volatile XMLVMElem _r2;
volatile XMLVMElem _r3;
volatile XMLVMElem _r4;
volatile XMLVMElem _r5;
volatile XMLVMElem _r6;
volatile XMLVMElem _r7;
_r6.o = me;
_r7.o = n1;
_r5.i = 1;
_r4.i = 0;
XMLVM_SOURCE_POSITION("AbstractMap.java", 364)
if (_r6.o != _r7.o) goto label6;
_r0 = _r5;
label5:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 365)
XMLVM_SOURCE_POSITION("AbstractMap.java", 393)
XMLVM_EXIT_METHOD()
return _r0.i;
label6:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 367)
XMLVM_CLASS_INIT(java_util_Map)
_r0.i = XMLVM_ISA(_r7.o, __CLASS_java_util_Map);
if (_r0.i == 0) goto label84;
XMLVM_SOURCE_POSITION("AbstractMap.java", 368)
_r7.o = _r7.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 369)
//java_util_AbstractMap_size__[16]
XMLVM_CHECK_NPE(6)
_r0.i = (*(JAVA_INT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r6.o)->tib->vtable[16])(_r6.o);
XMLVM_CHECK_NPE(7)
_r1.i = (*(JAVA_INT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r7.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_size__])(_r7.o);
if (_r0.i == _r1.i) goto label24;
_r0 = _r4;
XMLVM_SOURCE_POSITION("AbstractMap.java", 370)
goto label5;
label24:;
XMLVM_TRY_BEGIN(w70aaab7b1c26)
// Begin try
XMLVM_SOURCE_POSITION("AbstractMap.java", 374)
//java_util_AbstractMap_entrySet__[9]
XMLVM_CHECK_NPE(6)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r6.o)->tib->vtable[9])(_r6.o);
XMLVM_CHECK_NPE(0)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Set_iterator__])(_r0.o);
// End try
XMLVM_TRY_END
XMLVM_CATCH_BEGIN(w70aaab7b1c26)
XMLVM_CATCH_SPECIFIC(w70aaab7b1c26,java_lang_NullPointerException,78)
XMLVM_CATCH_END(w70aaab7b1c26)
XMLVM_RESTORE_EXCEPTION_ENV(w70aaab7b1c26)
label32:;
XMLVM_TRY_BEGIN(w70aaab7b1c28)
// Begin try
XMLVM_CHECK_NPE(0)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r0.o);
if (_r1.i != 0) { XMLVM_MEMCPY(curThread_w70aaab7b1c28->fields.java_lang_Thread.xmlvmExceptionEnv_, local_env_w70aaab7b1c28, sizeof(XMLVM_JMP_BUF)); goto label40; };
_r0 = _r5;
XMLVM_SOURCE_POSITION("AbstractMap.java", 391)
{ XMLVM_MEMCPY(curThread_w70aaab7b1c28->fields.java_lang_Thread.xmlvmExceptionEnv_, local_env_w70aaab7b1c28, sizeof(XMLVM_JMP_BUF)); goto label5; };
// End try
XMLVM_TRY_END
XMLVM_CATCH_BEGIN(w70aaab7b1c28)
XMLVM_CATCH_SPECIFIC(w70aaab7b1c28,java_lang_NullPointerException,78)
XMLVM_CATCH_END(w70aaab7b1c28)
XMLVM_RESTORE_EXCEPTION_ENV(w70aaab7b1c28)
label40:;
XMLVM_TRY_BEGIN(w70aaab7b1c30)
// Begin try
XMLVM_CHECK_NPE(0)
_r6.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r0.o);
_r6.o = _r6.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 375)
XMLVM_CHECK_NPE(6)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r6.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getKey__])(_r6.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 376)
XMLVM_CHECK_NPE(6)
_r2.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r6.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getValue__])(_r6.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 377)
XMLVM_CHECK_NPE(7)
_r3.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT, JAVA_OBJECT)) *(((java_lang_Object*)_r7.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_get___java_lang_Object])(_r7.o, _r1.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 378)
if (_r2.o != JAVA_NULL) { XMLVM_MEMCPY(curThread_w70aaab7b1c30->fields.java_lang_Thread.xmlvmExceptionEnv_, local_env_w70aaab7b1c30, sizeof(XMLVM_JMP_BUF)); goto label70; };
XMLVM_SOURCE_POSITION("AbstractMap.java", 379)
if (_r3.o != JAVA_NULL) { XMLVM_MEMCPY(curThread_w70aaab7b1c30->fields.java_lang_Thread.xmlvmExceptionEnv_, local_env_w70aaab7b1c30, sizeof(XMLVM_JMP_BUF)); goto label68; };
XMLVM_CHECK_NPE(7)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT, JAVA_OBJECT)) *(((java_lang_Object*)_r7.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_containsKey___java_lang_Object])(_r7.o, _r1.o);
if (_r1.i != 0) { XMLVM_MEMCPY(curThread_w70aaab7b1c30->fields.java_lang_Thread.xmlvmExceptionEnv_, local_env_w70aaab7b1c30, sizeof(XMLVM_JMP_BUF)); goto label32; };
// End try
XMLVM_TRY_END
XMLVM_CATCH_BEGIN(w70aaab7b1c30)
XMLVM_CATCH_SPECIFIC(w70aaab7b1c30,java_lang_NullPointerException,78)
XMLVM_CATCH_END(w70aaab7b1c30)
XMLVM_RESTORE_EXCEPTION_ENV(w70aaab7b1c30)
label68:;
XMLVM_TRY_BEGIN(w70aaab7b1c32)
// Begin try
_r0 = _r4;
XMLVM_SOURCE_POSITION("AbstractMap.java", 380)
{ XMLVM_MEMCPY(curThread_w70aaab7b1c32->fields.java_lang_Thread.xmlvmExceptionEnv_, local_env_w70aaab7b1c32, sizeof(XMLVM_JMP_BUF)); goto label5; };
XMLVM_SOURCE_POSITION("AbstractMap.java", 382)
// End try
XMLVM_TRY_END
XMLVM_CATCH_BEGIN(w70aaab7b1c32)
XMLVM_CATCH_SPECIFIC(w70aaab7b1c32,java_lang_NullPointerException,78)
XMLVM_CATCH_END(w70aaab7b1c32)
XMLVM_RESTORE_EXCEPTION_ENV(w70aaab7b1c32)
label70:;
XMLVM_TRY_BEGIN(w70aaab7b1c34)
// Begin try
//java_lang_Object_equals___java_lang_Object[1]
XMLVM_CHECK_NPE(2)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT, JAVA_OBJECT)) ((java_lang_Object*) _r2.o)->tib->vtable[1])(_r2.o, _r3.o);
// End try
XMLVM_TRY_END
XMLVM_CATCH_BEGIN(w70aaab7b1c34)
XMLVM_CATCH_SPECIFIC(w70aaab7b1c34,java_lang_NullPointerException,78)
XMLVM_CATCH_END(w70aaab7b1c34)
XMLVM_RESTORE_EXCEPTION_ENV(w70aaab7b1c34)
if (_r1.i != 0) goto label32;
_r0 = _r4;
XMLVM_SOURCE_POSITION("AbstractMap.java", 383)
goto label5;
label78:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 387)
java_lang_Thread* curThread_w70aaab7b1c41 = (java_lang_Thread*)java_lang_Thread_currentThread__();
_r0.o = curThread_w70aaab7b1c41->fields.java_lang_Thread.xmlvmException_;
_r0 = _r4;
goto label5;
label81:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 389)
java_lang_Thread* curThread_w70aaab7b1c46 = (java_lang_Thread*)java_lang_Thread_currentThread__();
_r0.o = curThread_w70aaab7b1c46->fields.java_lang_Thread.xmlvmException_;
_r0 = _r4;
goto label5;
label84:;
_r0 = _r4;
goto label5;
//XMLVM_END_WRAPPER
}
JAVA_OBJECT java_util_AbstractMap_get___java_lang_Object(JAVA_OBJECT me, JAVA_OBJECT n1)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_get___java_lang_Object]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "get", "?")
XMLVMElem _r0;
XMLVMElem _r1;
XMLVMElem _r2;
XMLVMElem _r3;
_r2.o = me;
_r3.o = n1;
XMLVM_SOURCE_POSITION("AbstractMap.java", 405)
//java_util_AbstractMap_entrySet__[9]
XMLVM_CHECK_NPE(2)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r2.o)->tib->vtable[9])(_r2.o);
XMLVM_CHECK_NPE(0)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Set_iterator__])(_r0.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 406)
if (_r3.o == JAVA_NULL) goto label56;
label10:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 407)
XMLVM_CHECK_NPE(0)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r0.o);
if (_r1.i != 0) goto label18;
label16:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 421)
_r0.o = JAVA_NULL;
label17:;
XMLVM_EXIT_METHOD()
return _r0.o;
label18:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 408)
XMLVM_CHECK_NPE(0)
_r2.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r0.o);
_r2.o = _r2.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 409)
XMLVM_CHECK_NPE(2)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getKey__])(_r2.o);
//java_lang_Object_equals___java_lang_Object[1]
XMLVM_CHECK_NPE(3)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT, JAVA_OBJECT)) ((java_lang_Object*) _r3.o)->tib->vtable[1])(_r3.o, _r1.o);
if (_r1.i == 0) goto label10;
XMLVM_SOURCE_POSITION("AbstractMap.java", 410)
XMLVM_CHECK_NPE(2)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getValue__])(_r2.o);
goto label17;
label39:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 415)
XMLVM_CHECK_NPE(0)
_r2.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r0.o);
_r2.o = _r2.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 416)
XMLVM_CHECK_NPE(2)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getKey__])(_r2.o);
if (_r1.o != JAVA_NULL) goto label56;
XMLVM_SOURCE_POSITION("AbstractMap.java", 417)
XMLVM_CHECK_NPE(2)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getValue__])(_r2.o);
goto label17;
label56:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 414)
XMLVM_CHECK_NPE(0)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r0.o);
if (_r1.i != 0) goto label39;
goto label16;
//XMLVM_END_WRAPPER
}
JAVA_INT java_util_AbstractMap_hashCode__(JAVA_OBJECT me)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_hashCode__]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "hashCode", "?")
XMLVMElem _r0;
XMLVMElem _r1;
XMLVMElem _r2;
XMLVMElem _r3;
_r3.o = me;
XMLVM_SOURCE_POSITION("AbstractMap.java", 433)
_r0.i = 0;
XMLVM_SOURCE_POSITION("AbstractMap.java", 434)
//java_util_AbstractMap_entrySet__[9]
XMLVM_CHECK_NPE(3)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r3.o)->tib->vtable[9])(_r3.o);
XMLVM_CHECK_NPE(1)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r1.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Set_iterator__])(_r1.o);
label9:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 435)
XMLVM_CHECK_NPE(1)
_r2.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r1.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r1.o);
if (_r2.i != 0) goto label16;
XMLVM_SOURCE_POSITION("AbstractMap.java", 438)
XMLVM_EXIT_METHOD()
return _r0.i;
label16:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 436)
XMLVM_CHECK_NPE(1)
_r3.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r1.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r1.o);
_r3.o = _r3.o;
XMLVM_CHECK_NPE(3)
_r2.i = (*(JAVA_INT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r3.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_hashCode__])(_r3.o);
_r0.i = _r0.i + _r2.i;
goto label9;
//XMLVM_END_WRAPPER
}
JAVA_BOOLEAN java_util_AbstractMap_isEmpty__(JAVA_OBJECT me)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_isEmpty__]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "isEmpty", "?")
XMLVMElem _r0;
XMLVMElem _r1;
_r1.o = me;
XMLVM_SOURCE_POSITION("AbstractMap.java", 449)
//java_util_AbstractMap_size__[16]
XMLVM_CHECK_NPE(1)
_r0.i = (*(JAVA_INT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r1.o)->tib->vtable[16])(_r1.o);
if (_r0.i != 0) goto label8;
_r0.i = 1;
label7:;
XMLVM_EXIT_METHOD()
return _r0.i;
label8:;
_r0.i = 0;
goto label7;
//XMLVM_END_WRAPPER
}
JAVA_OBJECT java_util_AbstractMap_keySet__(JAVA_OBJECT me)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_keySet__]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "keySet", "?")
XMLVMElem _r0;
XMLVMElem _r1;
_r1.o = me;
XMLVM_SOURCE_POSITION("AbstractMap.java", 460)
XMLVM_CHECK_NPE(1)
_r0.o = ((java_util_AbstractMap*) _r1.o)->fields.java_util_AbstractMap.keySet_;
if (_r0.o != JAVA_NULL) goto label11;
XMLVM_SOURCE_POSITION("AbstractMap.java", 461)
// Red class access removed: java.util.AbstractMap$1::new-instance
XMLVM_RED_CLASS_DEPENDENCY();
// Red class access removed: java.util.AbstractMap$1::<init>
XMLVM_RED_CLASS_DEPENDENCY();
XMLVM_CHECK_NPE(1)
((java_util_AbstractMap*) _r1.o)->fields.java_util_AbstractMap.keySet_ = _r0.o;
label11:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 493)
XMLVM_CHECK_NPE(1)
_r0.o = ((java_util_AbstractMap*) _r1.o)->fields.java_util_AbstractMap.keySet_;
XMLVM_EXIT_METHOD()
return _r0.o;
//XMLVM_END_WRAPPER
}
JAVA_OBJECT java_util_AbstractMap_put___java_lang_Object_java_lang_Object(JAVA_OBJECT me, JAVA_OBJECT n1, JAVA_OBJECT n2)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_put___java_lang_Object_java_lang_Object]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "put", "?")
XMLVMElem _r0;
XMLVMElem _r1;
XMLVMElem _r2;
XMLVMElem _r3;
_r1.o = me;
_r2.o = n1;
_r3.o = n2;
XMLVM_SOURCE_POSITION("AbstractMap.java", 519)
// Red class access removed: java.lang.UnsupportedOperationException::new-instance
XMLVM_RED_CLASS_DEPENDENCY();
// Red class access removed: java.lang.UnsupportedOperationException::<init>
XMLVM_RED_CLASS_DEPENDENCY();
XMLVM_THROW_CUSTOM(_r0.o)
//XMLVM_END_WRAPPER
}
void java_util_AbstractMap_putAll___java_util_Map(JAVA_OBJECT me, JAVA_OBJECT n1)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_putAll___java_util_Map]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "putAll", "?")
XMLVMElem _r0;
XMLVMElem _r1;
XMLVMElem _r2;
XMLVMElem _r3;
XMLVMElem _r4;
_r3.o = me;
_r4.o = n1;
XMLVM_SOURCE_POSITION("AbstractMap.java", 539)
XMLVM_CHECK_NPE(4)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r4.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_entrySet__])(_r4.o);
XMLVM_CHECK_NPE(0)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Set_iterator__])(_r0.o);
label8:;
XMLVM_CHECK_NPE(1)
_r0.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r1.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r1.o);
if (_r0.i != 0) goto label15;
XMLVM_SOURCE_POSITION("AbstractMap.java", 542)
XMLVM_EXIT_METHOD()
return;
label15:;
XMLVM_CHECK_NPE(1)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r1.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r1.o);
_r0.o = _r0.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 540)
XMLVM_CHECK_NPE(0)
_r2.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getKey__])(_r0.o);
XMLVM_CHECK_NPE(0)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getValue__])(_r0.o);
//java_util_AbstractMap_put___java_lang_Object_java_lang_Object[14]
XMLVM_CHECK_NPE(3)
(*(JAVA_OBJECT (*)(JAVA_OBJECT, JAVA_OBJECT, JAVA_OBJECT)) ((java_util_AbstractMap*) _r3.o)->tib->vtable[14])(_r3.o, _r2.o, _r0.o);
goto label8;
//XMLVM_END_WRAPPER
}
JAVA_OBJECT java_util_AbstractMap_remove___java_lang_Object(JAVA_OBJECT me, JAVA_OBJECT n1)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_remove___java_lang_Object]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "remove", "?")
XMLVMElem _r0;
XMLVMElem _r1;
XMLVMElem _r2;
XMLVMElem _r3;
_r2.o = me;
_r3.o = n1;
XMLVM_SOURCE_POSITION("AbstractMap.java", 555)
//java_util_AbstractMap_entrySet__[9]
XMLVM_CHECK_NPE(2)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r2.o)->tib->vtable[9])(_r2.o);
XMLVM_CHECK_NPE(0)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Set_iterator__])(_r0.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 556)
if (_r3.o == JAVA_NULL) goto label62;
label10:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 557)
XMLVM_CHECK_NPE(0)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r0.o);
if (_r1.i != 0) goto label18;
label16:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 573)
_r0.o = JAVA_NULL;
label17:;
XMLVM_EXIT_METHOD()
return _r0.o;
label18:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 558)
XMLVM_CHECK_NPE(0)
_r2.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r0.o);
_r2.o = _r2.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 559)
XMLVM_CHECK_NPE(2)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getKey__])(_r2.o);
//java_lang_Object_equals___java_lang_Object[1]
XMLVM_CHECK_NPE(3)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT, JAVA_OBJECT)) ((java_lang_Object*) _r3.o)->tib->vtable[1])(_r3.o, _r1.o);
if (_r1.i == 0) goto label10;
XMLVM_SOURCE_POSITION("AbstractMap.java", 560)
XMLVM_CHECK_NPE(0)
(*(void (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_remove__])(_r0.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 561)
XMLVM_CHECK_NPE(2)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getValue__])(_r2.o);
goto label17;
label42:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 566)
XMLVM_CHECK_NPE(0)
_r2.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r0.o);
_r2.o = _r2.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 567)
XMLVM_CHECK_NPE(2)
_r1.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getKey__])(_r2.o);
if (_r1.o != JAVA_NULL) goto label62;
XMLVM_SOURCE_POSITION("AbstractMap.java", 568)
XMLVM_CHECK_NPE(0)
(*(void (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_remove__])(_r0.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 569)
XMLVM_CHECK_NPE(2)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getValue__])(_r2.o);
goto label17;
label62:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 565)
XMLVM_CHECK_NPE(0)
_r1.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r0.o);
if (_r1.i != 0) goto label42;
goto label16;
//XMLVM_END_WRAPPER
}
JAVA_INT java_util_AbstractMap_size__(JAVA_OBJECT me)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_size__]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "size", "?")
XMLVMElem _r0;
XMLVMElem _r1;
_r1.o = me;
XMLVM_SOURCE_POSITION("AbstractMap.java", 582)
//java_util_AbstractMap_entrySet__[9]
XMLVM_CHECK_NPE(1)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r1.o)->tib->vtable[9])(_r1.o);
XMLVM_CHECK_NPE(0)
_r0.i = (*(JAVA_INT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Set_size__])(_r0.o);
XMLVM_EXIT_METHOD()
return _r0.i;
//XMLVM_END_WRAPPER
}
JAVA_OBJECT java_util_AbstractMap_toString__(JAVA_OBJECT me)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_toString__]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "toString", "?")
XMLVMElem _r0;
XMLVMElem _r1;
XMLVMElem _r2;
XMLVMElem _r3;
XMLVMElem _r4;
XMLVMElem _r5;
_r5.o = me;
// "(this Map)"
_r4.o = xmlvm_create_java_string_from_pool(5);
XMLVM_SOURCE_POSITION("AbstractMap.java", 592)
//java_util_AbstractMap_isEmpty__[11]
XMLVM_CHECK_NPE(5)
_r0.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r5.o)->tib->vtable[11])(_r5.o);
if (_r0.i == 0) goto label11;
XMLVM_SOURCE_POSITION("AbstractMap.java", 593)
// "\173\175"
_r0.o = xmlvm_create_java_string_from_pool(6);
label10:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 619)
XMLVM_EXIT_METHOD()
return _r0.o;
label11:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 596)
_r1.o = __NEW_java_lang_StringBuilder();
//java_util_AbstractMap_size__[16]
XMLVM_CHECK_NPE(5)
_r0.i = (*(JAVA_INT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r5.o)->tib->vtable[16])(_r5.o);
_r0.i = _r0.i * 28;
XMLVM_CHECK_NPE(1)
java_lang_StringBuilder___INIT____int(_r1.o, _r0.i);
XMLVM_SOURCE_POSITION("AbstractMap.java", 597)
_r0.i = 123;
//java_lang_StringBuilder_append___char[6]
XMLVM_CHECK_NPE(1)
(*(JAVA_OBJECT (*)(JAVA_OBJECT, JAVA_CHAR)) ((java_lang_StringBuilder*) _r1.o)->tib->vtable[6])(_r1.o, _r0.i);
XMLVM_SOURCE_POSITION("AbstractMap.java", 598)
//java_util_AbstractMap_entrySet__[9]
XMLVM_CHECK_NPE(5)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_util_AbstractMap*) _r5.o)->tib->vtable[9])(_r5.o);
XMLVM_CHECK_NPE(0)
_r2.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Set_iterator__])(_r0.o);
label35:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 599)
XMLVM_CHECK_NPE(2)
_r0.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r2.o);
if (_r0.i != 0) goto label51;
XMLVM_SOURCE_POSITION("AbstractMap.java", 618)
_r0.i = 125;
//java_lang_StringBuilder_append___char[6]
XMLVM_CHECK_NPE(1)
(*(JAVA_OBJECT (*)(JAVA_OBJECT, JAVA_CHAR)) ((java_lang_StringBuilder*) _r1.o)->tib->vtable[6])(_r1.o, _r0.i);
//java_lang_StringBuilder_toString__[5]
XMLVM_CHECK_NPE(1)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((java_lang_StringBuilder*) _r1.o)->tib->vtable[5])(_r1.o);
goto label10;
label51:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 600)
XMLVM_CHECK_NPE(2)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_next__])(_r2.o);
_r0.o = _r0.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 601)
XMLVM_CHECK_NPE(0)
_r3.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getKey__])(_r0.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 602)
if (_r3.o == _r5.o) goto label92;
XMLVM_SOURCE_POSITION("AbstractMap.java", 603)
XMLVM_CHECK_NPE(1)
java_lang_StringBuilder_append___java_lang_Object(_r1.o, _r3.o);
label66:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 607)
_r3.i = 61;
//java_lang_StringBuilder_append___char[6]
XMLVM_CHECK_NPE(1)
(*(JAVA_OBJECT (*)(JAVA_OBJECT, JAVA_CHAR)) ((java_lang_StringBuilder*) _r1.o)->tib->vtable[6])(_r1.o, _r3.i);
XMLVM_SOURCE_POSITION("AbstractMap.java", 608)
XMLVM_CHECK_NPE(0)
_r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r0.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Map_Entry_getValue__])(_r0.o);
XMLVM_SOURCE_POSITION("AbstractMap.java", 609)
if (_r0.o == _r5.o) goto label98;
XMLVM_SOURCE_POSITION("AbstractMap.java", 610)
XMLVM_CHECK_NPE(1)
java_lang_StringBuilder_append___java_lang_Object(_r1.o, _r0.o);
label80:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 614)
XMLVM_CHECK_NPE(2)
_r0.i = (*(JAVA_BOOLEAN (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_java_util_Iterator_hasNext__])(_r2.o);
if (_r0.i == 0) goto label35;
XMLVM_SOURCE_POSITION("AbstractMap.java", 615)
// ", "
_r0.o = xmlvm_create_java_string_from_pool(7);
XMLVM_CHECK_NPE(1)
java_lang_StringBuilder_append___java_lang_String(_r1.o, _r0.o);
goto label35;
label92:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 605)
// "(this Map)"
_r3.o = xmlvm_create_java_string_from_pool(5);
XMLVM_CHECK_NPE(1)
java_lang_StringBuilder_append___java_lang_String(_r1.o, _r4.o);
goto label66;
label98:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 612)
// "(this Map)"
_r0.o = xmlvm_create_java_string_from_pool(5);
XMLVM_CHECK_NPE(1)
java_lang_StringBuilder_append___java_lang_String(_r1.o, _r4.o);
goto label80;
//XMLVM_END_WRAPPER
}
JAVA_OBJECT java_util_AbstractMap_values__(JAVA_OBJECT me)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_values__]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "values", "?")
XMLVMElem _r0;
XMLVMElem _r1;
_r1.o = me;
XMLVM_SOURCE_POSITION("AbstractMap.java", 642)
XMLVM_CHECK_NPE(1)
_r0.o = ((java_util_AbstractMap*) _r1.o)->fields.java_util_AbstractMap.valuesCollection_;
if (_r0.o != JAVA_NULL) goto label11;
XMLVM_SOURCE_POSITION("AbstractMap.java", 643)
// Red class access removed: java.util.AbstractMap$2::new-instance
XMLVM_RED_CLASS_DEPENDENCY();
// Red class access removed: java.util.AbstractMap$2::<init>
XMLVM_RED_CLASS_DEPENDENCY();
XMLVM_CHECK_NPE(1)
((java_util_AbstractMap*) _r1.o)->fields.java_util_AbstractMap.valuesCollection_ = _r0.o;
label11:;
XMLVM_SOURCE_POSITION("AbstractMap.java", 675)
XMLVM_CHECK_NPE(1)
_r0.o = ((java_util_AbstractMap*) _r1.o)->fields.java_util_AbstractMap.valuesCollection_;
XMLVM_EXIT_METHOD()
return _r0.o;
//XMLVM_END_WRAPPER
}
JAVA_OBJECT java_util_AbstractMap_clone__(JAVA_OBJECT me)
{
//XMLVM_BEGIN_WRAPPER[java_util_AbstractMap_clone__]
XMLVM_ENTER_METHOD("java.util.AbstractMap", "clone", "?")
XMLVMElem _r0;
XMLVMElem _r1;
_r1.o = me;
_r0.o = JAVA_NULL;
XMLVM_SOURCE_POSITION("AbstractMap.java", 690)
XMLVM_CHECK_NPE(1)
_r1.o = java_lang_Object_clone__(_r1.o);
_r1.o = _r1.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 691)
XMLVM_CHECK_NPE(1)
((java_util_AbstractMap*) _r1.o)->fields.java_util_AbstractMap.keySet_ = _r0.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 692)
XMLVM_CHECK_NPE(1)
((java_util_AbstractMap*) _r1.o)->fields.java_util_AbstractMap.valuesCollection_ = _r0.o;
XMLVM_SOURCE_POSITION("AbstractMap.java", 693)
XMLVM_EXIT_METHOD()
return _r1.o;
//XMLVM_END_WRAPPER
}
|