classDeclarations

List containing class declarations associated with declarations.

Return

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

Parameters

predicate

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


Deprecated

Will be removed in version 0.19.0

Replace with

classDeclarations()

List containing class declarations associated with types.