Search code examples
javaandroidmarkdowndoxygenaidl

Doxygen cannot include .aidl interfaces and enums to the documentation


I have some .aidl files with intefaces and enums and want to add them to the API doc. I added paths to INPUT and point FILE_PATTERNS with .aidl and .java and EXTENSION_MAPPING with aidl=java.

Then, I generate the doc and see nothing. But everything is OK when I add public keyword before interface/enum.

Seems doxygen expects public before interface or enum keywords, but this is the bad approach because android cannot parse them. I get <interface, parcelable, enum or union> or AidlTokenTypes.IMPORT_KEYWORD expected, got 'public' error here.

Is there any way to solve it?

Update:

doxygen: 1.9.6

Cannot provide an example because of the big private project

EXTRACT_STATIC = YES

EXTRACT_PRIVATE = NO

Update 2

Example: github


Solution

  • Seems missed case. Based on the @albert's comment, I created an issue https://github.com/doxygen/doxygen/issues/10434