# IdeaModule

interface IdeaModule : HierarchicalElement, HasGradleProject(source)

Represents information about the IDEA module.

#### Since

1.0

## Functions

getChildren
Link copied to clipboard
abstract fun getChildren(): DomainObjectSet<out HierarchicalElement>
Returns the child elements, or the empty set if there are no child elements.
getCompilerOutput
Link copied to clipboard
abstract fun getCompilerOutput(): IdeaCompilerOutput
Returns information about idea compiler output (output dirs, inheritance of output dir, etc.
getContentRoots
Link copied to clipboard
abstract fun getContentRoots(): DomainObjectSet<out IdeaContentRoot>
All content roots.
getDependencies
Link copied to clipboard
abstract fun getDependencies(): DomainObjectSet<out IdeaDependency>
dependencies of this module (i.e.
getDescription
Link copied to clipboard
@Nullable
abstract fun getDescription(): @Nullable String
Returns the description of the element, or `null` if it has no description.
getGradleProject
Link copied to clipboard
abstract fun getGradleProject(): GradleProject
The gradle project that is associated with this module.
getJavaLanguageSettings
Link copied to clipboard
@Nullable
abstract fun getJavaLanguageSettings(): @Nullable IdeaJavaLanguageSettings
Returns the Java language settings for this element, or `null` if this element is not a Java element.
getJdkName
Link copied to clipboard
abstract fun getJdkName(): String
Returns the name of the JDK.
getName
Link copied to clipboard
abstract fun getName(): String
Returns the name of the element.
getParent
Link copied to clipboard
abstract fun getParent(): IdeaProject
Returns the project of this module.
getProject
Link copied to clipboard
abstract fun getProject(): IdeaProject
Returns the project of this module.
getProjectIdentifier
Link copied to clipboard
abstract fun getProjectIdentifier(): ProjectIdentifier
Returns the identifier for the project that this model is associated with.