withoutParentOf
fun <T : KoParentProvider> List<T>.withoutParentOf(kClass: KClass<*>, vararg kClasses: KClass<*>, indirectParents: Boolean = false): List<T>
List containing declarations without any parent of the specified KClass
type.
Return
A list containing declarations without any of the specified 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>.withoutParentOf(kClasses: Collection<KClass<*>>, indirectParents: Boolean = false): List<T>
List containing declarations without any parent of the specified KClass
type.
Return
A list containing declarations without any of the specified parents.
Parameters
kClasses
The Kotlin classes representing parents to exclude.
indirectParents
Whether to include indirect parents.