Skip to content

Incomplete outputs on Java classes with recursive generic types #11679

@thomasleaute

Description

@thomasleaute

Describe the bug
Incomplete documentation output for Java classes with recursive generic types.

To Reproduce
Here is a simplistic Java interface (also reproducible with classes):

/** An interface
 * @param <T> a generic type
 */
public interface I < T extends I<T> > {

	/** A public method */
	public void method ();
}

Using an out-of-the-box generated config file, the output documentation for this class is incomplete:

  • The class name is truncated to just I< T extends I, missing the remaining < T > >;
  • The documentation for the method is missing;
  • The following warning appears in the log:
    I.java:8: warning: documented symbol 'void I::method' was not declared or defined.
    

Expected behavior
The documentation for the class should be complete, including the method.

Version
Doxygen 1.11.0 built using MacPorts on macOS Sequoia 15.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions