classesAndInterfaces

abstract fun classesAndInterfaces(includeNested: Boolean = true, includeLocal: Boolean = true): List<KoClassAndInterfaceDeclaration>

The classes and interfaces present in the scope.

Return

a list of KoClassAndInterfaceDeclaration representing the classes and interfaces in the scope.

Parameters

includeNested

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

includeLocal

specifies whether to include local classes, by default true.