# androidx.compose.runtime.reflect

## Classes

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/reflect/ComposableMethod` | Represents the @Composable method. |

## Extension functions summary

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/reflect/ComposableMethod?` | `https://developer.android.com/reference/java/lang/reflect/Method.html.https://developer.android.com/reference/kotlin/androidx/compose/runtime/reflect/package-summary#(java.lang.reflect.Method).asComposableMethod()()` |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/reflect/ComposableMethod` | `https://developer.android.com/reference/java/lang/Class.html<*>.https://developer.android.com/reference/kotlin/androidx/compose/runtime/reflect/package-summary#(java.lang.Class).getDeclaredComposableMethod(kotlin.String,kotlin.Array)( methodName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, vararg args: https://developer.android.com/reference/java/lang/Class.html<*> )` Find the given @Composable method by name. |

## Extension functions

### Method.asComposableMethod

Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/reflect/ComposableMethod.jvmAndAndroid.kt+function:asComposableMethod) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.3.0)

```
fun Method.asComposableMethod(): ComposableMethod?
```

### Class.getDeclaredComposableMethod

Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/reflect/ComposableMethod.jvmAndAndroid.kt+function:getDeclaredComposableMethod) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.3.0)

```
fun Class<*>.getDeclaredComposableMethod(
    methodName: String,
    vararg args: Class<*>
): ComposableMethod
```

Find the given @Composable method by name.