< prev index next >

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

Print this page

        

*** 79,105 **** * @see SimpleTypeVisitor6 * @see SimpleTypeVisitor8 * @see SimpleTypeVisitor9 * @since 1.7 */ - @SuppressWarnings("deprecation") // Superclass deprecated @SupportedSourceVersion(RELEASE_7) public class SimpleTypeVisitor7<R, P> extends SimpleTypeVisitor6<R, P> { /** * Constructor for concrete subclasses; uses {@code null} for the * default value. */ protected SimpleTypeVisitor7(){ super(null); } /** * Constructor for concrete subclasses; uses the argument for the * default value. * * @param defaultValue the value to assign to {@link #DEFAULT_VALUE} */ protected SimpleTypeVisitor7(R defaultValue){ super(defaultValue); } /** --- 79,106 ---- * @see SimpleTypeVisitor6 * @see SimpleTypeVisitor8 * @see SimpleTypeVisitor9 * @since 1.7 */ @SupportedSourceVersion(RELEASE_7) public class SimpleTypeVisitor7<R, P> extends SimpleTypeVisitor6<R, P> { /** * Constructor for concrete subclasses; uses {@code null} for the * default value. */ + @SuppressWarnings("deprecation") // Superclass constructor deprecated protected SimpleTypeVisitor7(){ super(null); } /** * Constructor for concrete subclasses; uses the argument for the * default value. * * @param defaultValue the value to assign to {@link #DEFAULT_VALUE} */ + @SuppressWarnings("deprecation") // Superclass constructor deprecated protected SimpleTypeVisitor7(R defaultValue){ super(defaultValue); } /**
< prev index next >