ThisReceiver converted to Kotlin
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ fun renderDataFlowValue(value: DataFlowValue): String? {
|
||||
fun renderId(id: Any?): String? {
|
||||
return when (id) {
|
||||
is KtExpression -> id.getText()
|
||||
is ThisReceiver -> "this@${id.getDeclarationDescriptor().getName()}"
|
||||
is ThisReceiver -> "this@${id.declarationDescriptor.getName()}"
|
||||
is VariableDescriptor -> id.getName().asString()
|
||||
is PackageViewDescriptor -> id.fqName.asString()
|
||||
is com.intellij.openapi.util.Pair<*, *> -> renderId(id.first) + "." + renderId(id.second)
|
||||
|
||||
Reference in New Issue
Block a user