public interface

IJavaGoto

implements IStatement
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

Public Methods
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

Public Methods

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