public interface

IJavaBreak

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

Class Overview

Java AST interface to represent a break statement. A break statement may have an optional loop label.

Summary

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

Duplicate this element.

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

public abstract IJavaLabel getLabel ()

Get the optional break label.

Returns
  • the label, null if none

public abstract void setLabel (IJavaLabel label)

Set the break label.

Parameters
label optional label