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

Java AST interface to represent a type reference. Type references are used in 'instanceof' expressions. 

 Example:  

```

 if(x instanceof SomeType) { ...
                 ^^^^^^^^
 
```

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


## Method: getType
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaType`

Description: Get the referenced type.
return: the type

## Method: setType
- parameter: `type`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaType`

Description: Set the referenced type.
parameter: type: the type

