KoActualModifierProvider

An interface representing a Kotlin declaration that provides information about whether it has actual modifier.

Inheritors

Properties

Link copied to clipboard

Determines whatever class has actual 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.