hasClassesAndInterfacesWithAllNames

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

Determines whether the declaration has classes and interfaces 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 or interface to check.

names

The names of the classes and interfaces to check.

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).


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

Determines whether the declaration has classes and interfaces 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 and interfaces to check.

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).