withPackage

fun <T : KoHasPackageProvider> List<T>.withPackage(vararg names: String): List<T>

List containing declarations with package.

Return

A list containing declarations with a package matching any of the specified package names (or any package if names is empty).

Parameters

names

The package names to include.


List containing elements with package.

Return

A list containing elements that reside in any of the specified packages (or any package if names is empty).

Parameters

names

The package names to include.