withClassOrInterfaceDeclaration

List containing declarations with the specified class or interface declaration.

Return

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

Parameters

predicate

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