< prev index next >
src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor6.java
Print this page
@@ -81,14 +81,11 @@
*
* @see SimpleAnnotationValueVisitor7
* @see SimpleAnnotationValueVisitor8
* @see SimpleAnnotationValueVisitor9
* @since 1.6
- * @deprecated Release 6 is obsolete; update to a visitor for a newer
- * release level.
*/
-@Deprecated
@SupportedSourceVersion(RELEASE_6)
public class SimpleAnnotationValueVisitor6<R, P>
extends AbstractAnnotationValueVisitor6<R, P> {
/**
@@ -99,22 +96,28 @@
protected final R DEFAULT_VALUE;
/**
* Constructor for concrete subclasses; uses {@code null} for the
* default value.
+ * @deprecated Release 6 is obsolete; update to a visitor for a newer
+ * release level.
*/
+ @Deprecated
protected SimpleAnnotationValueVisitor6() {
super();
DEFAULT_VALUE = null;
}
/**
* Constructor for concrete subclasses; uses the argument for the
* default value.
*
* @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
+ * @deprecated Release 6 is obsolete; update to a visitor for a newer
+ * release level.
*/
+ @Deprecated
protected SimpleAnnotationValueVisitor6(R defaultValue) {
super();
DEFAULT_VALUE = defaultValue;
}
< prev index next >