KoTypeAliasProvider

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

Inheritors

Properties

Link copied to clipboard
abstract val numTypeAliases: Int

The number of type aliases.

Link copied to clipboard

List of type aliases.

Functions

Link copied to clipboard
abstract fun countTypeAliases(predicate: (KoTypeAliasDeclaration) -> Boolean): Int

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

Link copied to clipboard

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

Link copied to clipboard
abstract fun hasTypeAlias(predicate: (KoTypeAliasDeclaration) -> Boolean): Boolean

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

Link copied to clipboard
abstract fun hasTypeAliases(): Boolean

Determines whatever declaration has any type alias.

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

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

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

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