Get source location of a Module present under Project

Hi,

I get Modules present under a project using.

ModuleManager manager= ModuleManager.getInstance(project);
Module[] module = manager.getModules();


How can I get source folder path associated with each Module using the
above Module Object.

TIA

Regards,
Yuvraj


1 comment
Comment actions Permalink

Have a look at com.intellij.openapi.roots.ModuleRootManager & com.intellij.openapi.roots.ModuleFileIndex

0

Please sign in to leave a comment.