has All Parent Interfaces Of
abstract fun hasAllParentInterfacesOf(name: KClass<*>, vararg names: KClass<*>, indirectParents: Boolean = false): Boolean
Determines whether the declaration has parent interfaces with all the specified KClass
type.
Return
true
if the declaration has parent interfaces of all the specified KClass
types, false
otherwise.
Parameters
name
the KClass
type of the parent interface to check.
names
the KClass
types of the parent interfaces to check.
indirect Parents
specifies whether to include parent interfaces defined in other files such as parent of the parent.
abstract fun hasAllParentInterfacesOf(names: Collection<KClass<*>>, indirectParents: Boolean = false): Boolean
Determines whether the declaration has parent interfaces with all the specified KClass
type.
Return
true
if the declaration has parent interfaces of all the specified KClass
types, false
otherwise.
Parameters
names
the KClass
types of the parent interfaces to check.
indirect Parents
specifies whether to include parent interfaces defined in other files such as parent of the parent.