public interface

IJavaGoto

implements IJavaStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaGoto

Class Overview

Java AST interface to represent a "goto" statement.

Note: Goto statements are not legal Java constructs. However, they are often necessary to maintain semantic consistency -- at the cost of syntactic inaccuracies.

Unlike breaks or continues, the label of a goto statement is mandatory.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
Public Methods
abstract IJavaGoto duplicate()
Duplicate this element.
abstract IJavaLabel getLabel()
Get the label.
abstract void setLabel(IJavaLabel label)
Set the label.
[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

Public Methods

public abstract IJavaGoto duplicate ()

Duplicate this element.

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

public abstract IJavaLabel getLabel ()

Get the label.

Returns
  • the label, never null

public abstract void setLabel (IJavaLabel label)

Set the label.

Parameters
label mandatory label