org.inxar.jenesis
Interface Synchronized

All Superinterfaces:
Block, Codeable, Statement

public interface Synchronized
extends Statement, Block

Statement subinterface for the synchronized construct.


Method Summary
 Expression getMutex()
          Gets the object or expression to synchronize upon.
 void setMutex(Expression e)
          Sets the object or expression to synchronize upon.
 
Methods inherited from interface org.inxar.jenesis.Statement
comment, getLabel, setLabel
 
Methods inherited from interface org.inxar.jenesis.Codeable
getComment, setComment, toCode, vm
 
Methods inherited from interface org.inxar.jenesis.Block
getStatements, newBreak, newContinue, newDoWhile, newEmpty, newFor, newIf, newLet, newLocalBlock, newLocalClass, newReturn, newStmt, newSwitch, newSynchronized, newThrow, newTry, newWhile
 

Method Detail

setMutex

public void setMutex(Expression e)
Sets the object or expression to synchronize upon.

getMutex

public Expression getMutex()
Gets the object or expression to synchronize upon.