-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to check type of LDC? #30
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?The text was updated successfully, but these errors were encountered: