declarationsOf

inline fun <T : KoBaseProvider> KoDeclarationProvider.declarationsOf(includeNested: Boolean = true, includeLocal: Boolean = true): List<T>

The declarations of type T present in the declaration.

Return

A list of declarations of type T present in the declaration.

Parameters

includeNested

specifies whether to include nested declarations, by default true.

includeLocal

specifies whether to include local declarations, by default true.