Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/HprofWriterHelper/clazz

clazz

[jvm]\ fun clazz(className: String, superclassId: Long = -1L, staticFields: List<Pair<String, ValueHolder>> = emptyList(), fields: List<Pair<String, KClass<out ValueHolder>>> = emptyList()): Long

fun clazz(classNameRecord: HprofRecord.StringRecord, superclassId: Long = -1L, staticFields: List<Pair<Long, ValueHolder>> = emptyList(), fields: List<Pair<Long, KClass<out ValueHolder>>> = emptyList()): Long

infix fun String.clazz(block: HprofWriterHelper.ClassDefinition.() -> Unit): Long