classesAndInterfacesAndObjects

abstract fun classesAndInterfacesAndObjects(includeNested: Boolean = true, includeLocal: Boolean = true): List<KoClassAndInterfaceAndObjectDeclaration>

The classes, interfaces and objects present in the declaration.

Return

a list of KoClassAndInterfaceAndObjectDeclaration representing the classes, interfaces and objects in the declaration.

Parameters

includeNested

specifies whether to include nested classes, interfaces and objects.

includeLocal

specifies whether to include local classes.