Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/ClassReferenceReader

ClassReferenceReader

[jvm]\ class ClassReferenceReader(graph: HeapGraph, referenceMatchers: List<ReferenceMatcher>) : ReferenceReader<HeapObject.HeapClass>

Constructors

ClassReferenceReader [jvm]
constructor(graph: HeapGraph, referenceMatchers: List<ReferenceMatcher>)

Functions

Name Summary
read [jvm]
open override fun read(source: HeapObject.HeapClass): 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.