All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.mokkery.plugin.MokkeryFirRegistrar.kt Maven / Gradle / Ivy

Go to download

Mokkery is a mocking library for Kotlin Multiplatform, easy to use, boilerplate-free and compiler plugin driven.

The newest version!
package dev.mokkery.plugin

import dev.mokkery.plugin.diagnostics.MokkeryFirCheckersExtension
import org.jetbrains.kotlin.config.CompilerConfiguration
import org.jetbrains.kotlin.fir.FirSession
import org.jetbrains.kotlin.fir.extensions.FirExtensionRegistrar

class MokkeryFirRegistrar(private val config: CompilerConfiguration) : FirExtensionRegistrar() {
    override fun ExtensionRegistrarContext.configurePlugin() {
        +{ session: FirSession -> MokkeryFirCheckersExtension(session, config) }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy