staticFieldLeak

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

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