# Kotlin Reflection: Type references

DevFeed: [Kotlin Reflection: Type references](<https://devfeed.tech/articles/kotlin-reflection-type-references-39216.md>)

Original publisher: [Read original article](<https://kt.academy/article/ak-reflection-type>)

Published: 2023-10-30T00:15:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Code](<https://devfeed.tech/topics/code.md>), [class](<https://devfeed.tech/topics/class.md>), [function](<https://devfeed.tech/topics/function.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [example](<https://devfeed.tech/tags/example.md>), [generator](<https://devfeed.tech/tags/generator.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [practical](<https://devfeed.tech/tags/practical.md>), [type-argument](<https://devfeed.tech/tags/type-argument.md>), [type-parameter](<https://devfeed.tech/tags/type-parameter.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

## AI overview

A tutorial on Kotlin reflection type references. It explains how types differ from classes, how type references expose nullability, type arguments, and classifiers, and how to use them in a random-value generator.

## Source excerpt

Using type references, with practical example of random value generator.