KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > reflect > reference > CtTypeParameterReference


1 package spoon.reflect.reference;
2
3 import java.util.List JavaDoc;
4
5 /**
6  * This interface defines a reference to a
7  * {@link spoon.reflect.declaration.CtTypeParameter}.
8  */

9 public interface CtTypeParameterReference extends CtTypeReference<Object JavaDoc> {
10
11     /**
12      * Gets the bounds (aka generics) of the referenced parameter.
13      */

14     List JavaDoc<CtTypeReference> getBounds();
15
16     /**
17      * Returns {@code true} if the bounds are upper bounds.
18      */

19     boolean isUpper();
20
21     /**
22      * Sets the bounds (aka generics) of the referenced parameter.
23      */

24     void setBounds(List JavaDoc<CtTypeReference> Bounds);
25
26     /**
27      * Set to {@code true} if the bounds are upper bounds.
28      */

29     void setUpper(boolean upper);
30
31 }
32
Popular Tags