invoke
inline operator fun invoke(crossinline block: (ObjectReporter) -> Unit): ObjectInspector
Content copied to clipboard
Utility function to create a ObjectInspector from the passed in block lambda instead of using the anonymous object : OnHeapAnalyzedListener syntax.
Usage:
val inspector = ObjectInspector { reporter ->
}Content copied to clipboard