has Interfaces With All Names
abstract fun hasInterfacesWithAllNames(name: String, vararg names: String, includeNested: Boolean = true): Boolean
Determines whether the declaration has interfaces 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 to check.
names
The names of the interfaces to check.
include Nested
Specifies whether to include nested interfaces in the check (optional, default is true
).
abstract fun hasInterfacesWithAllNames(names: Collection<String>, includeNested: Boolean = true): Boolean
Determines whether the declaration has interfaces 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 to check.
include Nested
Specifies whether to include nested interfaces in the check (optional, default is true
).