Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/ReferenceReader

ReferenceReader

fun interface ReferenceReader<T : HeapObject>

Inheritors

ChainingInstanceReferenceReader
VirtualInstanceReferenceReader
ClassReferenceReader
FieldInstanceReferenceReader
ObjectArrayReferenceReader

Types

Name Summary
Factory [jvm]
fun interface Factory<T : HeapObject>

Functions

Name Summary
read [jvm]
abstract fun read(source: T): Sequence<Reference>
Returns the sequences of non null outgoing references from source. Outgoing refs can be actual JVM references or they can be virtual references when simplifying known data structures.