src/share/classes/javax/lang/model/type/TypeKind.java

changeset 851
cad51b6eb7a6
parent 554
9d9f26857129
child 969
8cc5b440fdde
equal deleted inserted replaced
850:2ab47c4cd618 851:cad51b6eb7a6
1 /* 1 /*
2 * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2011, 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
135 135
136 /** 136 /**
137 * An implementation-reserved type. 137 * An implementation-reserved type.
138 * This is not the type you are looking for. 138 * This is not the type you are looking for.
139 */ 139 */
140 OTHER; 140 OTHER,
141
142 /**
143 * A disjunctive type.
144 *
145 * @since 1.7
146 */
147 DISJUNCTIVE;
141 148
142 /** 149 /**
143 * Returns {@code true} if this kind corresponds to a primitive 150 * Returns {@code true} if this kind corresponds to a primitive
144 * type and {@code false} otherwise. 151 * type and {@code false} otherwise.
145 * @return {@code true} if this kind corresponds to a primitive type 152 * @return {@code true} if this kind corresponds to a primitive type

mercurial