KickJava   Java API By Example, From Geeks To Geeks.

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


1 package spoon.support.reflect.code;
2
3 import spoon.reflect.code.CtExpression;
4 import spoon.reflect.code.CtWhile;
5 import spoon.reflect.visitor.CtVisitor;
6
7 public class CtWhileImpl extends CtLoopImpl implements CtWhile {
8     private static final long serialVersionUID = 1L;
9     CtExpression<Boolean JavaDoc> expression;
10
11     public void accept(CtVisitor visitor) {
12         visitor.visitCtWhile(this);
13     }
14
15     public CtExpression<Boolean JavaDoc> getLoopingExpression() {
16         return expression;
17     }
18
19     public void setLoopingExpression(CtExpression<Boolean JavaDoc> expression) {
20         this.expression = expression;
21     }
22
23 }
24
Popular Tags