< prev index next >
src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor6.java
Print this page
@@ -88,31 +88,34 @@
*
* @see ElementKindVisitor7
* @see ElementKindVisitor8
* @see ElementKindVisitor9
* @since 1.6
- * @deprecated Release 6 is obsolete; update to a visitor for a newer
- * release level.
*/
-@Deprecated
@SupportedSourceVersion(RELEASE_6)
public class ElementKindVisitor6<R, P>
extends SimpleElementVisitor6<R, P> {
/**
* 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 ElementKindVisitor6() {
super(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 ElementKindVisitor6(R defaultValue) {
super(defaultValue);
}
/**
< prev index next >