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