hasParentClassesWithAllNames

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

Determines whether the declaration has parent classes 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 class to check.

names

The names of the parent classes to check.

indirectParents

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


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

Determines whether the declaration has parent classes 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 classes to check.

indirectParents

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