public class CoreModule extends MockComponentManager implements ModuleEx
Disposable.ParentELEMENT_TYPE, EMPTY_ARRAY| Constructor and Description |
|---|
CoreModule(Disposable parentDisposable,
Project project,
java.lang.String moduleFilePath) |
addComponent, createListener, dispose, getComponent, getDisposed, getExtensionArea, getMessageBus, getPicoContainer, getService, isDisposed, registerComponentInDisposer, registerService, registerService, registerService, registerServicechangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOptionsModificationCount, init, moduleAdded, projectClosed, projectOpened, renameclearOption, getModuleTypeName, isDisposed, setModuleTypecreateError, createError, getComponent, getComponent, getComponent, getComponentInstancesOfType, getComponentInstancesOfType, getComponents, getDisposed, getExtensionArea, getExtensions, getMessageBus, getPicoContainer, getService, getService, getServiceIfCreated, hasComponent, instantiateClass, instantiateClassWithConstructorInjection, instantiateExtensionWithPicoContainerOnlyIfNeeded, isDisposedOrDisposeInProgress, logErrorgetUserData, putUserDatadisposepublic CoreModule(Disposable parentDisposable, Project project, java.lang.String moduleFilePath)
protected void initModuleExtensions()
protected <T> void addModuleExtension(ExtensionPointName<T> name, T extension)
protected ModuleScopeProvider createModuleScopeProvider()
protected PathMacroManager createModulePathMacroManager(Project project)
protected ModuleFileIndex createModuleFileIndex()
public void clearScopesCache()
clearScopesCache in interface ModuleExpublic VirtualFile getModuleFile()
ModuleVirtualFile for the module .iml file.getModuleFile in interface Modulepublic java.lang.String getModuleFilePath()
ModulegetModuleFilePath in interface Modulepublic Project getProject()
ModulegetProject in interface Modulepublic java.lang.String getName()
Modulepublic void setOption(java.lang.String optionName,
java.lang.String optionValue)
public java.lang.String getOptionValue(java.lang.String optionName)
getOptionValue in interface Modulepublic GlobalSearchScope getModuleScope()
getModuleScope in interface Modulepublic GlobalSearchScope getModuleScope(boolean includeTests)
getModuleScope in interface ModuleincludeTests - whether to include test sourcepublic GlobalSearchScope getModuleWithLibrariesScope()
getModuleWithLibrariesScope in interface Modulepublic GlobalSearchScope getModuleWithDependenciesScope()
getModuleWithDependenciesScope in interface Modulepublic GlobalSearchScope getModuleContentScope()
getModuleContentScope in interface Modulepublic GlobalSearchScope getModuleContentWithDependenciesScope()
getModuleContentWithDependenciesScope in interface Modulepublic GlobalSearchScope getModuleWithDependenciesAndLibrariesScope(boolean includeTests)
getModuleWithDependenciesAndLibrariesScope in interface ModuleincludeTests - whether test source and test dependencies should be includedpublic GlobalSearchScope getModuleWithDependentsScope()
getModuleWithDependentsScope in interface Modulepublic GlobalSearchScope getModuleTestsWithDependentsScope()
getModuleTestsWithDependentsScope in interface ModuleModule.getModuleWithDependentsScope(), but with test source/resources includedpublic GlobalSearchScope getModuleRuntimeScope(boolean includeTests)
getModuleRuntimeScope in interface ModuleincludeTests - whether test source and test dependencies should be included