public class ModuleUtil extends ModuleUtilCore
ModuleUtilCore.ModuleVisitor
KEY_MODULE
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Module> |
getModulesOfType(Project project,
ModuleType<?> moduleType) |
static ModuleType<?> |
getModuleType(Module module)
Deprecated.
use
ModuleType.get(Module) instead |
static boolean |
hasModulesOfType(Project project,
ModuleType<?> module) |
static boolean |
hasTestSourceRoots(Project project) |
collectModulesDependsOn, findModuleForFile, findModuleForFile, findModuleForPsiElement, getAllDependentModules, getDependencies, getModuleDirPath, getModuleNameInReadAction, isModuleDir, isModuleDisposed, isModuleFile, moduleContainsFile, projectContainsFile, visitMeAndDependentModules
public static java.util.Collection<Module> getModulesOfType(Project project, ModuleType<?> moduleType)
public static boolean hasModulesOfType(Project project, ModuleType<?> module)
public static boolean hasTestSourceRoots(Project project)
@Deprecated public static ModuleType<?> getModuleType(Module module)
ModuleType.get(Module)
instead