Companion
Functions
Link copied to clipboard
fun buildKnownReferences(referenceMatchers: Set<AndroidReferenceMatchers>): List<ReferenceMatcher>
Content copied to clipboard
Builds a list of ReferenceMatcher from the referenceMatchers set of AndroidReferenceMatchers.
Link copied to clipboard
fun ignoredInstanceField(className: String, fieldName: String): IgnoredReferenceMatcher
Content copied to clipboard
Creates a IgnoredReferenceMatcher that matches a InstanceFieldPattern.
Link copied to clipboard
Creates a IgnoredReferenceMatcher that matches a JavaLocalPattern.
Link copied to clipboard
fun instanceFieldLeak( className: String, fieldName: String, description: String = "", patternApplies: AndroidBuildMirror.() -> Boolean = ALWAYS): LibraryLeakReferenceMatcher
Content copied to clipboard
Creates a LibraryLeakReferenceMatcher that matches a InstanceFieldPattern. description should convey what we know about this library leak.
Link copied to clipboard
fun nativeGlobalVariableLeak( className: String, description: String = "", patternApplies: AndroidBuildMirror.() -> Boolean = ALWAYS): LibraryLeakReferenceMatcher
Content copied to clipboard
Link copied to clipboard
fun staticFieldLeak( className: String, fieldName: String, description: String = "", patternApplies: AndroidBuildMirror.() -> Boolean = ALWAYS): LibraryLeakReferenceMatcher
Content copied to clipboard
Creates a LibraryLeakReferenceMatcher that matches a StaticFieldPattern. description should convey what we know about this library leak.