src/jdk.javadoc/share/classes/com/sun/javadoc/ClassDoc.java
changeset 48840 5e2d2067da48
parent 47216 71c04702a3d5
child 49415 56a5f899e882
equal deleted inserted replaced
48839:042834d56fbf 48840:5e2d2067da48
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 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
    44  * @deprecated
    44  * @deprecated
    45  *   The declarations in this package have been superseded by those
    45  *   The declarations in this package have been superseded by those
    46  *   in the package {@code jdk.javadoc.doclet}.
    46  *   in the package {@code jdk.javadoc.doclet}.
    47  *   For more information, see the <i>Migration Guide</i> in the documentation for that package.
    47  *   For more information, see the <i>Migration Guide</i> in the documentation for that package.
    48  */
    48  */
    49 @Deprecated
    49 @Deprecated(since="9", forRemoval=true)
       
    50 @SuppressWarnings("removal")
    50 public interface ClassDoc extends ProgramElementDoc, Type {
    51 public interface ClassDoc extends ProgramElementDoc, Type {
    51 
    52 
    52     /**
    53     /**
    53      * Return true if this class is abstract.  Return true
    54      * Return true if this class is abstract.  Return true
    54      * for all interfaces.
    55      * for all interfaces.
   339      *
   340      *
   340      * @deprecated  Import declarations are implementation details that
   341      * @deprecated  Import declarations are implementation details that
   341      *          should not be exposed here.  In addition, not all imported
   342      *          should not be exposed here.  In addition, not all imported
   342      *          classes are imported through single-type-import declarations.
   343      *          classes are imported through single-type-import declarations.
   343      */
   344      */
   344     @Deprecated
   345     @Deprecated(since="9", forRemoval=true)
   345     ClassDoc[] importedClasses();
   346     ClassDoc[] importedClasses();
   346 
   347 
   347     /**
   348     /**
   348      * Get the list of packages declared as imported.
   349      * Get the list of packages declared as imported.
   349      * These are called "type-import-on-demand declarations" in
   350      * These are called "type-import-on-demand declarations" in
   354      * @deprecated  Import declarations are implementation details that
   355      * @deprecated  Import declarations are implementation details that
   355      *          should not be exposed here.  In addition, this method's
   356      *          should not be exposed here.  In addition, this method's
   356      *          return type does not allow for all type-import-on-demand
   357      *          return type does not allow for all type-import-on-demand
   357      *          declarations to be returned.
   358      *          declarations to be returned.
   358      */
   359      */
   359     @Deprecated
   360     @Deprecated(since="9", forRemoval=true)
   360     PackageDoc[] importedPackages();
   361     PackageDoc[] importedPackages();
   361 }
   362 }