io.github.gmazzo.codeowners.compiler.CodeOwnersFirExtensionRegistrar.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler Show documentation
Show all versions of kotlin-compiler Show documentation
CodeOwners Kotlin Compiler Plugin
package io.github.gmazzo.codeowners.compiler
import org.jetbrains.kotlin.fir.FirSession
import org.jetbrains.kotlin.fir.extensions.FirExtensionRegistrar
class CodeOwnersFirExtensionRegistrar(
private val mappings: CodeOwnersMappings,
) : FirExtensionRegistrar() {
override fun ExtensionRegistrarContext.configurePlugin() {
+{ session: FirSession -> CodeOwnersFirProcessor(session, mappings) }
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy