Skip to content
Permalink
Browse files
8262421: doclint warnings in jdk.compiler module
Reviewed-by: iris, darcy
  • Loading branch information
jonathan-gibbons committed Feb 25, 2021
1 parent 29c603f commit 8256517016fd779a4c5c22f535b02289f83cc83e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
@@ -269,13 +269,17 @@ DocCommentTree newDocCommentTree(List<? extends DocTree> fullBody,
* Creates a new {@code ReturnTree} object, to represent a {@code @return} tag
* or {@code {@return}} tag.
*
* @implSpec This implementation throws {@code UnsupportedOperationException} if
* {@code isInline} is {@code true}, and calls {@link #newReturnTree(List)} otherwise.
*
* @param isInline {@code true} if this instance is as an inline tag,
* and {@code false} otherwise
* @param description the description of the return value of a method
*
* @return a {@code ReturnTree} object
* @throws UnsupportedOperationException if inline {@code {@return}} tags are
* not supported
* not supported
*
* @implSpec This implementation throws {@code UnsupportedOperationException} if
* {@code isInline} is {@code true}, and calls {@link #newReturnTree(List)} otherwise.
*
* @since 16
*/
default ReturnTree newReturnTree(boolean isInline, List<? extends DocTree> description) {
@@ -232,6 +232,7 @@ public abstract void printMessage(Diagnostic.Kind kind, CharSequence msg,
* <a href="https://www.w3.org/TR/html52/syntax.html#character-references">8.1.4. Character references</a>
* in the HTML 5.2 specification.</p>
*
* @param tree the tree containing the entity
* @return a string containing the characters
*/
public abstract String getCharacters(EntityTree tree);

0 comments on commit 8256517

Please sign in to comment.