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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 135,145 **** /** * An implementation-reserved type. * This is not the type you are looking for. */ ! OTHER; /** * Returns {@code true} if this kind corresponds to a primitive * type and {@code false} otherwise. * @return {@code true} if this kind corresponds to a primitive type --- 135,152 ---- /** * An implementation-reserved type. * This is not the type you are looking for. */ ! OTHER, ! ! /** ! * A disjunctive type. ! * ! * @since 1.7 ! */ ! DISJUNCTIVE; /** * Returns {@code true} if this kind corresponds to a primitive * type and {@code false} otherwise. * @return {@code true} if this kind corresponds to a primitive type