com.borland.jbuilder.jot
Interface JotSynchronized

All Superinterfaces:
JotMarker, JotSourceElement, JotStatement

public interface JotSynchronized
extends JotStatement

This interface represents a Java synchronized statement. See section 14.17 in the Java Language Specification for more information.


Method Summary
 JotCodeBlock getCodeBlock()
          Returns the body of the synchronized statement.
 JotExpression getExpression()
          Returns an expression that evaluates to a reference.
 
Methods inherited from interface com.borland.jbuilder.jot.JotStatement
getStatements
 
Methods inherited from interface com.borland.jbuilder.jot.JotMarker
addUserData, getEndPosition, getStartPosition, getUserData
 
Methods inherited from interface com.borland.jbuilder.jot.JotSourceElement
getIndentLevel, getParent, getText, isModified, setModified, setText
 

Method Detail

getExpression

public JotExpression getExpression()
Returns an expression that evaluates to a reference. The non-null reference indicates the object that will be locked.

getCodeBlock

public JotCodeBlock getCodeBlock()
Returns the body of the synchronized statement.
Specified by:
getCodeBlock in interface JotStatement