jreversepro.reflect.method
Class JSynchBlock

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

public class JSynchBlock
extends JBlockObject

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

Field Summary
 
Fields inherited from class jreversepro.reflect.method.JBlockObject
indent
 
Constructor Summary
JSynchBlock(JBranchEntry _jbe, java.lang.String _var)
          Creates a new instance of JSynchBlock
 
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

JSynchBlock

public JSynchBlock(JBranchEntry _jbe,
                   java.lang.String _var)
Creates a new instance of JSynchBlock

Parameters:
_var - The variable name to synch on
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