KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > lang > model > type > NoType


1 /*
2  * @(#)NoType.java 1.4 06/07/31
3  *
4  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.lang.model.type;
9
10 import javax.lang.model.element.ExecutableElement;
11
12
13 /**
14  * A pseudo-type used where no actual type is appropriate.
15  * The kinds of {@code NoType} are:
16  * <ul>
17  * <li>{@link TypeKind#VOID VOID} - corresponds to the keyword {@code void}.
18  * <li>{@link TypeKind#PACKAGE PACKAGE} - the pseudo-type of a package element.
19  * <li>{@link TypeKind#NONE NONE} - used in other cases
20  * where no actual type is appropriate; for example, the superclass
21  * of {@code java.lang.Object}.
22  * </ul>
23  *
24  * @author Joseph D. Darcy
25  * @author Scott Seligman
26  * @author Peter von der Ah&eacute;
27  * @version 1.4 06/07/31
28  * @see ExecutableElement#getReturnType()
29  * @since 1.6
30  */

31
32 public interface NoType extends TypeMirror {
33 }
34
Popular Tags