classAndInterfaceAndObjectDeclarations

List containing class, interface and object declarations associated with declarations.

Return

A list of class, interface and object declarations that match the provided predicate, or all class, interface and object declarations if no predicate is provided.

Parameters

predicate

A function that defines the condition to be met by the class, interface and object declaration. If null, all class, interface and object declarations are included.