< prev index next >

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

Print this page




  56  * #visitUnknown visitUnknown} method.  A new abstract element visitor
  57  * class will also be introduced to correspond to the new language
  58  * level; this visitor will have different default behavior for the
  59  * visit method in question.  When the new visitor is introduced, all
  60  * or portions of this visitor may be deprecated.
  61  *
  62  * @param <R> the return type of this visitor's methods.  Use {@link
  63  *            Void} for visitors that do not need to return results.
  64  * @param <P> the type of the additional parameter to this visitor's
  65  *            methods.  Use {@code Void} for visitors that do not need an
  66  *            additional parameter.
  67  *
  68  * @see AbstractElementVisitor6
  69  * @see AbstractElementVisitor7
  70  * @see AbstractElementVisitor8
  71  * @see AbstractElementVisitor9
  72  * @since 14
  73  */
  74 @jdk.internal.PreviewFeature(feature=jdk.internal.PreviewFeature.Feature.RECORDS,
  75                              essentialAPI=false)
  76 @SupportedSourceVersion(RELEASE_14)
  77 public abstract class AbstractElementVisitor14<R, P> extends AbstractElementVisitor9<R, P> {
  78     /**
  79      * Constructor for concrete subclasses to call.
  80      */
  81     protected AbstractElementVisitor14(){
  82         super();
  83     }
  84 
  85     /**
  86      * {@inheritDoc}
  87      *
  88      * @implSpec Visits a {@code RecordComponentElement} in a manner defined by a
  89      * subclass.
  90      *
  91      * @param t  {@inheritDoc}
  92      * @param p  {@inheritDoc}
  93      * @return   {@inheritDoc}
  94      */
  95     @SuppressWarnings("preview")
  96     @Override


  56  * #visitUnknown visitUnknown} method.  A new abstract element visitor
  57  * class will also be introduced to correspond to the new language
  58  * level; this visitor will have different default behavior for the
  59  * visit method in question.  When the new visitor is introduced, all
  60  * or portions of this visitor may be deprecated.
  61  *
  62  * @param <R> the return type of this visitor's methods.  Use {@link
  63  *            Void} for visitors that do not need to return results.
  64  * @param <P> the type of the additional parameter to this visitor's
  65  *            methods.  Use {@code Void} for visitors that do not need an
  66  *            additional parameter.
  67  *
  68  * @see AbstractElementVisitor6
  69  * @see AbstractElementVisitor7
  70  * @see AbstractElementVisitor8
  71  * @see AbstractElementVisitor9
  72  * @since 14
  73  */
  74 @jdk.internal.PreviewFeature(feature=jdk.internal.PreviewFeature.Feature.RECORDS,
  75                              essentialAPI=false)
  76 @SupportedSourceVersion(RELEASE_15)
  77 public abstract class AbstractElementVisitor14<R, P> extends AbstractElementVisitor9<R, P> {
  78     /**
  79      * Constructor for concrete subclasses to call.
  80      */
  81     protected AbstractElementVisitor14(){
  82         super();
  83     }
  84 
  85     /**
  86      * {@inheritDoc}
  87      *
  88      * @implSpec Visits a {@code RecordComponentElement} in a manner defined by a
  89      * subclass.
  90      *
  91      * @param t  {@inheritDoc}
  92      * @param p  {@inheritDoc}
  93      * @return   {@inheritDoc}
  94      */
  95     @SuppressWarnings("preview")
  96     @Override
< prev index next >