has Classes With All Names
abstract fun hasClassesWithAllNames(name: String, vararg names: String, includeNested: Boolean = true, includeLocal: Boolean = true): Boolean
Determines whether the declaration has classes with all the specified names.
Return
true
if there are declarations with all the specified names, false
otherwise.
Parameters
name
The name of the class to check.
names
The names of the classes to check.
include Nested
Specifies whether to include nested classes in the check (optional, default is true
).
include Local
Specifies whether to include local classes in the check (optional, default is true
).
abstract fun hasClassesWithAllNames(names: Collection<String>, includeNested: Boolean = true, includeLocal: Boolean = true): Boolean
Determines whether the declaration has classes with all the specified names.
Return
true
if there are declarations with all the specified names, false
otherwise.
Parameters
names
The names of the classes to check.
include Nested
Specifies whether to include nested classes in the check (optional, default is true
).
include Local
Specifies whether to include local classes in the check (optional, default is true
).