[dbdoclet] Re: Problem generating private members


Hi Michael,

Another problem we encounter with methods returning value but having no
param. Comments for these methods are generated but there is no table with
the @return comment.
Any idea?

ex:

/**
* my doc
* @return aTitle my title
*/
public Title myExample(){
...
}

Thanx for your great stuff.



Vincent GADREAU
SOPHIACOM
22-24 rue du president Wilson
92300 Levallois Perret
Tel: 01-41-40-05-80


|---------+----------------------------->
|         |           Michael Fuchs     |
|         |           <mfuchs@unico-cons|
|         |           ulting.com>       |
|         |           Sent by:          |
|         |           dbdoclet-bounce@fr|
|         |           eelists.org       |
|         |                             |
|         |                             |
|         |           30/04/2003 21:11  |
|         |           Please respond to |
|         |           dbdoclet          |
|         |                             |
|---------+----------------------------->
  
>-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                  |
  |        To:      vgadreau@xxxxxxxxxxxx                                       
                                                  |
  |        cc:      dbdoclet@xxxxxxxxxxxxx                                      
                                                  |
  |        Subject: [dbdoclet] Re: Problem generating private members           
                                                  |
  
>-------------------------------------------------------------------------------------------------------------------------------|





Hi Vincent,

this is a bug in the doclet. The refactoring I've done recently is the
cause
for this bug. I fixed it today and the fix will be part of the next release

0.42, which is scheduled for Friday, 2 May 2003.

Bye
  Michael

>Hi michael,
>
>your stuff is really interresting, i discover it recently and i use it for
>a project. But i have a strange problem with private field and methods. We
>can only see them in the synopsis but i would like to generate doc for all
>my members, (i use -private on javadoc command line)
>
>D:\j2sdk1.4.0_03\bin\javadoc -docletpath d:\dbdoclet.jar -doclet
>com.mf.doclet.docbook.DocBookDoclet -private -properties
calcDoc.properties
>-sourcepath d:\MySources mypackages
>
>Have you an idea where the problem can be?
>
>In your code:
>
>method writeExecutableMemberRefEntries of class DocBookDoclet
>
>if ( str != null && ! str.equals("") ) {
>    if ( members[i].isPackagePrivate() == true || members[i].isPrivate()
>== true )   continue;
>    commentedMembers.add(members[i]);
>}
>
>Could this code be a problem? Why this test?
>
>Thanx
>
>Vincent GADREAU
>SOPHIACOM
>22-24 rue du president Wilson
>92300 Levallois Perret
>FRANCE
>Tel: 01-41-40-05-80

--
Dipl.-Ing.(FH) Michael Fuchs
Tel. (0 81 61) 14 41 66
Fax. (0 81 61) 14 05 21
Mobil 0 16 07 84 53 84
EMail mfuchs@xxxxxxxxxxxxxxxxxxxx
URL http://www.michael-a-fuchs.de







Other related posts: