public abstract class ModuleRootManager extends java.lang.Object implements ModuleRootModel, ProjectModelElement
CompilerModuleExtension
Constructor and Description |
---|
ModuleRootManager() |
Modifier and Type | Method and Description |
---|---|
abstract Module [] |
getDependencies()
Returns the list of modules on which the current module directly depends.
|
abstract Module [] |
getDependencies(boolean includeTests)
Returns the list of modules on which the current module directly depends.
|
abstract ModuleFileIndex |
getFileIndex()
Returns the file index for the current module.
|
static ModuleRootManager |
getInstance(Module module)
Returns the module root manager instance for the specified module.
|
abstract ModifiableRootModel |
getModifiableModel()
Returns the interface for modifying the set of roots for this module.
|
abstract boolean |
isDependsOn(Module module)
Checks if the current module directly depends on the specified module.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentEntries, getContentRoots, getContentRootUrls, getDependencyModuleNames, getExcludeRoots, getExcludeRootUrls, getModule, getModuleDependencies, getModuleDependencies, getModuleExtension, getOrderEntries, getSdk, getSourceRoots, getSourceRoots, getSourceRoots, getSourceRoots, getSourceRootUrls, getSourceRootUrls, isSdkInherited, orderEntries, processOrder
getExternalSource
public static ModuleRootManager getInstance(Module module)
module
- the module for which the root manager is requested.public abstract ModuleFileIndex getFileIndex()
public abstract ModifiableRootModel getModifiableModel()
ModifiableRootModel.commit()
or disposed ModifiableRootModel.dispose()
public abstract Module [] getDependencies()
public abstract Module [] getDependencies(boolean includeTests)
includeTests
- whether test-only dependencies should be includedpublic abstract boolean isDependsOn(Module module)
module
- the module to check.module
is contained in the list of dependencies for the current module, false otherwise.