//leakcanary/shark/ReferencePattern/NativeGlobalVariablePattern
NativeGlobalVariablePattern¶
data class NativeGlobalVariablePattern(val className: String) : ReferencePattern
Matches native global variables (also known as jni global gc roots) that reference Java objects. The class name will match against classes, instances and object arrays with a matching class name.
Constructors¶
NativeGlobalVariablePattern | fun NativeGlobalVariablePattern(className: String) |
Types¶
Name | Summary |
---|---|
Companion | object Companion |
Functions¶
Name | Summary |
---|---|
toString | open override fun toString(): String |
Properties¶
Name | Summary |
---|---|
className | val className: String |