public interface

IJavaThrow

implements IJavaTerminalStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaThrow

Class Overview

Java AST interface to represent throw statements.

Example:

 throw new RuntimeException();
 

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
Public Methods
abstract IJavaThrow duplicate()
Duplicate this element.
abstract IJavaExpression getExpression()
Get the thrown expression.
abstract void setExpression(IJavaExpression throwable)
Set the thrown expression.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaExpression
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaStatement
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaTerminalStatement

Public Methods

public abstract IJavaThrow duplicate ()

Duplicate this element.

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

public abstract IJavaExpression getExpression ()

Get the thrown expression.

Returns
  • the thrown expression, non null

public abstract void setExpression (IJavaExpression throwable)

Set the thrown expression.

Parameters
throwable mandatory thrown expression