Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/IgnoredReferenceMatcher

IgnoredReferenceMatcher

class IgnoredReferenceMatcher(val pattern: ReferencePattern) : ReferenceMatcher

IgnoredReferenceMatcher should be used to match references that cannot ever create leaks. The shortest path finder will never go through matching references.

Constructors

IgnoredReferenceMatcher fun IgnoredReferenceMatcher(pattern: ReferencePattern)

Functions

Name Summary
toString open override fun toString(): String

Properties

Name Summary
pattern open override val pattern: ReferencePattern
The pattern that references will be matched against.