BranchEnd loopEnd = ca.ifeq();
ca.dup();
ca.iinc(0, -1);
ca.iload(0); // load the array index into the stack
ca.dupX1(); // index, array, index, array
ca.aaload();
ca.checkcast("java.lang.reflect.Method");
ca.dup();
ca.astore(2); // Method, index, array
// compare method names
ca.invokevirtual("java.lang.reflect.Method", "getName", "()Ljava/lang/String;");