array MyClass_nextFree967 integer MyClass_firstFree264 integer MyClass_maxIndex336 array MyClass_typeId584 array Iterator_nextFree750 integer Iterator_firstFree180 integer Iterator_maxIndex633 integer MyClass_firstFree264 = 0 integer MyClass_maxIndex336 = 0 integer Iterator_firstFree180 = 0 integer Iterator_maxIndex633 = 0 function initGlobals357() { MyClass_firstFree_264 = 0; MyClass_maxIndex_336 = 0; Iterator_firstFree_180 = 0; Iterator_maxIndex_633 = 0; } function main937() { initGlobals357(); init_Test199(); } function config192() { } function init_Test199() { new_MyClass164(); new_MyClass164(); MyClass_all213(); testSuccess206(); } IS_NATIVE function testSuccess206() { } function MyClass_all213() { local integer iterator169 local integer elem177 iterator_169 = MyClass_MyModule_LinkedListModule_iterator559(); loop { exitwhen (not Iterator_hasNext142(iterator_169)); elem_177 = Iterator_next666(iterator_169); dispatch_MyClass_Test_MyClass_do367(elem_177); }; Iterator_close106(iterator_169); } function MyClass_MyModule_LinkedListModule_iterator559() returns integer { return new_Iterator156(); } function MyClass_do761(integer this195) { } function MyClass_init876(integer this186) { construct_MyClass_MyModule145(this_186); } function construct_MyClass_MyModule145(integer this119) { construct_MyClass_MyModule_LinkedListModule120(this_119); } function construct_MyClass_MyModule_LinkedListModule120(integer this568) { } function new_MyClass164() returns integer { local integer this671 this_671 = alloc_MyClass393(); construct_MyClass129(this_671); return this_671; } function construct_MyClass129(integer this617) { MyClass_init876(this_617); } function Iterator_next666(integer this126) returns integer { return null; } function Iterator_hasNext142(integer this701) returns boolean { return false; } function Iterator_close106(integer this328) { } function new_Iterator156() returns integer { local integer this680 this_680 = alloc_Iterator575(); construct_Iterator165(this_680); return this_680; } function Iterator_init175(integer this126) { } function construct_Iterator165(integer this541) { Iterator_init175(this_541); } function alloc_MyClass393() returns integer { local integer this735 if (MyClass_firstFree_264 == 0) { if (MyClass_maxIndex_336 < 32768) { MyClass_maxIndex_336 = (MyClass_maxIndex_336 + 1); this_735 = MyClass_maxIndex_336; MyClass_typeId_584[this_735] = 2; } else { error200("Out of memory: Could not create MyClass."); this_735 = 0; }; } else { MyClass_firstFree_264 = (MyClass_firstFree_264 - 1); this_735 = MyClass_nextFree_967[MyClass_firstFree_264]; MyClass_typeId_584[this_735] = 2; }; return this_735; } function error200(string msg121) { $debugPrint163((msg_121 + (" " + #getStackTrace()))); } function alloc_Iterator575() returns integer { local integer this662 if (Iterator_firstFree_180 == 0) { if (Iterator_maxIndex_633 < 32768) { Iterator_maxIndex_633 = (Iterator_maxIndex_633 + 1); this_662 = Iterator_maxIndex_633; } else { error200("Out of memory: Could not create Iterator."); this_662 = 0; }; } else { Iterator_firstFree_180 = (Iterator_firstFree_180 - 1); this_662 = Iterator_nextFree_750[Iterator_firstFree_180]; }; return this_662; } function dispatch_MyClass_Test_MyClass_do367(integer this100) { if (MyClass_typeId_584[this_100] == 0) { if (this_100 == 0) { error200("Nullpointer exception when calling MyClass.do"); } else { error200("Called MyClass.do on invalid object."); }; } else { }; MyClass_do761(this_100); }