After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656556 - Java enumerations incorrectly processed
Java enumerations incorrectly processed
Status: RESOLVED INCOMPLETE
Product: doxygen
Classification: Other
Component: build
1.7.4
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-08-15 10:47 UTC by Peter Greenwood
Modified: 2012-03-23 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
zip file of failing case (24.49 KB, application/zip)
2011-08-15 11:08 UTC, Peter Greenwood
Details

Description Peter Greenwood 2011-08-15 10:47:42 UTC
I have a number of java enumerations. My output is as if doxygen was 
using a CPP parse on *.java files.

Among the problems I see are:-
1. public methods are ignored.
2. Output is somewhat garbled and CPP like:- Enumerations
enum  	com::facilita::fc::web.HttpStatus {
 com::facilita::fc::web.NOT_SET = (0,"not set message"){} .....
3. enumeration documentation appears under the headings "File List" 
and "Packages" only and specifically not under the "Class List" heading.
4. Links from paramters in methods that use the enumerationare not generated.

Other similar bugs are:-
https://bugzilla.gnome.org/show_bug.cgi?id=494507
	Indicates the requirement for EXTRACT_ALL = YES 
https://bugzilla.gnome.org/show_bug.cgi?id=645958
https://bugzilla.gnome.org/show_bug.cgi?id=652576
Comment 1 Dimitri van Heesch 2011-08-15 11:05:11 UTC
Can you please attach a self-contained example (source+config file in a tar or zip) that allows me to reproduce the problem?
Comment 2 Peter Greenwood 2011-08-15 11:08:49 UTC
Created attachment 193855 [details]
zip file of failing case
Comment 3 Dimitri van Heesch 2011-12-29 15:34:51 UTC
Hi Peter,

Since doxygen version 1.7.6 I've changed the parser such that Java enums are treated as classes. Can you check if that adequately solves your problem?
Comment 4 Akhil Laddha 2012-02-03 12:27:24 UTC
Peter, were you able to check problem with doxygen version 1.7.6 ?
Comment 5 Akhil Laddha 2012-03-23 16:11:39 UTC
Please feel free to reopen this bug if the problem still occurs with a newer
version of doxygen.