main.seskar.compiler.value.extensions.ValueRegistrar.kt Maven / Gradle / Ivy
package seskar.compiler.value.extensions
import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
import org.jetbrains.kotlin.compiler.plugin.CompilerPluginRegistrar
import org.jetbrains.kotlin.config.CompilerConfiguration
import org.jetbrains.kotlin.extensions.StorageComponentContainerContributor
class ValueRegistrar : CompilerPluginRegistrar() {
override val supportsK2: Boolean = false
override fun ExtensionStorage.registerExtensions(
configuration: CompilerConfiguration,
) {
StorageComponentContainerContributor.registerExtension(
extension = ValueStorageComponentContainerContributor(),
)
IrGenerationExtension.registerExtension(ValueTransformExtension())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy