KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > support > reflect > code > CtBreakImpl


1 package spoon.support.reflect.code;
2
3 import spoon.reflect.code.CtBreak;
4 import spoon.reflect.visitor.CtVisitor;
5
6 public class CtBreakImpl extends CtStatementImpl implements CtBreak {
7     private static final long serialVersionUID = 1L;
8
9     String JavaDoc targetLabel;
10
11     public void accept(CtVisitor visitor) {
12         visitor.visitCtBreak(this);
13     }
14
15     public String JavaDoc getTargetLabel() {
16         return targetLabel;
17     }
18
19     public void setTargetLabel(String JavaDoc targetLabel) {
20         this.targetLabel = targetLabel;
21     }
22
23 }
24
Popular Tags