KoImportAliasProvider

An interface representing a Kotlin declaration that provides access to import aliases.

Inheritors

Properties

Link copied to clipboard

List of import aliases.

Link copied to clipboard
abstract val numImportAliases: Int

The number of import aliases.

Functions

Link copied to clipboard

Returns the number of import aliases that satisfies the specified predicate present in the declaration.

Link copied to clipboard

Determines whether the declaration has all import aliases that satisfy the provided predicate.

Link copied to clipboard

Determines whether the declaration has at least one import alias that satisfies the provided predicate.

Link copied to clipboard
abstract fun hasImportAliases(): Boolean

Determines whatever declaration has any import alias.

Link copied to clipboard
abstract fun hasImportAliasesWithAllNames(name: String, vararg names: String): Boolean

Determines whether the declaration has import aliases with all the specified names.

Link copied to clipboard
abstract fun hasImportAliasWithName(name: String, vararg names: String): Boolean

Determines whether the declaration has at least one import alias whose name matches any of the specified names.