Remapper variables during bytecode method inlining by ASM
I am doing an online bytecode method inlining optimization using ASM. My changes are based on the example 3.2.6 Inline Method ( http://asm.ow2.org/current/asm-transformations.pdf ). The test example (inline callee's calculate(int,int) at Caller::test) is: public class Caller { final Callee _callee; public Caller(Callee callee){ _callee = callee; } public static void main(String[] args) { new Caller(new Callee("xu", "shijie")).test(5, 100); } public void test(int a, int b){ int t = a; int p = b; int r = t+p-_callee.calculate(a, b); int m = t-p; System.out.println(t); } } public class Callee {