< prev index next >

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

Print this page

        

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