withoutClassOrInterfaceDeclaration

List containing declarations without the specified class or interface declaration.

Return

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

Parameters

predicate

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