/* * @test /nodynamiccopyright/ * @bug 8004832 * @summary Add new doclint package * @build DocLintTester * @run main DocLintTester -ref AnchorTest.out AnchorTest.java */ /** */ public class AnchorTest { // tests for /** * */ public void a_name_foo() { } /** * */ public void a_name_already_defined() { } /** * */ public void a_name_empty() { } /** * */ public void a_name_invalid() { } /** * */ public void a_name_missing() { } // tests for /** * */ public void a_id_foo() { } /** * */ public void a_id_already_defined() { } /** * */ public void a_id_empty() { } /** * */ public void a_id_invalid() { } /** * */ public void a_id_missing() { } // tests for id=value on non- tags /** *

text

*/ public void p_id_foo() { } /** *

text

*/ public void p_id_already_defined() { } /** *

text

*/ public void p_id_empty() { } /** *

text

*/ public void p_id_invalid() { } /** *

text

*/ public void p_id_missing() { } }