langtools/src/share/classes/javax/lang/model/type/TypeKind.java
changeset 15385 ee1eebe7e210
parent 14725 65836e833f59
child 16556 f4adc5bb4652
equal deleted inserted replaced
15384:5a8d00abf076 15385:ee1eebe7e210
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2013, 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      * An annotated type.
       
   158      *
       
   159      * @since 1.8
       
   160      */
       
   161     ANNOTATED;
   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