[android-components](../../index.md) / [mozilla.components.support.android.test.leaks](../index.md) / [LeakDetectionRule](index.md) / [apply](./apply.md)

# apply

`fun apply(base: Statement, method: FrameworkMethod, target: `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`): Statement` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/android-test/src/main/java/mozilla/components/support/android/test/leaks/LeakDetectionRule.kt#L32)