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.

This is a functional interface with which you can create a ObjectInspector from a lambda.

Types

Companion
Link copied to clipboard
object Companion

Functions

inspect
Link copied to clipboard
abstract fun inspect(reporter: ObjectReporter)

Inheritors

AppSingletonInspector
Link copied to clipboard
ObjectInspectors
Link copied to clipboard