jreversepro.reflect.method
Class JMethodBlock

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

public class JMethodBlock
extends JBlockObject

Author:
pazandak@objs.com -- Copyright 2002.

Field Summary
 
Fields inherited from class jreversepro.reflect.method.JBlockObject
indent
 
Constructor Summary
JMethodBlock()
          Creates a new instance of JMethodBlock
 
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
 java.lang.String toString()
          Outputs the method code contained in this block (and sub-blocks) as a string
 
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, wait, wait, wait
 

Constructor Detail

JMethodBlock

public JMethodBlock()
Creates a new instance of JMethodBlock

Method Detail

toString

public java.lang.String toString()
Outputs the method code contained in this block (and sub-blocks) as a string

Overrides:
toString in class java.lang.Object

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