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

com.lemonappdev.konsist.api.provider.KoValueProvider.kt Maven / Gradle / Ivy

Go to download

A Kotlin architecture test library. Define and guard code base consistency using Kotlin.

The newest version!
package com.lemonappdev.konsist.api.provider

/**
 * An interface representing a Kotlin declaration that provides access to value.
 *
 */
interface KoValueProvider : KoBaseProvider {
    /**
     * The value of declaration.
     */
    val value: String?

    /**
     * Determines whatever the declaration has the value.
     *
     * @param value the value to check (optional).
     * @return `true` if the declaration has the specified value (or any value if [value] is `null`), `false` otherwise.
     */
    fun hasValue(value: String? = null): Boolean
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy