Home | History | Annotate | Download | only in stmt

Lines Matching defs:label

40  * <br/>In <code>break abc;</code> the label is abc.
47 private SimpleName label;
53 public BreakStmt(final String label) {
54 this(null, new SimpleName(label));
58 public BreakStmt(final SimpleName label) {
59 this(null, label);
66 public BreakStmt(TokenRange tokenRange, SimpleName label) {
68 setLabel(label);
86 return Optional.ofNullable(label);
90 * Sets the label
92 * @param label the label, can be null
96 public BreakStmt setLabel(final SimpleName label) {
97 if (label == this.label) {
100 notifyPropertyChange(ObservableProperty.LABEL, this.label, label);
101 if (this.label != null)
102 this.label.setParentNode(null);
103 this.label = label;
104 setAsParentNodeOf(label);
113 if (label != null) {
114 if (node == label) {
144 if (label != null) {
145 if (node == label) {