KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > reflect > code > CtExpression


1 package spoon.reflect.code;
2
3 import java.util.List JavaDoc;
4
5 import spoon.reflect.declaration.CtTypedElement;
6 import spoon.reflect.reference.CtTypeReference;
7 import spoon.template.TemplateParameter;
8
9
10 /**
11  * This abstract code element defines a typed expression.
12  * @param <T> the "return type" of this expression
13  */

14 public interface CtExpression<T> extends CtCodeElement, CtTypedElement<T>,
15         TemplateParameter<T> {
16
17     /**
18      * Returns the type casts if any.
19      */

20     List JavaDoc<CtTypeReference<?>> getTypeCasts();
21
22     /**
23      * Sets the type casts.
24      */

25     void setTypeCasts(List JavaDoc<CtTypeReference<?>> types);
26
27 }
28
Popular Tags