# Interface: com.pnfsoftware.jeb.core.units.code.java.IJavaSynchronizedBlock

Java AST interface to represent a synchronized block of code. 

 Example: 

```

 synchronized(lockVar) {
     ...
 }
 
```

## Method: getBody
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaBlock`

Description: Get the body.
return: the body of code

## Method: getLock
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaExpression`

Description: Get the lock
return: the lock

## Method: setBody
- parameter: `b`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaBlock`

Description: Set the body.
parameter: b: 

## Method: setLock
- parameter: `lock`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaExpression`

Description: Set the lock.
parameter: lock: 

