1 /* 2 * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 5 package kotlinx.coroutines.debug.internal 6 7 import kotlin.coroutines.jvm.internal.* 8 9 /** 10 * A stack-trace represented as [CoroutineStackFrame]. 11 */ 12 @PublishedApi 13 internal class StackTraceFrame internal constructor( 14 override val callerFrame: CoroutineStackFrame?, 15 // Used by the IDEA debugger via reflection and must be kept binary-compatible, see KTIJ-24102 16 @JvmField public val stackTraceElement: StackTraceElement 17 ) : CoroutineStackFrame { getStackTraceElementnull18 override fun getStackTraceElement(): StackTraceElement = stackTraceElement 19 } 20