src/java.compiler/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java
changeset 50964 225b61293064
parent 47868 5cc5b8270cad
child 53218 9db2dda367c6
equal deleted inserted replaced
50963:69b438908512 50964:225b61293064
     1 /*
     1 /*
     2  * Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    75 @SupportedSourceVersion(RELEASE_7)
    75 @SupportedSourceVersion(RELEASE_7)
    76 public class SimpleTypeVisitor7<R, P> extends SimpleTypeVisitor6<R, P> {
    76 public class SimpleTypeVisitor7<R, P> extends SimpleTypeVisitor6<R, P> {
    77     /**
    77     /**
    78      * Constructor for concrete subclasses; uses {@code null} for the
    78      * Constructor for concrete subclasses; uses {@code null} for the
    79      * default value.
    79      * default value.
       
    80      *
       
    81      * @deprecated Release 7 is obsolete; update to a visitor for a newer
       
    82      * release level.
    80      */
    83      */
    81     @SuppressWarnings("deprecation") // Superclass constructor deprecated
    84     @Deprecated
    82     protected SimpleTypeVisitor7(){
    85     protected SimpleTypeVisitor7(){
    83         super(null);
    86         super(null); // Superclass constructor deprecated too
    84     }
    87     }
    85 
    88 
    86     /**
    89     /**
    87      * Constructor for concrete subclasses; uses the argument for the
    90      * Constructor for concrete subclasses; uses the argument for the
    88      * default value.
    91      * default value.
    89      *
    92      *
    90      * @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
    93      * @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
       
    94      *
       
    95      * @deprecated Release 7 is obsolete; update to a visitor for a newer
       
    96      * release level.
    91      */
    97      */
    92     @SuppressWarnings("deprecation") // Superclass constructor deprecated
    98     @Deprecated
    93     protected SimpleTypeVisitor7(R defaultValue){
    99     protected SimpleTypeVisitor7(R defaultValue){
    94         super(defaultValue);
   100         super(defaultValue); // Superclass constructor deprecated too
    95     }
   101     }
    96 
   102 
    97     /**
   103     /**
    98      * {@inheritDoc}
   104      * {@inheritDoc}
    99      *
   105      *