Jode 1.90-CVS
Build Aug 6, 2004

net.sf.jode.flow
Class EmptyBlock

java.lang.Object
  extended bynet.sf.jode.flow.StructuredBlock
      extended bynet.sf.jode.flow.EmptyBlock

public class EmptyBlock
extends StructuredBlock

This is the structured block for an empty block.


Constructor Summary
EmptyBlock()
           
EmptyBlock(Jump jump)
           
 
Method Summary
 StructuredBlock appendBlock(StructuredBlock block)
          Appends a block to this block.
 void dumpInstruction(TabbedPrintWriter writer)
          Print the instruction expressing this structured block.
 boolean isEmpty()
          Tells if this block is empty and only changes control flow.
 StructuredBlock prependBlock(StructuredBlock block)
          Prepends a block to this block.
 
Methods inherited from class net.sf.jode.flow.StructuredBlock
checkConsistent, contains, copyJump, doTransformations, dumpSource, fillInGenSet, flowMayBeChanged, getDeclarables, getNextBlock, getNextBlock, getNextFlowBlock, getNextFlowBlock, getSubBlocks, isSingleExit, jumpMayBeChanged, makeDeclaration, mapStackToLocal, moveJump, needsBraces, 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

EmptyBlock

public EmptyBlock()

EmptyBlock

public EmptyBlock(Jump jump)
Method Detail

isEmpty

public boolean isEmpty()
Tells if this block is empty and only changes control flow.

Overrides:
isEmpty in class StructuredBlock

appendBlock

public StructuredBlock appendBlock(StructuredBlock block)
Appends a block to this block.

Overrides:
appendBlock in class StructuredBlock
Returns:
the new combined block.

prependBlock

public StructuredBlock prependBlock(StructuredBlock block)
Prepends a block to this block.

Overrides:
prependBlock in class StructuredBlock
Returns:
the new combined block.

dumpInstruction

public void dumpInstruction(TabbedPrintWriter writer)
                     throws java.io.IOException
Description copied from class: StructuredBlock
Print the instruction expressing this structured block.

Specified by:
dumpInstruction in class StructuredBlock
Parameters:
writer - The tabbed print writer, where we print to.
Throws:
java.io.IOException

Jode 1.90-CVS
Build Aug 6, 2004

Copyright © 1998-2004 by Jochen Hoenicke.