---
title: "getDeclaredComposableMethod"
description: "Find the given @Composable method by name."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-jvmAndAndroid'>JvmAndAndroid</div>


```kotlin
@Throws(NoSuchMethodException::class)
public fun Class<*>.getDeclaredComposableMethod(
    methodName: String,
    vararg args: Class<*>,
): ComposableMethod
```


Find the given @Composable method by name.



