49 *
50 * @apiNote
51 * Methods in this class may be overridden subject to their general
52 * contract.
53 *
54 * @param <R> the return type of this visitor's methods. Use {@code Void}
55 * for visitors that do not need to return results.
56 * @param <P> the type of the additional parameter to this visitor's methods. Use {@code Void}
57 * for visitors that do not need an additional parameter.
58 *
59 * @see <a href="SimpleElementVisitor6.html#note_for_subclasses">
60 * <strong>Compatibility note for subclasses</strong></a>
61 * @see SimpleElementVisitor6
62 * @see SimpleElementVisitor7
63 * @see SimpleElementVisitor8
64 * @see SimpleElementVisitor9
65 * @since 14
66 */
67 @jdk.internal.PreviewFeature(feature=jdk.internal.PreviewFeature.Feature.RECORDS,
68 essentialAPI=false)
69 @SupportedSourceVersion(RELEASE_15)
70 public class SimpleElementVisitor14<R, P> extends SimpleElementVisitor9<R, P> {
71 /**
72 * Constructor for concrete subclasses; uses {@code null} for the
73 * default value.
74 */
75 protected SimpleElementVisitor14(){
76 super(null);
77 }
78
79 /**
80 * Constructor for concrete subclasses; uses the argument for the
81 * default value.
82 *
83 * @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
84 */
85 protected SimpleElementVisitor14(R defaultValue){
86 super(defaultValue);
87 }
88
89 /**
|
49 *
50 * @apiNote
51 * Methods in this class may be overridden subject to their general
52 * contract.
53 *
54 * @param <R> the return type of this visitor's methods. Use {@code Void}
55 * for visitors that do not need to return results.
56 * @param <P> the type of the additional parameter to this visitor's methods. Use {@code Void}
57 * for visitors that do not need an additional parameter.
58 *
59 * @see <a href="SimpleElementVisitor6.html#note_for_subclasses">
60 * <strong>Compatibility note for subclasses</strong></a>
61 * @see SimpleElementVisitor6
62 * @see SimpleElementVisitor7
63 * @see SimpleElementVisitor8
64 * @see SimpleElementVisitor9
65 * @since 14
66 */
67 @jdk.internal.PreviewFeature(feature=jdk.internal.PreviewFeature.Feature.RECORDS,
68 essentialAPI=false)
69 @SupportedSourceVersion(RELEASE_16)
70 public class SimpleElementVisitor14<R, P> extends SimpleElementVisitor9<R, P> {
71 /**
72 * Constructor for concrete subclasses; uses {@code null} for the
73 * default value.
74 */
75 protected SimpleElementVisitor14(){
76 super(null);
77 }
78
79 /**
80 * Constructor for concrete subclasses; uses the argument for the
81 * default value.
82 *
83 * @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
84 */
85 protected SimpleElementVisitor14(R defaultValue){
86 super(defaultValue);
87 }
88
89 /**
|