Q: What tool is used to generate Android's API XML files? The Android git tree provides a set of XML files describing the public API, e.g. base.git/api, e.g. base.git/api/7.xml (which contains the public API for Android 2.1).
Does anybody know how this file is generated?  I would imagine that it uses some tool to process the android.jar file into an XML file (likely using java.lang.reflect).
I ask principally because I need to process this file, and the file contains many deficiencies, e.g. there are types which implement the java.util.List interface, but java.util.List isn't defined in the file, and generic information is missing from the file (e.g. java.util.Vector is generic, but there isn't any way to tell that from the XML file).

A: doclava can generate the API XML file using the following parameters
-xmlapi output_file.xml

link to same question about DroidDoc and I think DroidDoc is either a component of doclava or doclava is the DroidDoc replacement.

A: The tool is called apicheck, you can find it in /out/host/linux-x86/bin/apicheck for example
