| 1 | /* |
| 2 | * Attempt at javadoc coverage test. |
| 3 | */ |
| 4 | package jpype.doc; |
| 5 | |
| 6 | /** |
| 7 | * A bunch of random stuff. |
| 8 | * |
| 9 | * @author nelson85 |
| 10 | * @see "The Java Programming Language" |
| 11 | * @see java.lang.Object#wait() |
| 12 | * @see <a href="spec.html#section">Java Spec</a> |
| 13 | * @version 1.0 |
| 14 | */ |
| 15 | public class Test |
| 16 | { |
| 17 | |
| 18 | public final static int QQ = 1; |
| 19 | |
| 20 | /** |
| 21 | * This does something special. |
| 22 | * <p> |
| 23 | * It is so special we won't tell you. |
| 24 | * <br> |
| 25 | * We have our reasons. See <code>a</code> or |
| 26 | * <pre>a</pre>. So <sup>up</sup> and don't look <sub>down</sub>. Literally |
| 27 | * {@literal A<B>C}. Don't feel <small>s</small> when you can be <b>bold</b> |
| 28 | * or <em>em</em> or <i>italics</i>. |
| 29 | * <p> |
| 30 | * Use the {@link #methodOne(int, Object) BangBang} method. *. |
| 31 | * <blockquote><pre>{@code |
| 32 | * hey.method(1, SecretMap()); |
| 33 | * }</pre></blockquote> |
| 34 | * <p> |
| 35 | * <table style="width:100%" summary="foo"> |
| 36 | * <tr><th>North</th><th>East</th><th>Steps</th></tr> |
| 37 | * <tr><td>Y</td><td>N</td><td>10</td></tr> |
| 38 | * <tr><td>N</td><td>Y</td><td>20</td></tr> |
| 39 | * </table> |
| 40 | * <p> |
| 41 | * <dl> |
| 42 | * <dt>Defines |
| 43 | * <dd>Something. |
| 44 | * </dl> |
| 45 | * <hr> |
| 46 | * <ol> |
| 47 | * <li> Item 1 |
| 48 | * <ul> |
| 49 | * <li> Apples |
| 50 | * <li> Pears |
| 51 | * </ul> |
| 52 | * <li> Item 2 |
| 53 | * </ol> |
| 54 | * |
| 55 | * @throws java.lang.NoSuchMethodException if something bad happens. |
| 56 | * @param i an argument <code>a</code>. {@value #QQ} |
| 57 | * @param j another argument. |
| 58 | * @return a secret code. |
| 59 | * @since 1.5 |
| 60 | * |
| 61 | */ |
| 62 | public int methodOne(int i, Object j) throws NoSuchMethodException |
| 63 | { |
| 64 | return 12345; // Same as your luggage combination. |
| 65 | } |
| 66 | } |