// RUN_PIPELINE_TILL: BACKEND
import kotlin.reflect.KClass

typealias MyString = String

fun test(k: KClass<out MyString>) {
    k::class.java
}

@Suppress("UPPER_BOUND_VIOLATED")
public val <T> KClass<T>.java: Class<T> get() = TODO()

/* GENERATED_FIR_TAGS: capturedType, classReference, functionDeclaration, getter, nullableType, outProjection,
propertyDeclaration, propertyWithExtensionReceiver, stringLiteral, typeAliasDeclaration, typeParameter */
