|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uka.ipd.sdq.ByCounter.parsing.RangeBlockAnalyser
public final class RangeBlockAnalyser
An implementation of IInstructionAnalyser
that analyses instructions
in order to find the basicBlocks that comprise range blocks.
Therefore this class depends on BasicBlockAnalyser
.
The results of this IInstructionAnalyser
are serialised to the file
specified by BasicBlockSerialisation.FILE_RANGE_BLOCK_SERIALISATION
.
Constructor Summary | |
---|---|
RangeBlockAnalyser(MethodDescriptor currentMethod,
InstrumentationState instrumentationState)
Construct the RangeBlockAnalyser and prepare it for analysing the
specified method. |
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 RangeBlockAnalyser(MethodDescriptor currentMethod, InstrumentationState instrumentationState)
RangeBlockAnalyser
and prepare it for analysing the
specified method.
currentMethod
- MethodDescriptor
for the method to analyse.instrumentationState
- State information used for the
instrumentation.Method Detail |
---|
public void analyseInstruction(org.objectweb.asm.tree.AbstractInsnNode insn)
IInstructionAnalyser
analyseInstruction
in interface IInstructionAnalyser
insn
- Instruction as encountered in a method.public void analyseTryCatchBlock(org.objectweb.asm.tree.TryCatchBlockNode tryCatchNode)
IInstructionAnalyser
analyseTryCatchBlock
in interface IInstructionAnalyser
tryCatchNode
- The TryCatchBlockNode
to analyse.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 |