| [news.eclipse.tools.jdt] Re: AST Parser: BodyDeclaration.getJavadoc returning null, when javadoc is present |
Given a body declaration (specifically a MethodDeclaration) with an attached javadoc node, I'm calling methoddecl.getJavadoc() and receiving a null result.
Is there some non-default option that I must set on the parse to have javadoc nodes get resolved? Any other thoughts as to what might cause the javadoc node to be missed?
I'm having no trouble with anything else (for example, annotations and other modifiers of the same node are seen as expected).
Open a bug report against JDT/Core with steps to reproduce and build id. We will investigate. Thanks, -- Olivier