jdk-24/test/langtools/tools/doclint/ProvidesTest.java
Jonathan Gibbons f765a7f513 8252712: move doclint to jdk.javadoc module
Reviewed-by: hannesw
2020-09-23 19:55:08 +00:00

30 lines
712 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8160196
* @summary Module summary page should display information based on "api" or "detail" mode.
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -ref ProvidesTest.out ProvidesTest.java
*/
/**
* Invalid use of provides in class documentation.
*
* @provides NotFound
*/
public class ProvidesTest {
/**
* Invalid use of provides in field documentation
*
* @provides NotFound Test description.
*/
public int invalid_param;
/**
* Invalid use of provides in method documentation
*
* @provides NotFound Test description.
*/
public class InvalidParam { }
}