declaredChildrenOfType

inline fun <T : Any> Any.declaredChildrenOfType(): List<T>

Reflectively returns every declared field of receiver this whose type is assignable to T, including inherited properties and Kotlin object members. Companion and file-facade fields are skipped; use staticChildrenOfType for those class-level fields.

This is the generic engine behind container wireChildren() methods and behind rule helpers like allFailures() / allRequirements() / allTestCases() / allInterfacePointAnalyses().

Generated with STIG