1 /* |
1 /* |
2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2012, 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 |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package javax.lang.model.util; |
26 package javax.lang.model.util; |
27 |
27 |
28 |
28 import javax.annotation.processing.SupportedSourceVersion; |
|
29 import javax.lang.model.SourceVersion; |
29 import javax.lang.model.type.*; |
30 import javax.lang.model.type.*; |
30 import javax.annotation.processing.SupportedSourceVersion; |
|
31 import static javax.lang.model.element.ElementKind.*; |
|
32 import static javax.lang.model.SourceVersion.*; |
31 import static javax.lang.model.SourceVersion.*; |
33 import javax.lang.model.SourceVersion; |
|
34 |
32 |
35 /** |
33 /** |
36 * A visitor of types based on their {@linkplain TypeKind kind} with |
34 * A visitor of types based on their {@linkplain TypeKind kind} with |
37 * default behavior appropriate for the {@link SourceVersion#RELEASE_6 |
35 * default behavior appropriate for the {@link SourceVersion#RELEASE_6 |
38 * RELEASE_6} source version. For {@linkplain |
36 * RELEASE_6} source version. For {@linkplain |