|
Java example source code file (ReferenceTest.java)
The ReferenceTest.java Java example source code/* * @test /nodynamiccopyright/ * @bug 8004832 8020556 8002154 * @summary Add new doclint package * @build DocLintTester * @run main DocLintTester -Xmsgs:-reference ReferenceTest.java * @run main DocLintTester -ref ReferenceTest.out ReferenceTest.java */ /** */ public class ReferenceTest { /** * @param x description */ public int invalid_param; /** * @param x description */ public class InvalidParam { } /** * @param x description */ public void param_name_not_found(int a) { } /** * @param <X> description */ public class typaram_name_not_found { } /** * @see Object#tooStrong() */ public void ref_not_found() { } /** * @return x description */ public int invalid_return; /** * @return x description */ public void invalid_return(); /** * @throws Exception description */ public void exception_not_thrown() { } /** * @param <T> throwable * @throws T description */ public <T extends Throwable> void valid_throws_generic() throws T { } /** * {@link java.util.List<String>} * {@link java.util.List<String>#equals} * @see java.util.List<String> * @see java.util.List<String>#equals */ public void invalid_type_args() { } } Other Java examples (source code examples)Here is a short list of links related to this Java ReferenceTest.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.