equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2019, 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 |
31 import static javax.lang.model.SourceVersion.*; |
31 import static javax.lang.model.SourceVersion.*; |
32 |
32 |
33 /** |
33 /** |
34 * A skeletal visitor of types with default behavior appropriate for |
34 * A skeletal visitor of types with default behavior appropriate for |
35 * source versions {@link SourceVersion#RELEASE_9 RELEASE_9} through |
35 * source versions {@link SourceVersion#RELEASE_9 RELEASE_9} through |
36 * {@link SourceVersion#RELEASE_13 RELEASE_13}. |
36 * {@link SourceVersion#RELEASE_14 RELEASE_14}. |
37 * |
37 * |
38 * <p> <b>WARNING:</b> The {@code TypeVisitor} interface implemented |
38 * <p> <b>WARNING:</b> The {@code TypeVisitor} interface implemented |
39 * by this class may have methods added to it in the future to |
39 * by this class may have methods added to it in the future to |
40 * accommodate new, currently unknown, language structures added to |
40 * accommodate new, currently unknown, language structures added to |
41 * future versions of the Java™ programming language. |
41 * future versions of the Java™ programming language. |
61 * @see AbstractTypeVisitor6 |
61 * @see AbstractTypeVisitor6 |
62 * @see AbstractTypeVisitor7 |
62 * @see AbstractTypeVisitor7 |
63 * @see AbstractTypeVisitor8 |
63 * @see AbstractTypeVisitor8 |
64 * @since 9 |
64 * @since 9 |
65 */ |
65 */ |
66 @SupportedSourceVersion(RELEASE_13) |
66 @SupportedSourceVersion(RELEASE_14) |
67 public abstract class AbstractTypeVisitor9<R, P> extends AbstractTypeVisitor8<R, P> { |
67 public abstract class AbstractTypeVisitor9<R, P> extends AbstractTypeVisitor8<R, P> { |
68 /** |
68 /** |
69 * Constructor for concrete subclasses to call. |
69 * Constructor for concrete subclasses to call. |
70 */ |
70 */ |
71 protected AbstractTypeVisitor9() { |
71 protected AbstractTypeVisitor9() { |