KickJava   Java API By Example, From Geeks To Geeks.

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


1 package spoon.support.reflect.code;
2
3 import spoon.reflect.code.CtCodeElement;
4 import spoon.reflect.code.CtLoop;
5 import spoon.reflect.code.CtStatement;
6 import spoon.reflect.declaration.CtSimpleType;
7
8 public abstract class CtLoopImpl extends CtStatementImpl implements CtLoop {
9
10     CtStatement body;
11
12     public CtStatement getBody() {
13         return body;
14     }
15
16     public CtCodeElement getSubstitution(CtSimpleType targetType) {
17         return getFactory().Core().clone(this);
18     }
19
20     public Void JavaDoc S() {
21         return null;
22     }
23
24     public void setBody(CtStatement body) {
25         this.body = body;
26     }
27 }
28
Popular Tags