commonMain.io.github.gmazzo.codeowners.CodeOwners.kt Maven / Gradle / Ivy
The newest version!
package io.github.gmazzo.codeowners
import kotlin.reflect.KClass
@MustBeDocumented
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.CLASS, AnnotationTarget.FILE)
annotation class CodeOwners(vararg val owners: String)
inline fun codeOwnersOf() =
Type::class.codeOwners
expect val KClass<*>.codeOwners: Set?
expect val Throwable.codeOwners: Set?