I am developing a static code dependency analysis tool where I plan to read .java files into a Class/interface/etc objects and then build logic around its properties using public methods such as:
Class.getImports();
etc. Are there any existing libraries such as Java Reflection that can parse java files that belong to external projects into a Class/Enum/etc object?