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

com.lemonappdev.konsist.api.provider.modifier.KoVisibilityModifierProvider.kt Maven / Gradle / Ivy

Go to download

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

There is a newer version: 0.17.3
Show newest version
package com.lemonappdev.konsist.api.provider.modifier

import com.lemonappdev.konsist.api.provider.KoBaseProvider

/**
 * An interface representing a Kotlin declaration that provides access to its visibility modifiers.
 */
interface KoVisibilityModifierProvider : KoBaseProvider, KoModifierProvider {
    /**
     * Determines whatever the declaration has public modifier.
     */
    val hasPublicModifier: Boolean

    /**
     * Determines whatever the declaration has public or no visibility modifier.
     */
    val hasPublicOrDefaultModifier: Boolean

    /**
     * Determines whatever the declaration has private modifier.
     */
    val hasPrivateModifier: Boolean

    /**
     * Determines whatever the declaration has protected modifier.
     */
    val hasProtectedModifier: Boolean

    /**
     * Determines whatever the declaration has internal modifier.
     */
    val hasInternalModifier: Boolean
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy