public interface


implements IStatement

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.


Public Methods
abstract IJavaLabel getLabel()
Get the label.
abstract void setLabel(IJavaLabel label)
Set the label.
Inherited Methods
From interface

Public Methods

public abstract IJavaLabel getLabel ()

Get the label.

  • the label, never null

public abstract void setLabel (IJavaLabel label)

Set the label.

label mandatory label