if (null == project) return;
ModuleManager manager = ModuleManager.getInstance(project);
Module[] modules = manager.getModules();
for (Module module : modules) {
log.info("Checking Module: " + module.getName());
ModuleRootManager rootManager = ModuleRootManager.getInstance(module);
OrderEntry[] entries = rootManager.getOrderEntries();
for (OrderEntry entry : entries) {
if (entry instanceof LibraryOrderEntry) {
final LibraryOrderEntry libraryEntry = (LibraryOrderEntry)entry;
final Library library = libraryEntry.getLibrary();
// log.debug("\tEntry: " + libraryEntry.getPresentableName());