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 /** 8 * Object used to differentiate between agent installed statically or dynamically. 9 * This is done in a separate object so [DebugProbesImpl] can check for static installation 10 * without having to depend on [kotlinx.coroutines.debug.AgentPremain], which is not compatible with Android. 11 * Otherwise, access to `AgentPremain.isInstalledStatically` triggers the load of its internal `ClassFileTransformer` 12 * that is not available on Android. 13 */ 14 internal object AgentInstallationType { 15 internal var isInstalledStatically = false 16 } 17