1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
/*
* @test /nodynamiccopyright/
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -ref ReturnTest.out ReturnTest.java
*/
/** No comment. */
public class ReturnTest {
/**
{@return legal} **/
public int m_legal() { return 0; }
/** <p> {@return illegal} **/
public int m_illegal_html() { return 0; }
/** text {@return illegal} **/
public int m_illegal_text() { return 0; }
/** &{@return illegal} **/
public int m_illegal_entity() { return 0; }
/** @@{@return illegal} **/
public int m_illegal_escape() { return 0; }
/** {@return legal} text {@return illegal} **/
public int m_illegal_repeat() { return 0; }
/** . */
private ReturnTest() { }
}
|