withClassDeclaration

List containing declarations with the specified class declaration.

Return

A list containing declarations with the specified class declaration.

Parameters

predicate

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