com.jetbrains.plugin.structure.intellij.platform.BundledModulesManager.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-intellij Show documentation
Show all versions of structure-intellij Show documentation
Library for parsing JetBrains IDE plugins. Can be used to verify that plugin complies with the JetBrains Marketplace requirements.
package com.jetbrains.plugin.structure.intellij.platform
import com.jetbrains.plugin.structure.intellij.beans.ModuleBean
class BundledModulesManager(modulesResolver: BundledModulesResolver) {
private val modules = modulesResolver.resolveModules()
fun findModuleByName(name: String): ModuleBean? {
return modules.find { it.name == name }
}
}