Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/ReferencePattern/StaticFieldPattern

StaticFieldPattern

[jvm]\ data class StaticFieldPattern(val className: String, val fieldName: String) : ReferencePattern

Matches static field references, identified by className and fieldName.

Constructors

StaticFieldPattern [jvm]
constructor(className: String, fieldName: String)

Types

Name Summary
Companion [jvm]
object Companion

Functions

Name Summary
ignored [jvm]
fun ReferencePattern.ignored(patternApplies: (HeapGraph) -> Boolean = ALWAYS): IgnoredReferenceMatcher
leak [jvm]
fun ReferencePattern.leak(description: String = "", patternApplies: (HeapGraph) -> Boolean = ALWAYS): LibraryLeakReferenceMatcher
toString [jvm]
open override fun toString(): String

Properties

Name Summary
className [jvm]
val className: String
fieldName [jvm]
val fieldName: String