Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » AST Parser: BodyDeclaration.getJavadoc returning null, when javadoc is present
AST Parser: BodyDeclaration.getJavadoc returning null, when javadoc is present [message #247745] Wed, 12 September 2007 18:38 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:applying a text template to all (existing) files
Next Topic:Run As does not show java application as an option
Goto Forum:
  


Current Time: Thu Jul 17 22:57:16 EDT 2025

Powered by FUDForum. Page generated in 0.29807 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top