Depending on what you want to do, you don't necessarily need to parse the source code of the dependencies. For example, Javaparser lets you parse the source code of a java project and resolve symbols contained either in the parsed source code, in a library external to the project or in the JDK itself.