public interface

IJavaTypeReference

implements IJavaExpression
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(x instanceof SomeType) { ...
                 ^^^^^^^^
 

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
Public Methods
abstract IJavaTypeReference duplicate()
Duplicate this element.
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
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaExpression

Public Methods

public abstract IJavaTypeReference duplicate ()

Duplicate this element.

Returns
  • a (possibly) duplicated object of the same type

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