main

square/leakcanary

Last updated at: 29/12/2023 09:37

Friendly.kt

TLDR

This file contains utility functions and a property to interact with the internal code of the object-watcher-android module in the LeakCanary library.

Methods

There are no methods in this file.

Classes

There are no classes in this file.

@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER", "NOTHING_TO_INLINE")
@file:JvmName("leakcanary-object-watcher-android_Friendly")

package leakcanary.internal.friendly

internal inline val mainHandler
  get() = leakcanary.internal.mainHandler

internal inline fun checkMainThread() = leakcanary.internal.checkMainThread()

internal inline fun <reified T : Any> noOpDelegate(): T = leakcanary.internal.noOpDelegate()