test/langtools/tools/doclint/UsesTest.java
author herrick
Thu, 06 Jun 2019 19:51:17 -0400
branchJDK-8200758-branch
changeset 57396 3944e4c2f779
parent 47216 71c04702a3d5
permissions -rw-r--r--
8223586: remove jpackage dead code and other cleanup Reviewed-by: asemenyuk, almatvee

/*
 * @test /nodynamiccopyright/
 * @bug 8160196
 * @summary Module summary page should display information based on "api" or "detail" mode.
 * @modules jdk.compiler/com.sun.tools.doclint
 * @build DocLintTester
 * @run main DocLintTester -ref UsesTest.out UsesTest.java
 */

/**
 * Invalid use of uses in class documentation.
 *
 * @uses NotFound
 */
public class UsesTest {
    /**
     * Invalid use of uses in field documentation
     *
     * @uses NotFound Test description.
     */
    public int invalid_param;

    /**
     * Invalid use of uses in method documentation
     *
     * @uses NotFound Test description.
     */
    public class InvalidParam { }
}