public interface

IJavaTypeReference

implements IJavaExpression INonStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaTypeReference

Class Overview

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

Example: if(pet instanceof Dog) { ... }

Summary

Public Methods
abstract IJavaType getType()
Get the referenced type.
abstract void setType(IJavaType type)
Set the referenced type.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement

Public Methods

public abstract IJavaType getType ()

Get the referenced type.

Returns
  • the type

public abstract void setType (IJavaType type)

Set the referenced type.

Parameters
type the type