New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java enumerations incorrectly processed (Origin: bugzilla #656556) #4361

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component build for ---
Reported in version 1.7.4 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2011-08-15 10:47:42 +0000, Peter Greenwood wrote:

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

On 2011-08-15 11:05:11 +0000, Dimitri van Heesch wrote:

Can you please attach a self-contained example (source+config file in a tar or zip) that allows me to reproduce the problem?

On 2011-08-15 11:08:49 +0000, Peter Greenwood wrote:

Created attachment 193855
zip file of failing case

On 2011-12-29 15:34:51 +0000, Dimitri van Heesch wrote:

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?

On 2012-02-03 12:27:24 +0000, Akhil Laddha wrote:

Peter, were you able to check problem with doxygen version 1.7.6 ?

On 2012-03-23 16:11:39 +0000, Akhil Laddha wrote:

Please feel free to reopen this bug if the problem still occurs with a newer
version of doxygen.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment