类的使用
cn.taketoday.bytecode.tree.analysis.Frame
使用Frame的程序包
程序包
说明
Provides a framework for static code analysis based on the asm.tree package.
-
cn.taketoday.bytecode.tree.analysis中Frame的使用
修饰符和类型方法说明Analyzer.analyze(String owner, MethodNode method) Analyzes the given method.Analyzer.analyzeAndComputeMaxs(String owner, MethodNode method) Analyzes the given method and computes and sets its maximum stack size and maximum number of local variables.Analyzer.getFrames()Returns the symbolic execution stack frame for each instruction of the last analyzed method.Copies the state of the given frame into this frame.Analyzer.newFrame(int numLocals, int numStack) Constructs a new frame with the given size.Constructs a copy of the given frame.参数类型为Frame的cn.taketoday.bytecode.tree.analysis中的方法修饰符和类型方法说明Copies the state of the given frame into this frame.booleanMerges the given frame into this frame (case of a subroutine).booleanFrame.merge(Frame<? extends V> frame, Interpreter<V> interpreter) Merges the given frame into this frame.Interpreter.newExceptionValue(TryCatchBlockNode tryCatchBlockNode, Frame<V> handlerFrame, Type exceptionType) Creates a new value that represents the given exception type.Constructs a copy of the given frame.参数类型为Frame的cn.taketoday.bytecode.tree.analysis中的构造器