constructsBy

infix fun <T> RuleTarget<T>.constructsBy(factory: KFunction<T>)

Selects factory as the construction function for compiler-generated metadata of this type.

The compiler plugin consumes this declaration and generates metadata from the factory parameters. Without the compiler plugin, this declaration is a marker and does not register runtime metadata.