without Imports
List containing declarations with no import.
Return
A list containing declarations with no import.
fun <T : KoImportProvider> List<T>.withoutImports(predicate: (List<KoImportDeclaration>) -> Boolean): List<T>
List containing declarations without import declarations satisfying the predicate.
Return
A list containing declarations without import declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of import declarations.