Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/ObjectInspector

ObjectInspector

fun interface ObjectInspector

Provides LeakCanary with insights about objects (classes, instances and arrays) found in the heap. inspect will be called for each object that LeakCanary wants to know more about. The implementation can then use the provided ObjectReporter to provide insights for that object.

Inheritors

AppSingletonInspector
ObjectInspectors

Functions

Name Summary
inspect [jvm]
abstract fun inspect(reporter: ObjectReporter)