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

Link copied to clipboard
object Companion

Functions

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

Inheritors

Link copied to clipboard
Link copied to clipboard