langtools/test/tools/doclint/ProvidesTest.java
author ihse
Wed, 21 Jun 2017 12:51:25 +0200 (2017-06-21)
changeset 45763 2a2e56f4c03b
parent 42831 feff6f296019
child 44822 2f24758e7ae0
permissions -rw-r--r--
8179892: Update build documentation for JDK 9 Reviewed-by: erikj
/*
 * @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 ProvidesTest.out ProvidesTest.java
 */

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

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