Interface NodeWithOptionalLabel<T extends Node>
-
- All Known Implementing Classes:
ContinueStmt
public interface NodeWithOptionalLabel<T extends Node>
A node that has an optional label.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Optional<SimpleName>
getLabel()
default Optional<String>
getLabelAsString()
T
removeLabel()
T
setLabel(SimpleName label)
default T
setLabel(String label)
-
-
-
Method Detail
-
getLabel
Optional<SimpleName> getLabel()
-
setLabel
T setLabel(SimpleName label)
-
removeLabel
T removeLabel()
-
-