ReflectionClassIntrospector
Introspects Kotlin classes using reflection to build a TypeGraph.
This introspector analyzes class structures including properties, constructors, and type hierarchies to generate schema IR nodes.
Example
val typeGraph = ReflectionClassIntrospector.introspect(MyClass::class)Content copied to clipboard
Limitations
Requires classes to have a primary constructor
A generic root is introspected with its type parameters as
Any?