classesAndInterfacesAndObjects

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

The classes, interfaces and objects present in the scope.

Return

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

Parameters

includeNested

specifies whether to include nested classes, interfaces and objects, by default true.

includeLocal

specifies whether to include local classes, by default true.