- 
- All Superinterfaces:
- StatementTree,- Tree
 - All Known Subinterfaces:
- BreakTree,- ContinueTree
 
 @Deprecated(since="11", forRemoval=true) public interface GotoTree extends StatementTree Deprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.A tree node for a statement that jumps to a target. Note that ECMAScript does not support a goto statement. But, this Tree type serves as a super interface forBreakTreeandContinueTree.- Since:
- 9
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetLabel()Deprecated, for removal: This API element is subject to removal in a future version.Label associated with this goto statement.- 
Methods declared in interface jdk.nashorn.api.tree.Treeaccept, getEndPosition, getKind, getStartPosition
 
- 
 
- 
- 
- 
Method Detail- 
getLabelString getLabel() Deprecated, for removal: This API element is subject to removal in a future version.Label associated with this goto statement. This is null if there is no label associated with this goto statement.- Returns:
- label associated with this goto statement.
 
 
- 
 
-