without Parent Classes
fun <T : KoParentClassProvider> List<T>.withoutParentClasses(indirectParents: Boolean = false): List<T>
List containing declarations with none parent class.
Return
A list containing declarations with no parent class.
Parameters
indirect Parents
Whether to include indirect parent classes.
fun <T : KoParentClassProvider> List<T>.withoutParentClasses(indirectParents: Boolean = false, predicate: (List<KoParentDeclaration>) -> Boolean): List<T>
List containing declarations without parent class declarations satisfying the predicate.
Return
A list containing declarations without parent class declarations satisfying the predicate.
Parameters
indirect Parents
Whether to include indirect parent classes.
predicate
A function that defines the condition to be met by the list of parent class declarations.