Remove NameResolver#getFqName, replace with getClassId

This commit is contained in:
Alexander Udalov
2015-09-19 15:59:45 +03:00
parent 7d5bd3cf50
commit 89fe54c951
5 changed files with 4 additions and 28 deletions
@@ -157,7 +157,7 @@ class LazyOperationsLog(
val context = typeDeserializer.field<DeserializationContext>("c")
val typeProto = o.field<ProtoBuf.Type>("typeProto")
val text = when {
typeProto.hasClassName() -> context.nameResolver.getFqName(typeProto.className).asString()
typeProto.hasClassName() -> context.nameResolver.getClassId(typeProto.className).asSingleFqName().asString()
typeProto.hasTypeParameter() -> {
val classifier = (o as JetType).constructor.declarationDescriptor!!
"" + classifier.name + " in " + DescriptorUtils.getFqName(classifier.containingDeclaration)