mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8190552: Augment the Compiler API tree with APIs to represent HTML content
Reviewed-by: jjg, jlahoda
This commit is contained in:
parent
4da03ba907
commit
e3c574e026
43 changed files with 799 additions and 449 deletions
|
@ -98,13 +98,12 @@ public abstract class DocTrees extends Trees {
|
|||
/**
|
||||
* Returns the doc comment tree of the given file. The file must be
|
||||
* an HTML file, in which case the doc comment tree represents the
|
||||
* contents of the <body> tag, and any enclosing tags are ignored.
|
||||
* entire contents of the file.
|
||||
* Returns {@code null} if no doc comment was found.
|
||||
* Future releases may support additional file types.
|
||||
*
|
||||
* @param fileObject the content container
|
||||
* @return the doc comment tree
|
||||
*
|
||||
* @since 9
|
||||
*/
|
||||
public abstract DocCommentTree getDocCommentTree(FileObject fileObject);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue