Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/AndroidReferenceReaderFactory

AndroidReferenceReaderFactory

[jvm]\ class AndroidReferenceReaderFactory(referenceMatchers: List<ReferenceMatcher>) : ReferenceReader.Factory<HeapObject>

Creates ReferenceReader instances that will follow references from all HeapObjects, applying matching rules provided by referenceMatchers, creating additional virtual instance reference based on known Android classes.

Constructors

AndroidReferenceReaderFactory [jvm]
constructor(referenceMatchers: List<ReferenceMatcher>)

Functions

Name Summary
createFor [jvm]
open override fun createFor(heapGraph: HeapGraph): ReferenceReader<HeapObject>