41 * A skeletal visitor of program elements with default behavior
42 * appropriate for the {@link SourceVersion#RELEASE_14 RELEASE_14}
43 * source version.
44 *
45 * @param <R> the return type of this visitor's methods. Use {@link
46 * Void} for visitors that do not need to return results.
47 * @param <P> the type of the additional parameter to this visitor's
48 * methods. Use {@code Void} for visitors that do not need an
49 * additional parameter.
50 *
51 * @see <a href="AbstractElementVisitor6.html#note_for_subclasses">
52 * <strong>Compatibility note for subclasses</strong></a>
53 * @see AbstractElementVisitor6
54 * @see AbstractElementVisitor7
55 * @see AbstractElementVisitor8
56 * @see AbstractElementVisitor9
57 * @since 14
58 */
59 @jdk.internal.PreviewFeature(feature=jdk.internal.PreviewFeature.Feature.RECORDS,
60 essentialAPI=false)
61 @SupportedSourceVersion(RELEASE_15)
62 public abstract class AbstractElementVisitor14<R, P> extends AbstractElementVisitor9<R, P> {
63 /**
64 * Constructor for concrete subclasses to call.
65 */
66 protected AbstractElementVisitor14(){
67 super();
68 }
69
70 /**
71 * {@inheritDoc}
72 *
73 * @implSpec Visits a {@code RecordComponentElement} in a manner defined by a
74 * subclass.
75 *
76 * @param t {@inheritDoc}
77 * @param p {@inheritDoc}
78 * @return {@inheritDoc}
79 */
80 @SuppressWarnings("preview")
81 @Override
|
41 * A skeletal visitor of program elements with default behavior
42 * appropriate for the {@link SourceVersion#RELEASE_14 RELEASE_14}
43 * source version.
44 *
45 * @param <R> the return type of this visitor's methods. Use {@link
46 * Void} for visitors that do not need to return results.
47 * @param <P> the type of the additional parameter to this visitor's
48 * methods. Use {@code Void} for visitors that do not need an
49 * additional parameter.
50 *
51 * @see <a href="AbstractElementVisitor6.html#note_for_subclasses">
52 * <strong>Compatibility note for subclasses</strong></a>
53 * @see AbstractElementVisitor6
54 * @see AbstractElementVisitor7
55 * @see AbstractElementVisitor8
56 * @see AbstractElementVisitor9
57 * @since 14
58 */
59 @jdk.internal.PreviewFeature(feature=jdk.internal.PreviewFeature.Feature.RECORDS,
60 essentialAPI=false)
61 @SupportedSourceVersion(RELEASE_16)
62 public abstract class AbstractElementVisitor14<R, P> extends AbstractElementVisitor9<R, P> {
63 /**
64 * Constructor for concrete subclasses to call.
65 */
66 protected AbstractElementVisitor14(){
67 super();
68 }
69
70 /**
71 * {@inheritDoc}
72 *
73 * @implSpec Visits a {@code RecordComponentElement} in a manner defined by a
74 * subclass.
75 *
76 * @param t {@inheritDoc}
77 * @param p {@inheritDoc}
78 * @return {@inheritDoc}
79 */
80 @SuppressWarnings("preview")
81 @Override
|