|
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.JsrBlock
This block represents a jsr instruction. A jsr instruction is used to call the finally block, or to call the monitorexit block in a synchronized block.
Constructor Summary | |
JsrBlock()
|
Method Summary | |
void |
dumpInstruction(TabbedPrintWriter writer)
Print the instruction expressing this structured block. |
StructuredBlock[] |
getSubBlocks()
Returns all sub block of this structured block. |
boolean |
isGood()
|
VariableStack |
mapStackToLocal(VariableStack stack)
This is called after the analysis is completely done. |
boolean |
replaceSubBlock(StructuredBlock oldBlock,
StructuredBlock newBlock)
Replaces the given sub block with a new block. |
void |
setGood(boolean g)
|
void |
setSuccessors(Jump[] jumps)
Sets the successors of this structured block. |
Methods inherited from class net.sf.jode.flow.StructuredBlock |
appendBlock, checkConsistent, contains, copyJump, doTransformations, dumpSource, fillInGenSet, flowMayBeChanged, getDeclarables, getNextBlock, getNextBlock, getNextFlowBlock, getNextFlowBlock, isEmpty, isSingleExit, jumpMayBeChanged, makeDeclaration, moveJump, needsBraces, prependBlock, propagateUsage, removeBlock, removeJump, removeOnetimeLocals, removePush, replace, setFlowBlock, setJump, simplify, swapJump, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JsrBlock()
Method Detail |
public void setGood(boolean g)
public boolean isGood()
public void setSuccessors(Jump[] jumps)
setSuccessors
in class StructuredBlock
public boolean replaceSubBlock(StructuredBlock oldBlock, StructuredBlock newBlock)
replaceSubBlock
in class StructuredBlock
oldBlock
- the old sub block.newBlock
- the new sub block.
public VariableStack mapStackToLocal(VariableStack stack)
The default implementation merges the stack after each sub block. This may not be, what you want.
mapStackToLocal
in class StructuredBlock
public StructuredBlock[] getSubBlocks()
getSubBlocks
in class StructuredBlock
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
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |