|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jode.flow.StructuredBlock
net.sf.jode.flow.ContinueBlock
Constructor Summary | |
ContinueBlock(LoopBlock continuesBlock,
boolean needsLabel)
|
Method Summary | |
void |
checkConsistent()
|
void |
dumpInstruction(TabbedPrintWriter writer)
Print the instruction expressing this structured block. |
StructuredBlock |
getNextBlock()
Returns the block where the control will normally flow to, when this block is finished (not ignoring the jump after this block). |
FlowBlock |
getNextFlowBlock()
Returns the flow block where the control will normally flow to, when this block is finished (not ignoring the jump after this block). |
boolean |
isEmpty()
Tells if this block is empty and only changes control flow. |
boolean |
jumpMayBeChanged()
|
VariableStack |
mapStackToLocal(VariableStack stack)
This is called after the analysis is completely done. |
boolean |
needsBraces()
Tells if this block needs braces when used in a if or while block. |
Methods inherited from class net.sf.jode.flow.StructuredBlock |
appendBlock, contains, copyJump, doTransformations, dumpSource, fillInGenSet, flowMayBeChanged, getDeclarables, getNextBlock, getNextFlowBlock, getSubBlocks, isSingleExit, makeDeclaration, moveJump, prependBlock, propagateUsage, removeBlock, removeJump, removeOnetimeLocals, removePush, replace, replaceSubBlock, setFlowBlock, setJump, setSuccessors, simplify, swapJump, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ContinueBlock(LoopBlock continuesBlock, boolean needsLabel)
Method Detail |
public void checkConsistent()
checkConsistent
in class StructuredBlock
public boolean isEmpty()
isEmpty
in class StructuredBlock
public StructuredBlock getNextBlock()
getNextBlock
in class StructuredBlock
public FlowBlock getNextFlowBlock()
getNextFlowBlock
in class StructuredBlock
public VariableStack mapStackToLocal(VariableStack stack)
mapStackToLocal
in class StructuredBlock
stack
- the stackmap at begin of the block
public void dumpInstruction(TabbedPrintWriter writer) throws java.io.IOException
StructuredBlock
dumpInstruction
in class StructuredBlock
writer
- The tabbed print writer, where we print to.
java.io.IOException
public boolean needsBraces()
StructuredBlock
needsBraces
in class StructuredBlock
public boolean jumpMayBeChanged()
jumpMayBeChanged
in class StructuredBlock
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |