//shark-android/shark/AndroidReferenceMatchers/Companion/instanceFieldLeak

instanceFieldLeak

[jvm]\

@JvmStatic

fun instanceFieldLeak(className: String, fieldName: String, description: String = "", patternApplies: AndroidBuildMirror.() -> Boolean = ALWAYS): LibraryLeakReferenceMatcher

Creates a LibraryLeakReferenceMatcher that matches a InstanceFieldPattern. description should convey what we know about this library leak.