2015-11-28 18:52:17 -08:00
|
|
|
/*
|
2021-01-11 10:10:47 +00:00
|
|
|
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
|
2015-11-28 18:52:17 -08:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* This code is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 only, as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* version 2 for more details (a copy is included in the LICENSE file that
|
|
|
|
* accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version
|
|
|
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*
|
|
|
|
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
|
|
* or visit www.oracle.com if you need additional information or have any
|
|
|
|
* questions.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @test
|
2017-12-07 14:15:14 -08:00
|
|
|
* @bug 4927552 8026567 8071982 8162674 8175200 8175218 8183511 8186332
|
2021-02-23 18:55:13 +00:00
|
|
|
* 8169819 8074407 8191030 8182765 8184205 8243533 8261976
|
2017-11-16 15:01:45 -08:00
|
|
|
* @summary test generated docs for deprecated items
|
2018-12-21 10:38:33 -08:00
|
|
|
* @library ../../lib
|
8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
2016-03-17 19:04:28 +00:00
|
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.tool
|
2018-12-21 10:38:33 -08:00
|
|
|
* @build javadoc.tester.*
|
2015-11-28 18:52:17 -08:00
|
|
|
* @run main TestDeprecatedDocs
|
|
|
|
*/
|
|
|
|
|
2018-12-21 10:38:33 -08:00
|
|
|
import javadoc.tester.JavadocTester;
|
|
|
|
|
2015-11-28 18:52:17 -08:00
|
|
|
public class TestDeprecatedDocs extends JavadocTester {
|
|
|
|
|
|
|
|
public static void main(String... args) throws Exception {
|
|
|
|
TestDeprecatedDocs tester = new TestDeprecatedDocs();
|
|
|
|
tester.runTests();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Test
|
2018-12-21 10:38:33 -08:00
|
|
|
public void test() {
|
2015-11-28 18:52:17 -08:00
|
|
|
javadoc("-d", "out",
|
2020-10-07 13:08:34 +00:00
|
|
|
"--no-platform-links",
|
2015-11-28 18:52:17 -08:00
|
|
|
"-sourcepath", testSrc,
|
|
|
|
"pkg");
|
|
|
|
checkExit(Exit.OK);
|
|
|
|
|
|
|
|
checkOutput("deprecated-list.html", true,
|
|
|
|
"annotation_test1 passes",
|
|
|
|
"annotation_test2 passes",
|
|
|
|
"annotation_test3 passes",
|
2016-03-14 15:04:57 -07:00
|
|
|
"annotation_test4 passes.",
|
2015-11-28 18:52:17 -08:00
|
|
|
"class_test1 passes",
|
|
|
|
"class_test2 passes",
|
|
|
|
"class_test3 passes",
|
|
|
|
"class_test4 passes",
|
|
|
|
"enum_test1 passes",
|
|
|
|
"enum_test2 passes",
|
|
|
|
"error_test1 passes",
|
|
|
|
"error_test2 passes",
|
|
|
|
"error_test3 passes",
|
|
|
|
"error_test4 passes",
|
|
|
|
"exception_test1 passes",
|
|
|
|
"exception_test2 passes",
|
|
|
|
"exception_test3 passes",
|
|
|
|
"exception_test4 passes",
|
|
|
|
"interface_test1 passes",
|
|
|
|
"interface_test2 passes",
|
|
|
|
"interface_test3 passes",
|
|
|
|
"interface_test4 passes",
|
|
|
|
"pkg.DeprecatedClassByAnnotation",
|
|
|
|
"pkg.DeprecatedClassByAnnotation()",
|
|
|
|
"pkg.DeprecatedClassByAnnotation.method()",
|
|
|
|
"pkg.DeprecatedClassByAnnotation.field"
|
|
|
|
);
|
|
|
|
|
|
|
|
checkOutput("pkg/DeprecatedClassByAnnotation.html", true,
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
2020-11-27 19:12:31 +00:00
|
|
|
<div class="type-signature"><span class="annotations">@Deprecated
|
|
|
|
</span><span class="modifiers">public class </span><span class="element-name type-name-label">DeprecatedClassByAnnotation</span>
|
|
|
|
<span class="extends-implements">extends java.lang.Object</span></div>""",
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<div class="member-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
|
|
|
</span><span class="modifiers">public</span> <span class="return-type">int<\
|
2020-11-27 19:12:31 +00:00
|
|
|
/span> <span class="element-name">field</span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span></div>""",
|
|
|
|
"""
|
|
|
|
<div class="member-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
2020-11-27 19:12:31 +00:00
|
|
|
</span><span class="modifiers">public</span> <span class="element-name">DeprecatedClassByAnnotation</span>()</div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span></div>""",
|
|
|
|
"""
|
|
|
|
<div class="member-signature"><span class="annotations">@Deprecated
|
|
|
|
</span><span class="modifiers">public</span> <span class="return-type">void\
|
2020-11-27 19:12:31 +00:00
|
|
|
</span> <span class="element-name">method</span>()</div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span></div>""");
|
2016-12-13 12:25:58 -08:00
|
|
|
|
|
|
|
checkOutput("pkg/TestAnnotationType.html", true,
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<hr>
|
2020-11-27 19:12:31 +00:00
|
|
|
<div class="type-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
2020-05-05 13:02:30 -07:00
|
|
|
@Documented
|
2020-11-27 19:12:31 +00:00
|
|
|
</span><span class="modifiers">public @interface </span><span class="element-name type-n\
|
|
|
|
ame-label">TestAnnotationType</span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">annotation_test1 passes.</div>
|
|
|
|
</div>""",
|
|
|
|
"""
|
|
|
|
<div class="member-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
|
|
|
</span><span class="modifiers">static final</span> <span class="return-type\
|
2020-11-27 19:12:31 +00:00
|
|
|
">int</span> <span class="element-name">field</span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">annotation_test4 passes.</div>
|
|
|
|
</div>""",
|
|
|
|
"""
|
|
|
|
<div class="member-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
2020-11-27 19:12:31 +00:00
|
|
|
</span><span class="return-type">int</span> <span class="element-name">required</span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">annotation_test3 passes.</div>
|
|
|
|
</div>""",
|
|
|
|
"""
|
|
|
|
<div class="member-signature"><span class="return-type">java.lang.String</span>&\
|
2020-11-27 19:12:31 +00:00
|
|
|
nbsp;<span class="element-name">optional</span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
|
|
|
|
<div class="deprecation-comment">annotation_test2 passes.</div>
|
|
|
|
</div>""");
|
2016-12-13 12:25:58 -08:00
|
|
|
|
|
|
|
checkOutput("pkg/TestClass.html", true,
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<hr>
|
2020-11-27 19:12:31 +00:00
|
|
|
<div class="type-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
|
|
|
</span><span class="modifiers">public class </span><span class="element-name type-name-label">TestClass</span>
|
|
|
|
<span class="extends-implements">extends java.lang.Object</span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">class_test1 passes.</div>
|
|
|
|
</div>""",
|
|
|
|
"""
|
|
|
|
<div class="member-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
2020-11-27 19:12:31 +00:00
|
|
|
</span><span class="modifiers">public</span> <span class="element-name">TestClass</span>()</div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">class_test3 passes. This is the second sentence\
|
|
|
|
of deprecated description for a constructor.</div>
|
|
|
|
</div>""",
|
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color">
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
|
|
<div class="deprecation-comment">class_test2 passes.</div>
|
|
|
|
</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""",
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color">
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="block"><span class="deprecated-label">Deprecated, for removal: This \
|
|
|
|
API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">class_test3 passes.</div>
|
|
|
|
</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""",
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last odd-row-color">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="block"><span class="deprecated-label">Deprecated, for removal: This \
|
|
|
|
API element is subject to removal in a future version.</span>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-comment">class_test4 passes.</div>
|
|
|
|
</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""",
|
2020-06-19 18:21:08 +02:00
|
|
|
"""
|
2021-01-25 21:45:54 +00:00
|
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-ta\
|
|
|
|
b2 method-summary-table-tab4 method-summary-table-tab6">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
|
|
<div class="deprecation-comment">class_test5 passes.</div>
|
|
|
|
</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""",
|
2020-06-19 18:21:08 +02:00
|
|
|
"""
|
2021-01-25 21:45:54 +00:00
|
|
|
<div class="col-last even-row-color method-summary-table method-summary-table-ta\
|
|
|
|
b2 method-summary-table-tab4 method-summary-table-tab6">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
|
|
<div class="deprecation-comment">class_test6 passes.</div>
|
|
|
|
</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""",
|
2020-06-19 18:21:08 +02:00
|
|
|
"""
|
2021-01-25 21:45:54 +00:00
|
|
|
<div class="col-last odd-row-color method-summary-table method-summary-table-tab\
|
|
|
|
2 method-summary-table-tab4 method-summary-table-tab6">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="block"><span class="deprecated-label">Deprecated.</span>
|
|
|
|
<div class="deprecation-comment">class_test7 passes.</div>
|
|
|
|
</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""");
|
2017-10-03 12:58:49 -07:00
|
|
|
|
|
|
|
checkOutput("pkg/TestClass.html", false,
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<div class="deprecation-comment">class_test2 passes. This is the second sentence\
|
|
|
|
of deprecated description for a field.</div>
|
|
|
|
</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""",
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<div class="deprecation-comment">class_test3 passes. This is the second sentence\
|
|
|
|
of deprecated description for a constructor.</div>
|
|
|
|
</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""",
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<div class="deprecation-comment">class_test4 passes. This is the second sentence\
|
|
|
|
of deprecated description for a method.</div>
|
|
|
|
</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""");
|
2016-12-13 12:25:58 -08:00
|
|
|
|
|
|
|
checkOutput("pkg/TestEnum.html", true,
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<hr>
|
2020-11-27 19:12:31 +00:00
|
|
|
<div class="type-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
|
|
|
</span><span class="modifiers">public enum </span><span class="element-name type-name-label">TestEnum</span>
|
|
|
|
<span class="extends-implements">extends java.lang.Enum<<a href="TestEnum.htm\
|
2020-12-18 18:34:25 +00:00
|
|
|
l" title="enum class in pkg">TestEnum</a>></span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">enum_test1 passes.</div>
|
|
|
|
</div>""",
|
|
|
|
"""
|
|
|
|
<div class="member-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
|
|
|
</span><span class="modifiers">public static final</span> <span class="retu\
|
2020-12-18 18:34:25 +00:00
|
|
|
rn-type"><a href="TestEnum.html" title="enum class in pkg">TestEnum</a></span> <s\
|
2020-11-27 19:12:31 +00:00
|
|
|
pan class="element-name">FOR_REMOVAL</span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">enum_test3 passes.</div>
|
|
|
|
</div>""");
|
2016-12-13 12:25:58 -08:00
|
|
|
|
|
|
|
checkOutput("pkg/TestError.html", true,
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<hr>
|
2020-11-27 19:12:31 +00:00
|
|
|
<div class="type-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
|
|
|
</span><span class="modifiers">public class </span><span class="element-name type-name-label">TestError</span>
|
|
|
|
<span class="extends-implements">extends java.lang.Error</span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">error_test1 passes.</div>
|
|
|
|
</div>""");
|
2016-12-13 12:25:58 -08:00
|
|
|
|
|
|
|
checkOutput("pkg/TestException.html", true,
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<hr>
|
2020-11-27 19:12:31 +00:00
|
|
|
<div class="type-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
|
|
|
</span><span class="modifiers">public class </span><span class="element-name type-name-label">TestException</span>
|
|
|
|
<span class="extends-implements">extends java.lang.Exception</span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">exception_test1 passes.</div>
|
|
|
|
</div>""");
|
2016-12-13 12:25:58 -08:00
|
|
|
|
|
|
|
checkOutput("pkg/TestInterface.html", true,
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<hr>
|
2020-11-27 19:12:31 +00:00
|
|
|
<div class="type-signature"><span class="annotations">@Deprecated(forRemoval=true)
|
|
|
|
</span><span class="modifiers">public class </span><span class="element-name type-name-label">TestInterface</span>
|
|
|
|
<span class="extends-implements">extends java.lang.Object</span></div>
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-block"><span class="deprecated-label">Deprecated, for re\
|
|
|
|
moval: This API element is subject to removal in a future version.</span>
|
|
|
|
<div class="deprecation-comment">interface_test1 passes.</div>
|
|
|
|
</div>""");
|
2016-12-13 12:25:58 -08:00
|
|
|
|
|
|
|
checkOutput("deprecated-list.html", true,
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
|
|
|
<ul>
|
2021-02-23 18:55:13 +00:00
|
|
|
<li><a href="#for-removal">For Removal</a></li>
|
2020-05-05 13:02:30 -07:00
|
|
|
<li><a href="#class">Classes</a></li>
|
2021-02-23 18:55:13 +00:00
|
|
|
<li><a href="#enum-class">Enum Classes</a></li>
|
2020-05-05 13:02:30 -07:00
|
|
|
<li><a href="#exception">Exceptions</a></li>
|
|
|
|
<li><a href="#error">Errors</a></li>
|
2021-02-23 18:55:13 +00:00
|
|
|
<li><a href="#annotation-interface">Annotation Interfaces</a></li>
|
2020-05-05 13:02:30 -07:00
|
|
|
<li><a href="#field">Fields</a></li>
|
|
|
|
<li><a href="#method">Methods</a></li>
|
|
|
|
<li><a href="#constructor">Constructors</a></li>
|
2021-02-23 18:55:13 +00:00
|
|
|
<li><a href="#enum-constant">Enum Constants</a></li>
|
|
|
|
<li><a href="#annotation-interface-member">Annotation Interface Elements</a></li>
|
2020-05-05 13:02:30 -07:00
|
|
|
</ul>""",
|
|
|
|
"""
|
2021-02-23 18:55:13 +00:00
|
|
|
<div id="for-removal">
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="caption"><span>For Removal</span></div>
|
|
|
|
<div class="summary-table two-column-summary">
|
|
|
|
<div class="table-header col-first">Element</div>
|
|
|
|
<div class="table-header col-last">Description</div>""",
|
2020-05-05 13:02:30 -07:00
|
|
|
"""
|
2021-02-23 18:55:13 +00:00
|
|
|
<div id="enum-class">
|
2020-12-18 18:34:25 +00:00
|
|
|
<div class="caption"><span>Enum Classes</span></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="summary-table two-column-summary">
|
2020-12-18 18:34:25 +00:00
|
|
|
<div class="table-header col-first">Enum Class</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="table-header col-last">Description</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name even-row-color"><a href="pkg/TestEnum.html" title="enum class in pkg">pkg.TestEnum</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color">
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-comment">enum_test1 passes.</div>
|
|
|
|
</div>""",
|
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div id="exception">
|
|
|
|
<div class="caption"><span>Exceptions</span></div>
|
|
|
|
<div class="summary-table two-column-summary">
|
|
|
|
<div class="table-header col-first">Exceptions</div>
|
|
|
|
<div class="table-header col-last">Description</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name even-row-color"><a href="pkg/TestException.html" title="class in pkg">pkg.TestException</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color">
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-comment">exception_test1 passes.</div>
|
|
|
|
</div>""",
|
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div id="field">
|
|
|
|
<div class="caption"><span>Fields</span></div>
|
|
|
|
<div class="summary-table two-column-summary">
|
|
|
|
<div class="table-header col-first">Field</div>
|
|
|
|
<div class="table-header col-last">Description</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name even-row-color"><a href="pkg/DeprecatedClassByAnnotation.html#field">pkg.DeprecatedClassByAnnotation.field</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color"></div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name odd-row-color"><a href="pkg/TestAnnotationType.html#field">pkg.TestAnnotationType.field</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last odd-row-color">
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-comment">annotation_test4 passes.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name even-row-color"><a href="pkg/TestClass.html#field">pkg.TestClass.field</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color">
|
|
|
|
<div class="deprecation-comment">class_test2 passes. This is the second sentence of deprecated description for a field.</div>
|
|
|
|
</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name odd-row-color"><a href="pkg/TestError.html#field">pkg.TestError.field</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last odd-row-color">
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-comment">error_test2 passes.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name even-row-color"><a href="pkg/TestException.html#field">pkg.TestException.field</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color">
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-comment">exception_test2 passes.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name odd-row-color"><a href="pkg/TestInterface.html#field">pkg.TestInterface.field</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last odd-row-color">
|
2020-05-05 13:02:30 -07:00
|
|
|
<div class="deprecation-comment">interface_test2 passes.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-19 18:21:08 +02:00
|
|
|
</div>""",
|
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div id="method">
|
|
|
|
<div class="caption"><span>Methods</span></div>
|
|
|
|
<div class="summary-table two-column-summary">
|
|
|
|
<div class="table-header col-first">Method</div>
|
|
|
|
<div class="table-header col-last">Description</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name even-row-color"><a href="pkg/DeprecatedClassByAnnotation.html#method()">pkg.DeprecatedClassByAnnotation.method()</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color"></div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name odd-row-color"><a href="pkg/TestAnnotationType.html#optional()">pkg.TestAnnotationType.optional()</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last odd-row-color">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="deprecation-comment">annotation_test2 passes.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name even-row-color"><a href="pkg/TestAnnotationType.html#required()">pkg.TestAnnotationType.required()</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="deprecation-comment">annotation_test3 passes.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name odd-row-color"><a href="pkg/TestClass.html#method()">pkg.TestClass.method()</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last odd-row-color">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="deprecation-comment">class_test5 passes. This is the second sentence of deprecated description for a method.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name even-row-color"><a href="pkg/TestClass.html#overloadedMethod(int)">pkg.TestClass.overloadedMethod​(int)</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="deprecation-comment">class_test7 passes. Overloaded method 2.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name odd-row-color"><a href="pkg/TestClass.html#overloadedMethod(java.lang.String)">pkg.TestClass.overloadedMethod​(String)</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last odd-row-color">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="deprecation-comment">class_test6 passes. Overloaded method 1.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""",
|
2020-06-19 18:21:08 +02:00
|
|
|
"""
|
2020-10-12 09:36:43 +00:00
|
|
|
<div id="constructor">
|
|
|
|
<div class="caption"><span>Constructors</span></div>
|
|
|
|
<div class="summary-table two-column-summary">
|
|
|
|
<div class="table-header col-first">Constructor</div>
|
|
|
|
<div class="table-header col-last">Description</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name even-row-color"><a href="pkg/DeprecatedClassByAnnotation.html#%3Cinit%3E()">pkg.DeprecatedClassByAnnotation()</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color"></div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name odd-row-color"><a href="pkg/TestClass.html#%3Cinit%3E()">pkg.TestClass()</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last odd-row-color">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="deprecation-comment">class_test3 passes. This is the second sentence of deprecated description for a constructor.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>
|
2021-01-11 10:10:47 +00:00
|
|
|
<div class="col-summary-item-name even-row-color"><a href="pkg/TestClass.html#%3Cinit%3E(java.lang.String)">pkg.TestClass​(String)</a></div>
|
2020-10-12 09:36:43 +00:00
|
|
|
<div class="col-last even-row-color">
|
2020-06-19 18:21:08 +02:00
|
|
|
<div class="deprecation-comment">class_test4 passes. Overloaded constructor.</div>
|
2020-10-12 09:36:43 +00:00
|
|
|
</div>""");
|
2015-11-28 18:52:17 -08:00
|
|
|
}
|
|
|
|
}
|