classesAndObjects

abstract fun classesAndObjects(includeNested: Boolean = true, includeLocal: Boolean = true): List<KoClassAndObjectDeclaration>

The classes and objects present in the declaration.

Return

a list of KoClassAndObjectDeclaration representing the classes and objects in the declaration.

Parameters

includeNested

specifies whether to include nested classes and objects.

includeLocal

specifies whether to include local classes.