The Baeldung logo
  • The Baeldung LogoKotlin SublogoKotlin Sublogo
  • Start Here
  • Guides ▼▲
    • Kotlin Tutorial

      Learn about the core concepts and basic building blocks of Kotlin.

    • Kotlin Collections

      Learn how to use collections in Kotlin.

    • Kotlin Basics

      Introductory examples for Kotlin.

    • Kotlin Classes and Objects

      Classes and Objects provide the foundation for all Kotlin development.

    • Kotlin with Spring

      Learn how to use the Spring framework with Kotlin.

  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung.

Category upKotlin

Kotlin Basics » Reflection

Kotlin is a popular programming language that originated in 2011. Kotlin is a JVM language and is designed to be interoperable with Java. Take a dive through our collection of Kotlin tutorials that cover a wide array of Kotlin-related topics.

  • Kotlin Operator (14)
  • Kotlin Keyword (7)
  • Exceptions (7)
  • Enum (4)
  • x Reflection (4)
  • Definition (4)
  • IntelliJ (2)
  • K2 Compiler (2)
  • Generics (2)
  • Boolean (2)
  • List (2)

>> Getting a Kotlin KClass from a Package Class Name String

>> Getting All Field Names of a Class Using Kotlin Reflection

>> Passing a Class to a Function in Kotlin

>> How to Get the Name of a Variable in Kotlin

The Baeldung logo

Categories

  • Kotlin Basics
  • Kotlin Classes and Objects
  • Spring with Kotlin

Series

  • Kotlin Collections
  • Kotlin Strings
  • Kotlin Tutorial
  • Kotlin Spring
  • Kotlin Coroutines Tutorial

About

  • About Baeldung
  • Baeldung All Access
  • The Full Archive
  • Editors
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms Of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo