hasClassesOrInterfaces
abstract fun hasClassesOrInterfaces(includeNested: Boolean = true, includeLocal: Boolean = true): Boolean
Determines whatever the declaration has classes and interfaces.
Return
true
if the declaration has any class or interface, false
otherwise.
Parameters
includeNested
Specifies whether to include nested classes and interfaces in the check (optional, default is true
).
includeLocal
Specifies whether to include local classes in the check (optional, default is true
).