withClassOrObjectDeclaration

List containing declarations with the specified class or object declaration.

Return

A list containing declarations with the specified class or object declaration.

Parameters

predicate

The predicate function to determine if a class or object declaration satisfies a condition.