Searched refs:methodName (Results 1 – 7 of 7) sorted by relevance
34 data class TestConfig(val receiver: String, val methodName: String) { constant in androidx.lifecycle.runtime.lint.WhenMethodsTest.TestConfig35 override fun toString() = "$receiver.$methodName" in toString()79 private fun error(methodName: String): String { in template()80 val errorMessage = errorMessage(methodName).replace("`", "") in template()103 check(input).expect(error(config.methodName)) in basicTryCatch()
46 val methodName = "getLocalLifecycleOwner" in <lambda>() constant48 val methodRef = classLoader.loadClass(className).getMethod(methodName) in <lambda>()
193 val methodName = method.method.name() in writeMethodCalls() constant198 methodName in writeMethodCalls()206 methodName, in writeMethodCalls()
295 private fun enforceMainThreadIfNeeded(methodName: String) { in enforceMainThreadIfNeeded()297 check(isMainThread()) { ("Method $methodName must be called on the main thread") } in enforceMainThreadIfNeeded()
309 private fun enforceMainThreadIfNeeded(methodName: String) { in <lambda>()311 check(isMainThread()) { ("Method $methodName must be called on the main thread") } in <lambda>()
499 static void assertMainThread(String methodName) { in assertMainThread() argument501 throw new IllegalStateException("Cannot invoke " + methodName + " on a background" in assertMainThread()
155 !methods.contains(node.methodName) || in createUastHandler()