# Interface: com.pnfsoftware.jeb.core.units.code.java.IJavaGoto

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](IJavaBreak) or [continues](IJavaContinue), the label of a goto statement is mandatory.

## Method: duplicate
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaGoto`


## Method: getLabel
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaLabel`

Description: Get the label.
return: the label, never null

## Method: setLabel
- parameter: `label`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaLabel`

Description: Set the label.
parameter: label: mandatory label

