mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 15:56:10 +00:00
84 lines
1.6 KiB
Plaintext
84 lines
1.6 KiB
Plaintext
class
|
|
refid "tests:TestSwitch"
|
|
instance QName(PackageNamespace("tests"), "TestSwitch")
|
|
extends QName(PackageNamespace(""), "Object")
|
|
flag SEALED
|
|
flag PROTECTEDNS
|
|
protectedns ProtectedNamespace("tests:TestSwitch")
|
|
iinit
|
|
refid "tests:TestSwitch/instance/init"
|
|
body
|
|
maxstack 1
|
|
localcount 1
|
|
initscopedepth 4
|
|
maxscopedepth 5
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
|
|
getlocal0
|
|
constructsuper 0
|
|
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
trait method QName(PackageNamespace(""), "run")
|
|
method
|
|
refid "tests:TestSwitch/instance/run"
|
|
returns QName(PackageNamespace(""), "void")
|
|
body
|
|
maxstack 2
|
|
localcount 4
|
|
initscopedepth 4
|
|
maxscopedepth 5
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
getlex QName(PrivateNamespace("somens"),"somevar")
|
|
convert_i
|
|
lookupswitch ofs005e, [ofs002d, ofs0038, ofs005e, ofs0050, ofs0059]
|
|
ofs002d:
|
|
pushstring "X"
|
|
setlocal2
|
|
returnvoid
|
|
ofs0038:
|
|
pushstring "A"
|
|
coerce_s
|
|
setlocal2
|
|
jump ofs005e
|
|
ofs0050:
|
|
pushstring "B"
|
|
coerce_s
|
|
setlocal2
|
|
jump ofs005e
|
|
ofs0059:
|
|
pushstring "C"
|
|
coerce_s
|
|
setlocal2
|
|
ofs005e:
|
|
pushstring "after"
|
|
setlocal2
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
end ; trait
|
|
end ; instance
|
|
cinit
|
|
refid "tests:TestSwitch/class/init"
|
|
body
|
|
maxstack 1
|
|
localcount 1
|
|
initscopedepth 3
|
|
maxscopedepth 4
|
|
code
|
|
getlocal0
|
|
pushscope
|
|
|
|
returnvoid
|
|
end ; code
|
|
end ; body
|
|
end ; method
|
|
end ; class
|