KickJava   Java API By Example, From Geeks To Geeks.

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


1 package spoon.reflect.declaration;
2
3 import java.util.List JavaDoc;
4
5 import spoon.reflect.reference.CtTypeReference;
6
7 /**
8  * This abstract element defines a declaration that accepts formal type
9  * parameters (aka generics).
10  */

11 public interface CtGenericElement extends CtElement {
12     /**
13      * Returns the formal type parameters of this generic element.
14      */

15     List JavaDoc<CtTypeReference<?>> getFormalTypeParameters();
16
17     /**
18      * Sets the type parameters of this generic element.
19      */

20     void setFormalTypeParameters(List JavaDoc<CtTypeReference<?>> formalTypeParameters);
21 }
22
Popular Tags