classesAndObjects

fun <T : KoClassAndObjectProvider> List<T>.classesAndObjects(includeNested: Boolean = true, includeLocal: Boolean = true): List<KoClassAndObjectDeclaration>

List containing class or/and object declarations.

Return

A list containing class or/and objects declarations.

Parameters

includeNested

Whether to include nested classes and objects.

includeLocal

Whether to include local classes.