declaredChildrenOfType
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().