classesAndInterfaces

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

The classes and interfaces present in the declaration.

Return

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

Parameters

includeNested

specifies whether to include nested classes and interfaces.

includeLocal

specifies whether to include local classes and interfaces.