bytekit-core/src/main/java/com/alibaba/bytekit/asm/location/Location.java [623:645]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        public StackSaver getStackSaver() {
            StackSaver stackSaver = new StackSaver() {

                @Override
                public void store(InsnList instructions, BindingContext bindingContext) {
                    LocalVariableNode throwVariableNode = bindingContext.getMethodProcessor().initThrowVariableNode();
                    AsmOpUtils.storeVar(instructions, Type.getType(Throwable.class), throwVariableNode.index);
                    
                }

                @Override
                public void load(InsnList instructions, BindingContext bindingContext) {
                    LocalVariableNode throwVariableNode = bindingContext.getMethodProcessor().initThrowVariableNode();
                    AsmOpUtils.loadVar(instructions, Type.getType(Throwable.class), throwVariableNode.index);
                }

                @Override
                public Type getType(BindingContext bindingContext) {
                    return Type.getType(Throwable.class);
                }
                
            };
            return stackSaver;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



bytekit-core/src/main/java/com/alibaba/bytekit/asm/location/Location.java [665:687]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        public StackSaver getStackSaver() {
            StackSaver stackSaver = new StackSaver() {

                @Override
                public void store(InsnList instructions, BindingContext bindingContext) {
                    LocalVariableNode throwVariableNode = bindingContext.getMethodProcessor().initThrowVariableNode();
                    AsmOpUtils.storeVar(instructions, Type.getType(Throwable.class), throwVariableNode.index);

                }

                @Override
                public void load(InsnList instructions, BindingContext bindingContext) {
                    LocalVariableNode throwVariableNode = bindingContext.getMethodProcessor().initThrowVariableNode();
                    AsmOpUtils.loadVar(instructions, Type.getType(Throwable.class), throwVariableNode.index);
                }

                @Override
                public Type getType(BindingContext bindingContext) {
                    return Type.getType(Throwable.class);
                }

            };
            return stackSaver;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



