|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.toplink.libraries.asm.tree.analysis.Analyzer
public class Analyzer
A semantic bytecode analyzer.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Analyzer(Interpreter interpreter)Constructs a new Analyzer. |
|
| Method Summary | |
|---|---|
Frame[] |
analyze(ClassNode c, MethodNode m)Analyzes the given method. |
Frame[] |
getFrames()Returns the symbolic stack frame for each instruction of the last recently analyzed method. |
java.util.List |
getHandlers(int insn)Returns the exception handlers for the given instruction. |
int |
getIndex(java.lang.Object insn)Returns the index of the given instruction. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Analyzer(Interpreter interpreter)
Analyzer.
interpreter - the interpreter to be used to symbolically interpret the bytecode instructions.| Method Detail |
|---|
public Frame[] analyze(ClassNode c,
MethodNode m)
throws AnalyzerException
c - the class to which the method belongs.m - the method to be analyzed.AnalyzerException - if a problem occurs during the analysis.public Frame[] getFrames()
public int getIndex(java.lang.Object insn)
insn - a Label or AbstractInsnNode of the last recently analyzed method.public java.util.List getHandlers(int insn)
insn - the index of an instruction of the last recently analyzed method.TryCatchBlockNode objects.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||