< prev index next >

src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor14.java

Print this page

        

*** 29,38 **** --- 29,46 ---- import javax.annotation.processing.SupportedSourceVersion; import static javax.lang.model.SourceVersion.*; import javax.lang.model.SourceVersion; /** + * {@preview Associated with records, a preview feature of the Java language. + * + * This class is associated with <i>records</i>, a preview + * feature of the Java language. Programs can only use this + * method when preview features are enabled. Preview features + * may be removed in a future release, or upgraded to permanent + * features of the Java language.} + * * A visitor of program elements based on their {@linkplain * ElementKind kind} with default behavior appropriate for the {@link * SourceVersion#RELEASE_14 RELEASE_14} source version. * * For {@linkplain
*** 76,90 **** * @see ElementKindVisitor6 * @see ElementKindVisitor7 * @see ElementKindVisitor8 * @see ElementKindVisitor9 * @since 14 - * @deprecated This class is part of a preview feature and may be removed - * if the preview feature is removed. */ ! @Deprecated(forRemoval=true, since="14") ! @SuppressWarnings("removal") @SupportedSourceVersion(RELEASE_14) public class ElementKindVisitor14<R, P> extends ElementKindVisitor9<R, P> { /** * Constructor for concrete subclasses; uses {@code null} for the * default value. --- 84,97 ---- * @see ElementKindVisitor6 * @see ElementKindVisitor7 * @see ElementKindVisitor8 * @see ElementKindVisitor9 * @since 14 */ ! @jdk.internal.PreviewFeature(feature=jdk.internal.PreviewFeature.Feature.RECORDS, ! essentialAPI=false) ! @SuppressWarnings("preview") @SupportedSourceVersion(RELEASE_14) public class ElementKindVisitor14<R, P> extends ElementKindVisitor9<R, P> { /** * Constructor for concrete subclasses; uses {@code null} for the * default value.
< prev index next >