equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2014, 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; |
28 import javax.lang.model.type.*; |
29 import javax.lang.model.type.*; |
|
30 |
|
31 import static javax.lang.model.SourceVersion.*; |
29 |
32 |
30 /** |
33 /** |
31 * A skeletal visitor of types with default behavior appropriate for |
34 * A skeletal visitor of types with default behavior appropriate for |
32 * the {@link javax.lang.model.SourceVersion#RELEASE_6 RELEASE_6} |
35 * the {@link javax.lang.model.SourceVersion#RELEASE_6 RELEASE_6} |
33 * source version. |
36 * source version. |
68 * @author Scott Seligman |
71 * @author Scott Seligman |
69 * @author Peter von der Ahé |
72 * @author Peter von der Ahé |
70 * |
73 * |
71 * @see AbstractTypeVisitor7 |
74 * @see AbstractTypeVisitor7 |
72 * @see AbstractTypeVisitor8 |
75 * @see AbstractTypeVisitor8 |
|
76 * @see AbstractTypeVisitor9 |
73 * @since 1.6 |
77 * @since 1.6 |
|
78 * @deprecated Release 6 is obsolete; update to a visitor for a newer |
|
79 * release level. |
74 */ |
80 */ |
|
81 @Deprecated |
|
82 @SupportedSourceVersion(RELEASE_6) |
75 public abstract class AbstractTypeVisitor6<R, P> implements TypeVisitor<R, P> { |
83 public abstract class AbstractTypeVisitor6<R, P> implements TypeVisitor<R, P> { |
76 /** |
84 /** |
77 * Constructor for concrete subclasses to call. |
85 * Constructor for concrete subclasses to call. |
78 */ |
86 */ |
79 protected AbstractTypeVisitor6() {} |
87 protected AbstractTypeVisitor6() {} |