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 simple visitor of types with default behavior appropriate for |
34 * A simple 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 * Visit methods corresponding to {@code RELEASE_9} and earlier |
38 * Visit methods corresponding to {@code RELEASE_9} and earlier |
39 * language constructs call {@link #defaultAction defaultAction}, |
39 * language constructs call {@link #defaultAction defaultAction}, |
40 * passing their arguments to {@code defaultAction}'s corresponding |
40 * passing their arguments to {@code defaultAction}'s corresponding |
41 * parameters. |
41 * parameters. |
71 * @see SimpleTypeVisitor6 |
71 * @see SimpleTypeVisitor6 |
72 * @see SimpleTypeVisitor7 |
72 * @see SimpleTypeVisitor7 |
73 * @see SimpleTypeVisitor8 |
73 * @see SimpleTypeVisitor8 |
74 * @since 9 |
74 * @since 9 |
75 */ |
75 */ |
76 @SupportedSourceVersion(RELEASE_13) |
76 @SupportedSourceVersion(RELEASE_14) |
77 public class SimpleTypeVisitor9<R, P> extends SimpleTypeVisitor8<R, P> { |
77 public class SimpleTypeVisitor9<R, P> extends SimpleTypeVisitor8<R, P> { |
78 /** |
78 /** |
79 * Constructor for concrete subclasses; uses {@code null} for the |
79 * Constructor for concrete subclasses; uses {@code null} for the |
80 * default value. |
80 * default value. |
81 */ |
81 */ |