From e66d6a8954a3dd00426f04c71fe3fc711d72ebd6 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Wed, 19 Feb 2020 19:21:23 +0300 Subject: [PATCH] [FIR] ClassWrapper: code cleanup --- .../jetbrains/kotlin/fir/lightTree/fir/ClassWrapper.kt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/compiler/fir/lightTree/src/org/jetbrains/kotlin/fir/lightTree/fir/ClassWrapper.kt b/compiler/fir/lightTree/src/org/jetbrains/kotlin/fir/lightTree/fir/ClassWrapper.kt index 87c4afe8223..7439c9c6f05 100644 --- a/compiler/fir/lightTree/src/org/jetbrains/kotlin/fir/lightTree/fir/ClassWrapper.kt +++ b/compiler/fir/lightTree/src/org/jetbrains/kotlin/fir/lightTree/fir/ClassWrapper.kt @@ -12,9 +12,6 @@ import org.jetbrains.kotlin.descriptors.Visibility import org.jetbrains.kotlin.fir.expressions.FirExpression import org.jetbrains.kotlin.fir.lightTree.fir.modifier.Modifier import org.jetbrains.kotlin.fir.types.FirTypeRef -import org.jetbrains.kotlin.fir.types.FirUserTypeRef -import org.jetbrains.kotlin.fir.types.builder.buildUserTypeRef -import org.jetbrains.kotlin.fir.types.impl.FirQualifierPartImpl import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.name.SpecialNames @@ -63,11 +60,4 @@ class ClassWrapper( else -> Visibilities.UNKNOWN } } - - fun getFirUserTypeFromClassName(): FirUserTypeRef { - return buildUserTypeRef { - isMarkedNullable = false - qualifier.add(FirQualifierPartImpl(className)) - } - } } \ No newline at end of file