ClassCache

object ClassCache

Provides a thread-safe caching mechanism for Class lookup by its fully qualified class name.

Functions

Link copied to clipboard
fun forName(className: String): Class<*>

Retrieves the Class object associated with the given fully qualified class name. The method caches the result to avoid redundant lookups for the same class name.