hasParentInterfacesWithAllNames

abstract fun hasParentInterfacesWithAllNames(name: String, vararg names: String, indirectParents: Boolean = false): Boolean

Determines whether the declaration has parent interfaces defined with all the specified names.

Return

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

Parameters

name

The name of the parent interface to check.

names

The names of the parent interfaces to check.

indirectParents

specifies whether to include parent interfaces defined in other files such as parent of the parent.


abstract fun hasParentInterfacesWithAllNames(names: Collection<String>, indirectParents: Boolean = false): Boolean

Determines whether the declaration has parent interfaces defined with all the specified names.

Return

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

Parameters

names

The names of the parent interfaces to check.

indirectParents

specifies whether to include parent interfaces defined in other files such as parent of the parent.