797N/A * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 553N/A * or visit www.oracle.com if you need additional information or have any 0N/A * @bug 4682448 4947464 5029946 0N/A * @summary Verify that the public modifier does not show up in the 0N/A * documentation for public methods, as recommended by the JLS. 0N/A * If A implements I and B extends A, B should be in the list of 0N/A * implementing classes in the documentation for I. 0N/A * @build JavadocTester 0N/A * @build TestInterface 0N/A * @run main TestInterface 0N/A //Javadoc arguments. 0N/A //Input for string search tests. 765N/A "<pre>int method()</pre>"},
765N/A "<pre>static final int field</pre>"},
0N/A // Make sure known implementing class list is correct and omits type parameters. 765N/A "<dl>" +
NL +
"<dt>All Known Implementing Classes:</dt>" +
NL +
0N/A // Make sure "All Implemented Interfaces": has substituted type parameters 765N/A "<dl>" +
NL +
"<dt>All Implemented Interfaces:</dt>" +
NL +
765N/A "Interface</a><T></dd>" +
NL +
"</dl>" 0N/A //Make sure Class Tree has substituted type parameters. 765N/A "<ul class=\"inheritance\">" +
NL +
"<li>java.lang.Object</li>" +
NL +
765N/A "<li>" +
NL +
"<ul class=\"inheritance\">" +
NL +
765N/A "pkg.Parent</a><T></li>" +
NL +
"<li>" +
NL +
765N/A "<ul class=\"inheritance\">" +
NL +
"<li>pkg.Child<T></li>" +
NL +
765N/A "</ul>" +
NL +
"</li>" +
NL +
"</ul>" +
NL +
"</li>" +
NL +
"</ul>" 0N/A //Make sure "Direct Know Subclasses" omits type parameters 765N/A "<dl>" +
NL +
"<dt>Direct Known Subclasses:</dt>" +
NL +
0N/A //Make sure "Specified By" has substituted type parameters. 765N/A "<dt><strong>Specified by:</strong></dt>" +
NL +
765N/A "</code> in interface <code>" +
765N/A "T</a>></code></dd>" 0N/A //Make sure "Overrides" has substituted type parameters. 765N/A "<dt><strong>Overrides:</strong></dt>" +
NL +
765N/A "title=\"type parameter in Child\">T</a>></code></dd>" 765N/A "public int method()"},
765N/A "public static final int field"},
0N/A * The entry point of the test. 0N/A * @param args the array of command line arguments.