equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2018, 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 |
80 public class ElementKindVisitor8<R, P> extends ElementKindVisitor7<R, P> { |
80 public class ElementKindVisitor8<R, P> extends ElementKindVisitor7<R, P> { |
81 /** |
81 /** |
82 * Constructor for concrete subclasses; uses {@code null} for the |
82 * Constructor for concrete subclasses; uses {@code null} for the |
83 * default value. |
83 * default value. |
84 */ |
84 */ |
|
85 @SuppressWarnings("deprecation") // Superclass constructor deprecated |
85 protected ElementKindVisitor8() { |
86 protected ElementKindVisitor8() { |
86 super(null); |
87 super(null); |
87 } |
88 } |
88 |
89 |
89 /** |
90 /** |
90 * Constructor for concrete subclasses; uses the argument for the |
91 * Constructor for concrete subclasses; uses the argument for the |
91 * default value. |
92 * default value. |
92 * |
93 * |
93 * @param defaultValue the value to assign to {@link #DEFAULT_VALUE} |
94 * @param defaultValue the value to assign to {@link #DEFAULT_VALUE} |
94 */ |
95 */ |
|
96 @SuppressWarnings("deprecation") // Superclass constructor deprecated |
95 protected ElementKindVisitor8(R defaultValue) { |
97 protected ElementKindVisitor8(R defaultValue) { |
96 super(defaultValue); |
98 super(defaultValue); |
97 } |
99 } |
98 } |
100 } |