jreversepro.reflect.method
Class JSwitchBlock

java.lang.Object
  extended by jreversepro.reflect.method.JBlockObject
      extended by jreversepro.reflect.method.JSwitchBlock

public class JSwitchBlock
extends JBlockObject

Author:
pazandak@objs.com, Copyright 2002.

Field Summary
 
Fields inherited from class jreversepro.reflect.method.JBlockObject
indent
 
Constructor Summary
JSwitchBlock(JBranchEntry _jbe, java.lang.String _expr)
          Creates a new instance of JSwitchBlock
 
Method Summary
protected  java.lang.String getEntryCode()
          Outputs any starting code to open the block
protected  java.lang.String getExitCode()
          Outputs any terminating code to close the block
 
Methods inherited from class jreversepro.reflect.method.JBlockObject
addBlock, addStatement, getEntryLineOfCode, getExitLineOfCode, getFlattenedCode, isSimpleBlock, removeLastBlock, removeLastStatement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSwitchBlock

public JSwitchBlock(JBranchEntry _jbe,
                    java.lang.String _expr)
Creates a new instance of JSwitchBlock

Method Detail

getEntryCode

protected java.lang.String getEntryCode()
Outputs any starting code to open the block

Overrides:
getEntryCode in class JBlockObject

getExitCode

protected java.lang.String getExitCode()
Outputs any terminating code to close the block

Overrides:
getExitCode in class JBlockObject


Submit Feedback to akkumar@users.sourceforge.net