Source code: javax/ide/model/java/declaration/TypeVariableD.java
1 /*
2 * @(#)TypeVariableD.java
3 */
4
5 package javax.ide.model.java.declaration;
6
7 import java.util.Collection;
8
9 /**
10 * Mirrors a type variable.
11 *
12 * @author Andy Yu
13 */
14 public interface TypeVariableD
15 extends TypeD, HasNameD
16 {
17 /**
18 * Gets the bounds, in order.
19 *
20 * @return The collection of type declarations for the bounds of this
21 * type variable, in order.
22 */
23 public Collection getBounds();
24
25 /**
26 * Gets the declaring generic declaration.
27 *
28 * @return The declaring generic declaration.
29 */
30 public GenericD getGenericDeclaration();
31
32 }