langtools/src/java.compiler/share/classes/javax/lang/model/type/TypeKind.java
changeset 36526 3b41f1c69604
parent 25874 83c19f00452c
child 43767 9cff98a149cb
equal deleted inserted replaced
36525:4caf88912b7f 36526:3b41f1c69604
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   149     /**
   149     /**
   150       * An intersection type.
   150       * An intersection type.
   151       *
   151       *
   152       * @since 1.8
   152       * @since 1.8
   153       */
   153       */
   154     INTERSECTION;
   154     INTERSECTION,
       
   155 
       
   156     /**
       
   157      * A pseudo-type corresponding to a module element.
       
   158      * @see NoType
       
   159      * @since 9
       
   160      */
       
   161     MODULE;
   155 
   162 
   156     /**
   163     /**
   157      * Returns {@code true} if this kind corresponds to a primitive
   164      * Returns {@code true} if this kind corresponds to a primitive
   158      * type and {@code false} otherwise.
   165      * type and {@code false} otherwise.
   159      * @return {@code true} if this kind corresponds to a primitive type
   166      * @return {@code true} if this kind corresponds to a primitive type