KoNonNullableTypeProvider

An interface representing a Kotlin declaration that provides access to its non-nullable type information.

Inheritors

Properties

Link copied to clipboard
abstract val type: KoTypeDeclaration

Type of the declaration.

Functions

Link copied to clipboard
abstract fun hasType(predicate: (KoTypeDeclaration) -> Boolean): Boolean

Determines whatever declaration has a specified type.

Link copied to clipboard
abstract fun hasTypeOf(kClass: KClass<*>): Boolean

Determines whatever declaration has a type of the specified Kotlin class.