view test/tools/doclint/UsesTest.java @ 4124:f260f1a2acf6 jdk-9+167

8176327: javac produces wrong module-info 8178518: Add method JavaFileManager.contains Reviewed-by: jlahoda
author jjg
date Mon, 24 Apr 2017 14:59:43 -0700
parents 209b0eab0e1f
children
line wrap: on
line source

/*
 * @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 { }
}