|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uka.ipd.sdq.ByCounter.parsing.BasicBlockAnalyser
public final class BasicBlockAnalyser
An implementation of IInstructionAnalyser
that analyses instructions
in order to find basicBlocks. The results of this IInstructionAnalyser
can be queried with the method InstrumentationState.getBasicBlockLabels()
.
Constructor Summary | |
---|---|
BasicBlockAnalyser(java.lang.String methodDescriptorString,
InstrumentationState instrumentationState)
Construct the basic block analyser. |
Method Summary | |
---|---|
void |
analyseInstruction(org.objectweb.asm.tree.AbstractInsnNode insn)
Analyse the given instruction. |
void |
analyseTryCatchBlock(org.objectweb.asm.tree.TryCatchBlockNode tryCatchNode)
Analyse the given try catch node. |
void |
postAnalysisEvent(org.objectweb.asm.tree.InsnList instructions)
Called after all instructions have been individually analysed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicBlockAnalyser(java.lang.String methodDescriptorString, InstrumentationState instrumentationState)
methodDescriptorString
- Descriptor of the analysed method.instrumentationState
- Structure for instrumentation results.Method Detail |
---|
public void analyseInstruction(org.objectweb.asm.tree.AbstractInsnNode insn)
analyseInstruction
in interface IInstructionAnalyser
insn
- Instruction as encountered in a method.public void analyseTryCatchBlock(org.objectweb.asm.tree.TryCatchBlockNode tryCatchNode)
analyseTryCatchBlock
in interface IInstructionAnalyser
tryCatchNode
- Try catch node as encountered in a method.public void postAnalysisEvent(org.objectweb.asm.tree.InsnList instructions)
postAnalysisEvent
in interface IInstructionAnalyser
instructions
- Complete list of instructions.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |