Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/LeakTraceReference

LeakTraceReference

[jvm]\ data class LeakTraceReference(val originObject: LeakTraceObject, val referenceType: LeakTraceReference.ReferenceType, val owningClassName: String, val referenceName: String) : Serializable

A LeakTraceReference represents an origin LeakTraceObject and either a reference from that object to the LeakTraceObject in the next LeakTraceReference in LeakTrace.referencePath, or to LeakTrace.leakingObject if this is the last LeakTraceReference in LeakTrace.referencePath.

Constructors

LeakTraceReference [jvm]
constructor(originObject: LeakTraceObject, referenceType: LeakTraceReference.ReferenceType, owningClassName: String, referenceName: String)

Types

Name Summary
Companion [jvm]
object Companion
ReferenceType [jvm]
enum ReferenceType : Enum<LeakTraceReference.ReferenceType>

Properties

Name Summary
originObject [jvm]
val originObject: LeakTraceObject
owningClassName [jvm]
val owningClassName: String
owningClassSimpleName [jvm]
val owningClassSimpleName: String
Returns {@link #className} without the package, ie stripped of any string content before the last period (included).
referenceDisplayName [jvm]
val referenceDisplayName: String
referenceGenericName [jvm]
val referenceGenericName: String
referenceName [jvm]
val referenceName: String
referenceType [jvm]
val referenceType: LeakTraceReference.ReferenceType