withAllInterfacesAndObjects

List containing declarations that have all interfaces and objects satisfying the provided predicate.

Return

A filtered list containing declarations with all interfaces and objects satisfying the predicate.

Parameters

includeNested

Whether to include nested interfaces and objects.

predicate

A function that defines the condition to be met by all interface and objects declarations.