Jode 1.90-CVS
Build Aug 6, 2004

net.sf.jode.flow
Class DescriptionBlock

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

public class DescriptionBlock
extends StructuredBlock

This is a block which contains a comment/description of what went wrong. Use this, if you want to tell the user, that a construct doesn't have the exspected form.

Author:
Jochen Hoenicke

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

DescriptionBlock

public DescriptionBlock(java.lang.String description)
Method Detail

isEmpty

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

Overrides:
isEmpty in class StructuredBlock

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.