langtools/src/jdk.compiler/share/classes/com/sun/source/doctree/DocCommentTree.java
equal
deleted
inserted
replaced
47 /** |
47 /** |
48 * Returns the entire body of a documentation comment, appearing |
48 * Returns the entire body of a documentation comment, appearing |
49 * before any block tags, including the first sentence. |
49 * before any block tags, including the first sentence. |
50 * @return body of a documentation comment first sentence inclusive |
50 * @return body of a documentation comment first sentence inclusive |
51 * |
51 * |
52 * @since 1.9 |
52 * @since 9 |
53 */ |
53 */ |
54 default List<? extends DocTree> getFullBody() { |
54 default List<? extends DocTree> getFullBody() { |
55 ArrayList<DocTree> bodyList = new ArrayList<>(); |
55 ArrayList<DocTree> bodyList = new ArrayList<>(); |
56 bodyList.addAll(getFirstSentence()); |
56 bodyList.addAll(getFirstSentence()); |
57 bodyList.addAll(getBody()); |
57 bodyList.addAll(getBody()); |