Companion
Functions
build Known References
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.
ignored Instance Field
Link copied to clipboard
fun ignoredInstanceField(className: String, fieldName: String): IgnoredReferenceMatcher
Content copied to clipboard
Creates a IgnoredReferenceMatcher that matches a InstanceFieldPattern.
ignored Java Local
Link copied to clipboard
Creates a IgnoredReferenceMatcher that matches a JavaLocalPattern.
instance Field Leak
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.
native Global Variable Leak
Link copied to clipboard
fun nativeGlobalVariableLeak(className: String, description: String = "", patternApplies: AndroidBuildMirror.() -> Boolean = ALWAYS): LibraryLeakReferenceMatcher
Content copied to clipboard
static Field Leak
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.