public interface

IJavaSynchronizedBlock

implements IJavaCompound
com.pnfsoftware.jeb.core.units.code.java.IJavaSynchronizedBlock

Class Overview

Java AST interface to represent a synchronized block of code.

Example:

 synchronized(lockVar) {
     ...
 }
 

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
Public Methods
abstract IJavaBlock getBody()
Get the body.
abstract IJavaExpression getLock()
Get the lock
abstract void setBody(IJavaBlock b)
Set the body.
abstract void setLock(IJavaExpression lock)
Set the lock.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaCompound
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaExpression
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaStatement

Public Methods

public abstract IJavaBlock getBody ()

Get the body.

Returns
  • the body of code

public abstract IJavaExpression getLock ()

Get the lock

Returns
  • the lock

public abstract void setBody (IJavaBlock b)

Set the body.

public abstract void setLock (IJavaExpression lock)

Set the lock.