Consider this, i have "import asm.tree.InsnList" and I try to call the function ".add()" on an InsnList. This is a legitimate function, that actually exists on objects of type "InsnList". HOWEVER, IntelliJ produces an error here, saying " Cannot resolve symbol 'add' "... View attachment 76
But when I check the module library, I can clearly see the method being in there... So I think IntelliJ is screwing with me, and that there's actually nothing wrong with the code. View attachment 75
I am using a bit newer versions of the ASM jar files (8.0.1) but it didn't work before when I had 7.2 either, that's why I upgraded them to the newest version.
It definitely seems like it's an issue with your IDE as opposed to with your code. If I were you, I'd try out Eclipse and see if it works on that IDE. Just to confirm that it's indeed an issue with the IDE.