main.seskar.compiler.props.extensions.PropsStorageComponentContainerContributor.kt Maven / Gradle / Ivy
package seskar.compiler.props.extensions
import org.jetbrains.kotlin.container.StorageComponentContainer
import org.jetbrains.kotlin.container.useInstance
import org.jetbrains.kotlin.descriptors.ModuleDescriptor
import org.jetbrains.kotlin.extensions.StorageComponentContainerContributor
import org.jetbrains.kotlin.platform.TargetPlatform
import seskar.compiler.props.backend.PropsDeclarationChecker
class PropsStorageComponentContainerContributor : StorageComponentContainerContributor {
override fun registerModuleComponents(
container: StorageComponentContainer,
platform: TargetPlatform,
moduleDescriptor: ModuleDescriptor,
) {
container.useInstance(PropsDeclarationChecker)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy