[Test] Implement handler which dumps overrides tree of specified classes
This commit is contained in:
committed by
TeamCityServer
parent
4299794de2
commit
523d37b0f5
@@ -7,8 +7,12 @@ package org.jetbrains.kotlin.util
|
||||
|
||||
import java.lang.Appendable
|
||||
|
||||
class SmartPrinter(appendable: Appendable) {
|
||||
private val printer = org.jetbrains.kotlin.utils.Printer(appendable)
|
||||
class SmartPrinter(appendable: Appendable, indent: String = DEFAULT_INDENT) {
|
||||
companion object {
|
||||
private const val DEFAULT_INDENT = " "
|
||||
}
|
||||
|
||||
private val printer = org.jetbrains.kotlin.utils.Printer(appendable, indent)
|
||||
|
||||
private var notFirstPrint: Boolean = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user