37 * appropriate for the {@link SourceVersion#RELEASE_6 RELEASE_6} 38 * source version. 39 * 40 * <p> <b>WARNING:</b> The {@code AnnotationValueVisitor} interface 41 * implemented by this class may have methods added to it in the 42 * future to accommodate new, currently unknown, language structures 43 * added to future versions of the Java™ programming language. 44 * Therefore, methods whose names begin with {@code "visit"} may be 45 * added to this class in the future; to avoid incompatibilities, 46 * classes which extend this class should not declare any instance 47 * methods with names beginning with {@code "visit"}. 48 * 49 * <p>When such a new visit method is added, the default 50 * implementation in this class will be to call the {@link 51 * #visitUnknown visitUnknown} method. A new abstract annotation 52 * value visitor class will also be introduced to correspond to the 53 * new language level; this visitor will have different default 54 * behavior for the visit method in question. When the new visitor is 55 * introduced, all or portions of this visitor may be deprecated. 56 * 57 * <p>Note that adding a default implementation of a new visit method 58 * in a visitor class will occur instead of adding a <em>default 59 * method</em> directly in the visitor interface since a Java SE 8 60 * language feature cannot be used to this version of the API since 61 * this version is required to be runnable on Java SE 7 62 * implementations. Future versions of the API that are only required 63 * to run on Java SE 8 and later may take advantage of default methods 64 * in this situation. 65 * 66 * @param <R> the return type of this visitor's methods 67 * @param <P> the type of the additional parameter to this visitor's methods. 68 * 69 * @author Joseph D. Darcy 70 * @author Scott Seligman 71 * @author Peter von der Ahé 72 * 73 * @see AbstractAnnotationValueVisitor7 74 * @see AbstractAnnotationValueVisitor8 75 * @see AbstractAnnotationValueVisitor9 76 * @since 1.6 77 * @deprecated Release 6 is obsolete; update to a visitor for a newer 78 * release level. 79 */ 80 @Deprecated 81 @SupportedSourceVersion(RELEASE_6) 82 public abstract class AbstractAnnotationValueVisitor6<R, P> 83 implements AnnotationValueVisitor<R, P> { 84 85 /** | 37 * appropriate for the {@link SourceVersion#RELEASE_6 RELEASE_6} 38 * source version. 39 * 40 * <p> <b>WARNING:</b> The {@code AnnotationValueVisitor} interface 41 * implemented by this class may have methods added to it in the 42 * future to accommodate new, currently unknown, language structures 43 * added to future versions of the Java™ programming language. 44 * Therefore, methods whose names begin with {@code "visit"} may be 45 * added to this class in the future; to avoid incompatibilities, 46 * classes which extend this class should not declare any instance 47 * methods with names beginning with {@code "visit"}. 48 * 49 * <p>When such a new visit method is added, the default 50 * implementation in this class will be to call the {@link 51 * #visitUnknown visitUnknown} method. A new abstract annotation 52 * value visitor class will also be introduced to correspond to the 53 * new language level; this visitor will have different default 54 * behavior for the visit method in question. When the new visitor is 55 * introduced, all or portions of this visitor may be deprecated. 56 * 57 * @param <R> the return type of this visitor's methods 58 * @param <P> the type of the additional parameter to this visitor's methods. 59 * 60 * @author Joseph D. Darcy 61 * @author Scott Seligman 62 * @author Peter von der Ahé 63 * 64 * @see AbstractAnnotationValueVisitor7 65 * @see AbstractAnnotationValueVisitor8 66 * @see AbstractAnnotationValueVisitor9 67 * @since 1.6 68 * @deprecated Release 6 is obsolete; update to a visitor for a newer 69 * release level. 70 */ 71 @Deprecated 72 @SupportedSourceVersion(RELEASE_6) 73 public abstract class AbstractAnnotationValueVisitor6<R, P> 74 implements AnnotationValueVisitor<R, P> { 75 76 /** |