Ko Interface Provider
An interface representing a Kotlin declaration that provides information about interfaces.
Inheritors
Functions
Link copied to clipboard
abstract fun countInterfaces(includeNested: Boolean = true, predicate: (KoInterfaceDeclaration) -> Boolean): Int
Returns the number of interfaces that satisfies the specified predicate present in the declaration.
Link copied to clipboard
abstract fun hasAllInterfaces(includeNested: Boolean = true, predicate: (KoInterfaceDeclaration) -> Boolean): Boolean
Determines whether the declaration has all interfaces that satisfy the provided predicate.
Link copied to clipboard
abstract fun hasInterface(includeNested: Boolean = true, predicate: (KoInterfaceDeclaration) -> Boolean): Boolean
Determines whether the declaration has at least one interface that satisfies the provided predicate.
Link copied to clipboard
Determines whatever the declaration has interfaces.
Link copied to clipboard
abstract fun hasInterfacesWithAllNames(names: Collection<String>, includeNested: Boolean = true): Boolean
abstract fun hasInterfacesWithAllNames(name: String, vararg names: String, includeNested: Boolean = true): Boolean
Determines whether the declaration has interfaces with all the specified names.
Link copied to clipboard
abstract fun hasInterfaceWithName(names: Collection<String>, includeNested: Boolean = true): Boolean
abstract fun hasInterfaceWithName(name: String, vararg names: String, includeNested: Boolean = true): Boolean
Determines whether the declaration has at least one interface whose name matches any of the specified names.
Link copied to clipboard
The interfaces present in the declaration.
Link copied to clipboard
Returns the number of interfaces present in the declaration.