hasInterfacesAndObjectsWithAllNames

abstract fun hasInterfacesAndObjectsWithAllNames(name: String, vararg names: String, includeNested: Boolean = true): Boolean

Determines whether the declaration has interfaces and objects with all the specified names.

Return

true if there are declarations with all the specified names, false otherwise.

Parameters

name

The name of the interface or object to check.

names

The names of the interfaces and objects to check.

includeNested

Specifies whether to include nested interfaces and objects in the check (optional, default is true).


abstract fun hasInterfacesAndObjectsWithAllNames(names: Collection<String>, includeNested: Boolean = true): Boolean

Determines whether the declaration has interfaces and objects with all the specified names.

Return

true if there are declarations with all the specified names, false otherwise.

Parameters

names

The names of the interfaces and objects to check.

includeNested

Specifies whether to include nested interfaces and objects in the check (optional, default is true).