has Class With Name
Determines whether the declaration has at least one class whose name matches any of the specified names.
Return
true
if there is a matching declaration, false
otherwise.
Parameters
the name of the class to check.
the names of the classes to check.
Specifies whether to include nested classes in the check (optional, default is true
).
Specifies whether to include local classes in the check (optional, default is true
).
Determines whether the declaration has at least one class whose name matches any of the specified names.
Return
true
if there is a matching declaration, false
otherwise.
Parameters
the names of the classes to check.
Specifies whether to include nested classes in the check (optional, default is true
).
Specifies whether to include local classes in the check (optional, default is true
).