hasClassesOrInterfacesOrObjects

abstract fun hasClassesOrInterfacesOrObjects(includeNested: Boolean = true, includeLocal: Boolean = true): Boolean

Determines whatever the declaration has classes, interfaces and objects.

Return

true if the declaration has any class, interface or object, false otherwise.

Parameters

includeNested

Specifies whether to include nested classes, interfaces and objects in the check (optional, default is true).

includeLocal

Specifies whether to include local classes in the check (optional, default is true).