withoutAllParentsOf
fun <T : KoParentProvider> List<T>.withoutAllParentsOf(kClass: KClass<*>, vararg kClasses: KClass<*>, indirectParents: Boolean = false): List<T>
List containing declarations without all specified KClass
type parents.
Return
A list containing declarations without all specified KClass
type parents.
Parameters
kClass
The Kotlin class representing parent to exclude.
kClasses
The Kotlin classes representing parents to exclude.
indirectParents
Whether to include indirect parents.
fun <T : KoParentProvider> List<T>.withoutAllParentsOf(kClasses: Collection<KClass<*>>, indirectParents: Boolean = false): List<T>
List containing declarations without all specified KClass
type parents.
Return
A list containing declarations without all specified KClass
type parents.
Parameters
kClasses
The Kotlin classes representing parents to exclude.
indirectParents
Whether to include indirect parents.