jdk-24/test/langtools/tools/doclint/MissingParamsTest.java

28 lines
655 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8004832 8285496
* @summary Add new doclint package
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -Xmsgs:-missing MissingParamsTest.java
* @run main DocLintTester -Xmsgs:missing -ref MissingParamsTest.out MissingParamsTest.java
*/
/** . */
public class MissingParamsTest {
/** . */
MissingParamsTest(int param) { }
/** . */
<T> MissingParamsTest() { }
/** . */
void missingParam(int param) { }
/** . */
<T> void missingTyparam() { }
/** . */
public class MissingTyparam<T> { /** . */ MissingTyparam() { } }
}