equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2010, 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_7 RELEASE_7} |
35 * the {@link javax.lang.model.SourceVersion#RELEASE_7 RELEASE_7} |
33 * source version. |
36 * source version. |
64 * methods. Use {@code Void} for visitors that do not need an |
67 * methods. Use {@code Void} for visitors that do not need an |
65 * additional parameter. |
68 * additional parameter. |
66 * |
69 * |
67 * @see AbstractTypeVisitor6 |
70 * @see AbstractTypeVisitor6 |
68 * @see AbstractTypeVisitor8 |
71 * @see AbstractTypeVisitor8 |
|
72 * @see AbstractTypeVisitor9 |
69 * @since 1.7 |
73 * @since 1.7 |
70 */ |
74 */ |
|
75 @SupportedSourceVersion(RELEASE_7) |
71 public abstract class AbstractTypeVisitor7<R, P> extends AbstractTypeVisitor6<R, P> { |
76 public abstract class AbstractTypeVisitor7<R, P> extends AbstractTypeVisitor6<R, P> { |
72 /** |
77 /** |
73 * Constructor for concrete subclasses to call. |
78 * Constructor for concrete subclasses to call. |
74 */ |
79 */ |
75 protected AbstractTypeVisitor7() { |
80 protected AbstractTypeVisitor7() { |