|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.javaflow.bytecode.transformation.bcel.analyser.ControlFlowGraph
This class represents a control flow graph of a method. WARNING! These classes are a fork of the bcel verifier.
Constructor Summary | |
ControlFlowGraph(org.apache.bcel.generic.MethodGen method_gen)
A Control Flow Graph. |
Method Summary | |
InstructionContext |
contextOf(org.apache.bcel.generic.InstructionHandle inst)
Returns the InstructionContext of a given instruction. |
InstructionContext[] |
contextsOf(org.apache.bcel.generic.InstructionHandle[] insts)
Returns the InstructionContext[] of a given InstructionHandle[], in a naturally ordered manner. |
InstructionContext[] |
getInstructionContexts()
Returns an InstructionContext[] with all the InstructionContext instances for the method whose control flow is represented by this ControlFlowGraph (NOT ORDERED!). |
boolean |
isDead(org.apache.bcel.generic.InstructionHandle i)
Returns true, if and only if the said instruction is not reachable; that means, if it is not part of this ControlFlowGraph. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ControlFlowGraph(org.apache.bcel.generic.MethodGen method_gen)
Method Detail |
public InstructionContext contextOf(org.apache.bcel.generic.InstructionHandle inst)
public InstructionContext[] contextsOf(org.apache.bcel.generic.InstructionHandle[] insts)
public InstructionContext[] getInstructionContexts()
public boolean isDead(org.apache.bcel.generic.InstructionHandle i)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |