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

commonMain.io.mths.kava.processor.options.QualifiedOptionName.kt Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package io.mths.kava.processor.options

import kotlin.reflect.KProperty

internal const val prefix = "kava"

internal val KProperty<*>.qualifiedOptionName: String
    get() = "$prefix.${name.lowercase()}"

internal fun Set.findQualifiedOption(property: KProperty<*>) =
    find { it.lowercase() == property.qualifiedOptionName }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy