//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¶
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 |