Get ByteCode (dependency) information from .class files through Java
问题 I would like to analyse .class files and get information about which class uses which other class. jdeps is a command line tool which allows you to display some information in the console, but I would like to avoid calling an external tool and scraping the command line output. 回答1: All dependencies are recorded at a central place of a class file, the constant pool. So to efficiently process all dependencies, you need a library allowing to process the constant pool without looking at the rest