ToObjects

inner class ToObjects

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun project(chunks: List<<Error class: unknown class>>, sourceAnalysisContext: SourceAnalysisContext): List<Any>

Project the given chunks into objects according to the provided source analysis config. Return a list of domain objects. Objects will have their own relationships.

Link copied to clipboard
fun <T> root(chunks: List<<Error class: unknown class>>, sourceAnalysisContext: SourceAnalysisContext, clazz: Class<T>, predicate: (T) -> Boolean): T?

Return the root object