getting the number of local variables in a method
问题 So I have some classes into which "dummy method calls" have been inserted; i.e. static methods in a dedicated class that have an empty body. The idea is to take the arguments that were pushed to the stack prior to the method invokation, store them in local variables, then replace the method invocation with the actual implementation. To see how locals are handled, I run A.java package asmvisit; public class A { long y; public long doSomething(int x, A a){ if(a == null){ this.y = (long)x;