Uses of Class
org.objectweb.asm.tree.analysis.AnalyzerException
Packages that use AnalyzerException
Package
Description
Provides a framework for static code analysis based on the asm.tree package.
Provides ASM visitors that can be useful for programming and
debugging purposes.
-
Uses of AnalyzerException in org.objectweb.asm.tree.analysis
Methods in org.objectweb.asm.tree.analysis that throw AnalyzerExceptionModifier and TypeMethodDescriptionAnalyzer.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.BasicInterpreter.binaryOperation
(AbstractInsnNode insn, BasicValue value1, BasicValue value2) BasicVerifier.binaryOperation
(AbstractInsnNode insn, BasicValue value1, BasicValue value2) abstract V
Interpreter.binaryOperation
(AbstractInsnNode insn, V value1, V value2) Interprets a bytecode instruction with two arguments.BasicInterpreter.copyOperation
(AbstractInsnNode insn, BasicValue value) BasicVerifier.copyOperation
(AbstractInsnNode insn, BasicValue value) abstract V
Interpreter.copyOperation
(AbstractInsnNode insn, V value) Interprets a bytecode instruction that moves a value on the stack or to or from local variables.void
Frame.execute
(AbstractInsnNode insn, Interpreter<V> interpreter) Simulates the execution of the given instruction on this execution stack frame.private boolean
Frame.executeDupX2
(AbstractInsnNode insn, V value1, Interpreter<V> interpreter) private void
Frame.executeInvokeInsn
(AbstractInsnNode insn, String methodDescriptor, Interpreter<V> interpreter) private void
Analyzer.findSubroutine
(int insnIndex, Subroutine subroutine, List<AbstractInsnNode> jsrInsns) Follows the control flow graph of the currently analyzed method, starting at the given instruction index, and stores a copy of the given subroutine inAnalyzer.subroutines
for each encountered instruction.private void
Analyzer.findSubroutines
(int maxLocals) Finds the subroutines of the currently analyzed method and stores them inAnalyzer.subroutines
.protected BasicValue
BasicVerifier.getElementValue
(BasicValue objectArrayValue) Returns the value corresponding to the type of the elements of the given array reference value.protected BasicValue
SimpleVerifier.getElementValue
(BasicValue objectArrayValue) protected void
Analyzer.init
(String owner, MethodNode method) Initializes this analyzer.private void
Analyzer.merge
(int insnIndex, Frame<V> frameBeforeJsr, Frame<V> frameAfterRet, Subroutine subroutineBeforeJsr, boolean[] localsUsed) Merges the given frame and subroutine into the frame and subroutines at the given instruction index (case of a RET instruction).private void
Analyzer.merge
(int insnIndex, Frame<V> frame, Subroutine subroutine) Merges the given frame and subroutine into the frame and subroutines at the given instruction index.boolean
Frame.merge
(Frame<? extends V> frame, Interpreter<V> interpreter) Merges the given frame into this frame.BasicInterpreter.naryOperation
(AbstractInsnNode insn, List<? extends BasicValue> values) BasicVerifier.naryOperation
(AbstractInsnNode insn, List<? extends BasicValue> values) abstract V
Interpreter.naryOperation
(AbstractInsnNode insn, List<? extends V> values) Interprets a bytecode instruction with a variable number of arguments.BasicInterpreter.newOperation
(AbstractInsnNode insn) abstract V
Interpreter.newOperation
(AbstractInsnNode insn) Interprets a bytecode instruction without arguments.void
BasicInterpreter.returnOperation
(AbstractInsnNode insn, BasicValue value, BasicValue expected) void
BasicVerifier.returnOperation
(AbstractInsnNode insn, BasicValue value, BasicValue expected) abstract void
Interpreter.returnOperation
(AbstractInsnNode insn, V value, V expected) Interprets a bytecode return instruction.BasicInterpreter.ternaryOperation
(AbstractInsnNode insn, BasicValue value1, BasicValue value2, BasicValue value3) BasicVerifier.ternaryOperation
(AbstractInsnNode insn, BasicValue value1, BasicValue value2, BasicValue value3) abstract V
Interpreter.ternaryOperation
(AbstractInsnNode insn, V value1, V value2, V value3) Interprets a bytecode instruction with three arguments.BasicInterpreter.unaryOperation
(AbstractInsnNode insn, BasicValue value) BasicVerifier.unaryOperation
(AbstractInsnNode insn, BasicValue value) abstract V
Interpreter.unaryOperation
(AbstractInsnNode insn, V value) Interprets a bytecode instruction with a single argument. -
Uses of AnalyzerException in org.objectweb.asm.util
Methods in org.objectweb.asm.util that throw AnalyzerExceptionModifier and TypeMethodDescriptionprivate void
CheckFrameAnalyzer.checkFrame
(int insnIndex, Frame<V> frame, boolean requireFrame) Checks that the given frame is compatible with the frame at the given instruction index, if any.private void
CheckFrameAnalyzer.endControlFlow
(int insnIndex) Ends the control flow graph at the given instruction.CheckFrameAnalyzer.expandFrame
(String owner, Frame<V> previousFrame, FrameNode frameNode) Returns the expanded representation of the givenFrameNode
.private void
CheckFrameAnalyzer.expandFrames
(String owner, MethodNode method, Frame<V> initialFrame) Expands theFrameNode
"instructions" of the given method intoFrame
objects and stores them at the corresponding indices of theAnalyzer.frames
array.protected void
CheckFrameAnalyzer.init
(String owner, MethodNode method) private V
CheckFrameAnalyzer.newFrameValue
(String owner, FrameNode frameNode, Object type) Creates a newValue
that represents the given stack map frame type.