src/jdk.javadoc/share/classes/com/sun/javadoc/ClassDoc.java
changeset 48840 5e2d2067da48
parent 47216 71c04702a3d5
child 49415 56a5f899e882
--- a/src/jdk.javadoc/share/classes/com/sun/javadoc/ClassDoc.java	Fri Feb 09 13:58:40 2018 -0800
+++ b/src/jdk.javadoc/share/classes/com/sun/javadoc/ClassDoc.java	Fri Feb 09 13:58:17 2018 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -46,7 +46,8 @@
  *   in the package {@code jdk.javadoc.doclet}.
  *   For more information, see the <i>Migration Guide</i> in the documentation for that package.
  */
-@Deprecated
+@Deprecated(since="9", forRemoval=true)
+@SuppressWarnings("removal")
 public interface ClassDoc extends ProgramElementDoc, Type {
 
     /**
@@ -341,7 +342,7 @@
      *          should not be exposed here.  In addition, not all imported
      *          classes are imported through single-type-import declarations.
      */
-    @Deprecated
+    @Deprecated(since="9", forRemoval=true)
     ClassDoc[] importedClasses();
 
     /**
@@ -356,6 +357,6 @@
      *          return type does not allow for all type-import-on-demand
      *          declarations to be returned.
      */
-    @Deprecated
+    @Deprecated(since="9", forRemoval=true)
     PackageDoc[] importedPackages();
 }