KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > mirror > type > InterfaceType


1 /*
2  * @(#)InterfaceType.java 1.1 04/01/26
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.mirror.type;
9
10
11 import com.sun.mirror.declaration.*;
12
13
14 /**
15  * Represents an interface type.
16  * Note that an {@linkplain AnnotationType annotation type} is
17  * a kind of interface.
18  *
19  * <p> While an {@link InterfaceDeclaration} represents the
20  * <i>declaration</i> of an interface, an <tt>InterfaceType</tt>
21  * represents an interface <i>type</i>.
22  * See {@link TypeDeclaration} for more on this distinction.
23  *
24  * @author Joseph D. Darcy
25  * @author Scott Seligman
26  * @version 1.1 04/01/26
27  * @since 1.5
28  */

29
30 public interface InterfaceType extends DeclaredType {
31
32     /**
33      * {@inheritDoc}
34      */

35     InterfaceDeclaration getDeclaration();
36 }
37
Popular Tags