Dependency Discoverer is a tool that lists unresolved dependencies (types, methods and fields) of a set of Java ARchive (JAR) files and .class files. It is a versatile tool and can be used in other contexts, for instance, to list every dependency of a JAR file.
It can be used through a command-line interface, with the possibility to output the result in JSON or XML format, allowing an easy scripting process.
This tool is available at https://github.com/MicroEJ/Tool-ApiDependencyDiscoverer. A JAR and Windows executable version can be downloaded from the release page. It is also possible to clone and import the project in the SDK and use it from sources.
For usage information, see https://github.com/MicroEJ/Tool-ApiDependencyDiscoverer/blob/master/README.md.