1 /* |
1 /* |
2 * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2010, 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 import javax.annotation.processing.SupportedSourceVersion; |
|
29 import javax.lang.model.SourceVersion; |
28 import javax.lang.model.element.*; |
30 import javax.lang.model.element.*; |
29 import static javax.lang.model.element.ElementKind.*; |
|
30 import javax.annotation.processing.SupportedSourceVersion; |
|
31 import static javax.lang.model.SourceVersion.*; |
31 import static javax.lang.model.SourceVersion.*; |
32 import javax.lang.model.SourceVersion; |
|
33 |
32 |
34 /** |
33 /** |
35 * A visitor of program elements based on their {@linkplain |
34 * A visitor of program elements based on their {@linkplain |
36 * ElementKind kind} with default behavior appropriate for the {@link |
35 * ElementKind kind} with default behavior appropriate for the {@link |
37 * SourceVersion#RELEASE_7 RELEASE_7} source version. For {@linkplain |
36 * SourceVersion#RELEASE_7 RELEASE_7} source version. For {@linkplain |