KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > reflect > declaration > CtTypedElement


1 package spoon.reflect.declaration;
2
3 import spoon.reflect.reference.CtTypeReference;
4
5 /**
6  * This abstract element defines a typed element.
7  */

8 public interface CtTypedElement<T> {
9     /**
10      * Gets this element's type.
11      */

12     CtTypeReference<T> getType();
13
14     /**
15      * Sets this element's type.
16      */

17     void setType(CtTypeReference<T> type);
18 }
19
Popular Tags