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

Java AST interface to represent return statements of methods. Return statements may or may not return expressions. 

 Examples:  

```

 return;
 
 return 1;
 
```

## Method: duplicate
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaReturn`


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

Description: Get the returned expression.
return: the expression, null if none

## Method: returnsVoid
- return type: `boolean`

Description: Determine if the return statement returns nothing \(void\).
return: true if there is no return value

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

Description: Set the returned expression.
parameter: e: optional return expression

