|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.quilt.cover.generic.BlockVertex
Constructor Summary | |
BlockVertex()
BlockVertex Creates an empty basic block. |
|
BlockVertex(org.apache.bcel.generic.InstructionList il)
BlockVertex Creates a full basic block. |
|
BlockVertex(org.apache.bcel.generic.InstructionList il,
org.apache.bcel.classfile.LineNumberTable lnt)
BlockVertex Creates a full block vertex with a line number table. |
|
BlockVertex(org.apache.bcel.classfile.LineNumberTable lnt)
BlockVertex Creates an empty block vertex with a line number table. |
Method Summary | |
void |
addInstruction(org.apache.bcel.generic.InstructionHandle instruction)
Appends an instruction to this basic block. |
void |
chomp()
Removes the last instruction from the BlockVertex. |
BlockVertex |
copy()
|
org.apache.bcel.generic.InstructionList |
copyInstructionList()
|
org.apache.bcel.generic.InstructionHandle |
getFirstInst()
getFirstInst Returns the first instruction. |
org.apache.bcel.generic.InstructionHandle |
getLastInst()
getLastInst Returns the last instruction. |
int |
getLineEnd()
Returns the last line of this block, if available. |
int |
getLineStart()
Returns the first line of this block, if available. |
int |
getPCEnd()
Returns the starting PC of the block. |
int |
getPCStart()
Returns the starting PC of the block. |
int |
length()
|
protected void |
setInstructionList(org.apache.bcel.generic.InstructionList il)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BlockVertex()
public BlockVertex(org.apache.bcel.generic.InstructionList il)
public BlockVertex(org.apache.bcel.classfile.LineNumberTable lnt)
public BlockVertex(org.apache.bcel.generic.InstructionList il, org.apache.bcel.classfile.LineNumberTable lnt)
Method Detail |
public void addInstruction(org.apache.bcel.generic.InstructionHandle instruction)
public org.apache.bcel.generic.InstructionHandle getFirstInst()
public org.apache.bcel.generic.InstructionHandle getLastInst()
public int getLineStart()
public int getLineEnd()
public int getPCStart()
public int getPCEnd()
protected void setInstructionList(org.apache.bcel.generic.InstructionList il)
public int length()
public org.apache.bcel.generic.InstructionList copyInstructionList()
public void chomp()
public BlockVertex copy()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |