with Parent Interfaces
fun <T : KoParentInterfaceProvider> List<T>.withParentInterfaces(indirectParents: Boolean = false): List<T>
List containing declarations with any parent interface.
Return
A list containing declarations with any parent interface.
Parameters
indirect Parents
Whether to include indirect parent interfaces.
fun <T : KoParentInterfaceProvider> List<T>.withParentInterfaces(indirectParents: Boolean = false, predicate: (List<KoParentDeclaration>) -> Boolean): List<T>
List containing declarations with parent interface declarations satisfying the predicate.
Return
A list containing declarations with 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.