withInitBlocks

List containing declarations that have init block(s).

Return

A list containing declarations with the init block(s).


List containing declarations with init block declarations satisfying the predicate.

Return

A list containing declarations with init block declarations satisfying the predicate.

Parameters

predicate

A function that defines the condition to be met by the list of init block declarations.