< prev index next >

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

Print this page




  51  * classes which extend this class should not declare any instance
  52  * methods with names beginning with {@code "visit"}.
  53  *
  54  * <p>When such a new visit method is added, the default
  55  * implementation in this class will be to call the {@link
  56  * #visitUnknown visitUnknown} method.  A new simple annotation
  57  * value visitor class will also be introduced to correspond to the
  58  * new language level; this visitor will have different default
  59  * behavior for the visit method in question.  When the new visitor is
  60  * introduced, all or portions of this visitor may be deprecated.
  61  *
  62  * @param <R> the return type of this visitor's methods
  63  * @param <P> the type of the additional parameter to this visitor's methods.
  64  *
  65  * @see SimpleAnnotationValueVisitor6
  66  * @see SimpleAnnotationValueVisitor7
  67  * @see SimpleAnnotationValueVisitor8
  68  * @see SimpleAnnotationValueVisitor9
  69  * @since 14
  70  */
  71 @SupportedSourceVersion(RELEASE_14)
  72 public class SimpleAnnotationValueVisitor14<R, P> extends SimpleAnnotationValueVisitor9<R, P> {
  73     /**
  74      * Constructor for concrete subclasses; uses {@code null} for the
  75      * default value.
  76      */
  77     protected SimpleAnnotationValueVisitor14() {
  78         super(null);
  79     }
  80 
  81     /**
  82      * Constructor for concrete subclasses; uses the argument for the
  83      * default value.
  84      *
  85      * @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
  86      */
  87     protected SimpleAnnotationValueVisitor14(R defaultValue) {
  88         super(defaultValue);
  89     }
  90 }


  51  * classes which extend this class should not declare any instance
  52  * methods with names beginning with {@code "visit"}.
  53  *
  54  * <p>When such a new visit method is added, the default
  55  * implementation in this class will be to call the {@link
  56  * #visitUnknown visitUnknown} method.  A new simple annotation
  57  * value visitor class will also be introduced to correspond to the
  58  * new language level; this visitor will have different default
  59  * behavior for the visit method in question.  When the new visitor is
  60  * introduced, all or portions of this visitor may be deprecated.
  61  *
  62  * @param <R> the return type of this visitor's methods
  63  * @param <P> the type of the additional parameter to this visitor's methods.
  64  *
  65  * @see SimpleAnnotationValueVisitor6
  66  * @see SimpleAnnotationValueVisitor7
  67  * @see SimpleAnnotationValueVisitor8
  68  * @see SimpleAnnotationValueVisitor9
  69  * @since 14
  70  */
  71 @SupportedSourceVersion(RELEASE_15)
  72 public class SimpleAnnotationValueVisitor14<R, P> extends SimpleAnnotationValueVisitor9<R, P> {
  73     /**
  74      * Constructor for concrete subclasses; uses {@code null} for the
  75      * default value.
  76      */
  77     protected SimpleAnnotationValueVisitor14() {
  78         super(null);
  79     }
  80 
  81     /**
  82      * Constructor for concrete subclasses; uses the argument for the
  83      * default value.
  84      *
  85      * @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
  86      */
  87     protected SimpleAnnotationValueVisitor14(R defaultValue) {
  88         super(defaultValue);
  89     }
  90 }
< prev index next >