suppliedTypeOf

fun <T> suppliedTypeOf(): SuppliedType(source)

Creates a SuppliedType that represents the compile-time type T.

This function is an intrinsic stub replaced by the supplied types compiler plugin. If the plugin is not applied, calling it throws IllegalStateException.

Return

A SuppliedType describing T.

Type Parameters

T

The type expression to represent. Must be a fully defined type in the current scope; type parameters marked with Supply are resolved from the enclosing suppliable declaration or withSupplied scope.