Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Generating a javadoc comment programmatically
Generating a javadoc comment programmatically [message #259523] Fri, 10 April 2009 07:54 Go to next message
Eclipse UserFriend
Originally posted by: Rudolf.Ziegaus.gmx.de

He

is there a way to generate a javadoc comment programmatically? I'd like to
check if the comment still is correct (regarding number and type of
parameters) and if not I'd like to modify or insert the comment on the fly.

Thx in advance for any hints,

Rudi
Re: Generating a javadoc comment programmatically [message #259544 is a reply to message #259523] Tue, 14 April 2009 03:01 Go to previous messageGo to next message
Eclipse UserFriend
Rudolf Ziegaus wrote:
> He
>
> is there a way to generate a javadoc comment programmatically? I'd like to
> check if the comment still is correct (regarding number and type of
> parameters) and if not I'd like to modify or insert the comment on the fly.
>
Why would you want to do this? There are already quick fixes that do this.

Dani
> Thx in advance for any hints,
>
> Rudi
>
Re: Generating a javadoc comment programmatically [message #259547 is a reply to message #259544] Tue, 14 April 2009 16:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Rudolf.Ziegaus.gmx.de

On Tue, 14 Apr 2009 09:01:38 +0200, Daniel Megert wrote:

> Rudolf Ziegaus wrote:
>> He
>>
>> is there a way to generate a javadoc comment programmatically? I'd like to
>> check if the comment still is correct (regarding number and type of
>> parameters) and if not I'd like to modify or insert the comment on the fly.
>>
> Why would you want to do this? There are already quick fixes that do this.
>
> Dani
>> Thx in advance for any hints,
>>
>> Rudi
>>

Blush;-) I got caught in the act;-)

I would like to do this not only for a single method but for a working set
consisting of possibly thousands of classes...

AFAIK the quick fix is only for a single method, isn't it?

Rudi
Re: Generating a javadoc comment programmatically [message #259552 is a reply to message #259547] Wed, 15 April 2009 00:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.ddress.here

In article <so8ori2xx9fs$.1vnm2fa62oaqf$.dlg@40tude.net>,
Rudolf.Ziegaus@gmx.de says...>
>
> I would like to do this not only for a single method but for a working set
> consisting of possibly thousands of classes...
>
> AFAIK the quick fix is only for a single method, isn't it?
>
> Rudi


Take a look at JAutoDoc.

Search for it at http://www.eclipseplugincentral.com/
Re: Generating a javadoc comment programmatically [message #259567 is a reply to message #259547] Wed, 15 April 2009 09:30 Go to previous message
Eclipse UserFriend
Rudolf Ziegaus wrote:
> On Tue, 14 Apr 2009 09:01:38 +0200, Daniel Megert wrote:
>
>
>> Rudolf Ziegaus wrote:
>>
>>> He
>>>
>>> is there a way to generate a javadoc comment programmatically? I'd like to
>>> check if the comment still is correct (regarding number and type of
>>> parameters) and if not I'd like to modify or insert the comment on the fly.
>>>
>>>
>> Why would you want to do this? There are already quick fixes that do this.
>>
>> Dani
>>
>>> Thx in advance for any hints,
>>>
>>> Rudi
>>>
>>>
>
> Blush;-) I got caught in the act;-)
>
> I would like to do this not only for a single method but for a working set
> consisting of possibly thousands of classes...
>
> AFAIK the quick fix is only for a single method, isn't it?
>
If the compiler settings are set accordingly then the problems are
reported for you i.e. you only need to add code that can fix those
reported problems. You can start to dig into the code of
org.eclipse.jdt.internal.ui.text.correction.JavadocTagsSubPr ocessor.

Dani
> Rudi
>
Previous Topic:get information about TextEdit
Next Topic:Extending Java Search Functionality From the Result View Toolbar
Goto Forum:
  


Current Time: Thu Apr 24 04:18:19 EDT 2025

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

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

Back to the top