[LL API] Refactoring, get rid of 'javaClass' usage

This commit is contained in:
Yan Zhulanow
2023-08-01 20:31:53 +09:00
committed by Space Team
parent 06581cee86
commit c565b659c2
@@ -17,7 +17,7 @@ public sealed class CodeFragmentCapturedValue(
get() = name
override fun toString(): String {
return javaClass.simpleName + "[name: " + name + "; isMutated: " + isMutated + "; displayText: " + displayText + "]"
return this::class.simpleName + "[name: " + name + "; isMutated: " + isMutated + "; displayText: " + displayText + "]"
}
/** Represents a local variable or a parameter. */