hasObjectsWithAllNames

abstract fun hasObjectsWithAllNames(name: String, vararg names: String, includeNested: Boolean = true): Boolean

Determines whether the declaration has objects with all the specified names.

Return

true if there are declarations with all the specified names, false otherwise.

Parameters

name

The name of the object to check.

names

The names of the objects to check.

includeNested

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


abstract fun hasObjectsWithAllNames(names: Collection<String>, includeNested: Boolean = true): Boolean

Determines whether the declaration has objects with all the specified names.

Return

true if there are declarations with all the specified names, false otherwise.

Parameters

names

The names of the objects to check.

includeNested

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