CoreMods icon indicating copy to clipboard operation
CoreMods copied to clipboard

No way to check type of LDC?

Open ThisTestUser opened this issue 5 years ago • 0 comments

There currently doesn't seem to be a way to check the type of a LDC, since using cst.getClass().getName() is not allowed. In the debug environment I was able to get around this by doing instruction.cst.getClass() == "class java.lang.X, but when running normally the check simply fails without any error. Is there any workaround to this?

ThisTestUser avatar Jul 12 '20 01:07 ThisTestUser