AST Parser: BodyDeclaration.getJavadoc returning null, when javadoc is present [message #247745] |
Wed, 12 September 2007 18:38  |
Eclipse User |
|
|
|
Originally posted by: myawn.ebay.com
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).
Thanks,
Mike
|
|
|
Re: AST Parser: BodyDeclaration.getJavadoc returning null, when javadoc is present [message #247749 is a reply to message #247745] |
Thu, 13 September 2007 09:23  |
Eclipse User |
|
|
|
Mike Yawn a écrit :
> 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
|
|
|
Powered by
FUDForum. Page generated in 0.29807 seconds