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 |
32 |
32 |
33 /** |
33 /** |
34 * A visitor of types based on their {@linkplain TypeKind kind} with |
34 * A visitor of types based on their {@linkplain TypeKind kind} with |
35 * default behavior appropriate for source versions {@link |
35 * default behavior appropriate for source versions {@link |
36 * SourceVersion#RELEASE_9 RELEASE_9} through {@link |
36 * SourceVersion#RELEASE_9 RELEASE_9} through {@link |
37 * SourceVersion#RELEASE_13 RELEASE_13}. |
37 * SourceVersion#RELEASE_14 RELEASE_14}. |
38 * |
38 * |
39 * For {@linkplain |
39 * For {@linkplain |
40 * TypeMirror types} <code><i>Xyz</i></code> that may have more than one |
40 * TypeMirror types} <code><i>Xyz</i></code> that may have more than one |
41 * kind, the <code>visit<i>Xyz</i></code> methods in this class delegate |
41 * kind, the <code>visit<i>Xyz</i></code> methods in this class delegate |
42 * to the <code>visit<i>Xyz</i>As<i>Kind</i></code> method corresponding to the |
42 * to the <code>visit<i>Xyz</i>As<i>Kind</i></code> method corresponding to the |
75 * @see TypeKindVisitor6 |
75 * @see TypeKindVisitor6 |
76 * @see TypeKindVisitor7 |
76 * @see TypeKindVisitor7 |
77 * @see TypeKindVisitor8 |
77 * @see TypeKindVisitor8 |
78 * @since 9 |
78 * @since 9 |
79 */ |
79 */ |
80 @SupportedSourceVersion(RELEASE_13) |
80 @SupportedSourceVersion(RELEASE_14) |
81 public class TypeKindVisitor9<R, P> extends TypeKindVisitor8<R, P> { |
81 public class TypeKindVisitor9<R, P> extends TypeKindVisitor8<R, P> { |
82 /** |
82 /** |
83 * Constructor for concrete subclasses to call; uses {@code null} |
83 * Constructor for concrete subclasses to call; uses {@code null} |
84 * for the default value. |
84 * for the default value. |
85 */ |
85 */ |