Minor: better toString()
This commit is contained in:
+1
-9
@@ -350,15 +350,7 @@ public open class KtLightClassForExplicitDeclaration(
|
|||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun toString(): String {
|
override fun toString() = "${KtLightClass::class.java.simpleName}:$classFqName"
|
||||||
try {
|
|
||||||
return javaClass<KtLightClass>().simpleName + ":" + qualifiedName
|
|
||||||
}
|
|
||||||
catch (e: Throwable) {
|
|
||||||
return javaClass<KtLightClass>().simpleName + ":" + e.toString()
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun getOwnInnerClasses(): List<PsiClass> {
|
override fun getOwnInnerClasses(): List<PsiClass> {
|
||||||
return getDelegate().innerClasses
|
return getDelegate().innerClasses
|
||||||
|
|||||||
Reference in New Issue
Block a user