KoVisibilityModifierProvider

Properties

Link copied to clipboard

Determines whatever the declaration has internal modifier.

Link copied to clipboard

Determines whatever the declaration has private modifier.

Link copied to clipboard

Determines whatever the declaration has protected modifier.

Link copied to clipboard

Determines whatever the declaration has public modifier.

Link copied to clipboard

Determines whatever the declaration has public or no visibility modifier.

Link copied to clipboard
abstract val modifiers: List<KoModifier>

List of modifiers.

Link copied to clipboard
abstract val numModifiers: Int

The number of modifiers.

Functions

Link copied to clipboard
abstract fun hasAllModifiers(modifiers: Collection<KoModifier>): Boolean
abstract fun hasAllModifiers(modifier: KoModifier, vararg modifiers: KoModifier): Boolean

Determines whether the declaration has all specified modifiers.

Link copied to clipboard
abstract fun hasModifier(modifiers: Collection<KoModifier>): Boolean
abstract fun hasModifier(modifier: KoModifier, vararg modifiers: KoModifier): Boolean

Determines whether the declaration has at least one specified modifier.

Link copied to clipboard
abstract fun hasModifiers(): Boolean

Determines whatever the declaration has modifiers.