< prev index next >

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

Print this page

        

*** 85,98 **** * * @see SimpleElementVisitor7 * @see SimpleElementVisitor8 * @see SimpleElementVisitor9 * @since 1.6 - * @deprecated Release 6 is obsolete; update to a visitor for a newer - * release level. */ - @Deprecated @SupportedSourceVersion(RELEASE_6) public class SimpleElementVisitor6<R, P> extends AbstractElementVisitor6<R, P> { /** * Default value to be returned; {@link #defaultAction * defaultAction} returns this value unless the method is --- 85,95 ----
*** 101,121 **** --- 98,124 ---- 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 SimpleElementVisitor6(){ 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 SimpleElementVisitor6(R defaultValue){ DEFAULT_VALUE = defaultValue; } /** * The default action for visit methods. The implementation in
< prev index next >