This commit is contained in:
Valentin Kipyatkov
2014-11-27 20:09:10 +03:00
parent c1252c7963
commit bf130676a8
@@ -83,7 +83,7 @@ public open class LookupElementFactory protected() {
is ClassDescriptor -> {
val typeParams = descriptor.getTypeConstructor().getParameters()
if (typeParams.isNotEmpty()) {
element = element.appendTailText("<" + typeParams.map { it.getName().asString() }.joinToString(", ") + ">", true)
element = element.appendTailText(typeParams.map { it.getName().asString() }.joinToString(", ", "<", ">"), true)
}
element = element.appendTailText(" (" + DescriptorUtils.getFqName(descriptor.getContainingDeclaration()) + ")", true)