Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/ObjectGrowthDetector/Companion

Companion

[jvm]\ object Companion

This allows external modules to add factory methods for configured instances of this class as extension functions of this companion object.

Functions

Name Summary
forAndroidHeap [jvm]
fun ObjectGrowthDetector.Companion.forAndroidHeap(referenceMatchers: List<ReferenceMatcher> = AndroidObjectGrowthReferenceMatchers.defaults): ObjectGrowthDetector
forJvmHeap [jvm]
fun ObjectGrowthDetector.Companion.forJvmHeap(referenceMatchers: List<ReferenceMatcher> = JvmObjectGrowthReferenceMatchers.defaults): ObjectGrowthDetector