RFR: JDK-8227922: DocTreeScanner does not dive into AttributeTree.getValue() and LiteralTree.getBody()
jan.lahoda at oracle.com
Thu Jul 18 13:28:46 UTC 2019
com.sun.source.util.DocTreeScanner#visitAttribute is not scanning over
the children of AttributeNode (i.e. AttributeNode#getValue()), and
DocTreeScanner#visitLiteral is not scanning over the children of
LiteralNode (i.e. LiteralNode#getBody()). The proposal here is to fix
DocTreeScanner to scan over the children of these two node types.
As this change may cause new nodes to be encountered by subclasses of
DocTreeScanner, with possibly undesirable effects (like in DocLint's
Checker) and also affects the javadoc for the two methods, CSR appears
to be needed as well, so I'd like to ask for a review of that as well:
How does this look?
More information about the compiler-dev