Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: javax/ide/model/java/declaration/WildcardTypeD.java


1   /*
2    * @(#)WildcardTypeD.java
3    */
4   
5   package javax.ide.model.java.declaration;
6   
7   import java.util.Collection;
8   
9   /**
10   * Mirrors a wildcard type. <p/>
11   *
12   * @author Andy Yu
13   */
14  public interface WildcardTypeD
15    extends TypeD
16  {
17    /**
18     * Returns the upper bounds. Note that if no upper bound is
19     * explicitly declared, the upper bound is java/lang/Object. <p/>
20     *
21     * @return The type declarations for the upper bounds of this wildcard
22     * type. <p/>
23     *
24     * Collection of TypeDs.
25     */
26    public Collection getUpperBounds();
27  
28    /**
29     * Returns the lower bounds. Note that if no lower bound is
30     * explicitly declared, no lower bound will be listed here even
31     * though the implicit lower bound is the type of <code>null</code>.
32     * <p/>
33     *
34     * @return The type declarations for the lower bounds of this wildcard
35     * type, null if none. <p/>
36     *
37     * Collection of TypeDs.
38     */
39    public Collection getLowerBounds();
40  }