has Class Or Object With Name
Determines whether the declaration has at least one class or object whose name matches any of the specified names.
Return
true
if there is a matching declaration, false
otherwise.
Parameters
the name of the class or object to check.
the names of the classes and objects to check.
Specifies whether to include nested classes and objects 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 or object whose name matches any of the specified names.
Return
true
if there is a matching declaration, false
otherwise.
Parameters
the names of the classes and objects to check.
Specifies whether to include nested classes and objects in the check (optional, default is true
).
Specifies whether to include local classes in the check (optional, default is true
).