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


<a id='references'></a>

<div class='sourceset sourceset-jvmAndAndroid'>JvmAndAndroid</div>


```kotlin
public class ComposableMethod
internal constructor(private val method: Method, private val composableInfo: ComposableInfo)
```


Represents the @Composable method.


## Functions



<h2 id="asmethod">asMethod</h2>

```kotlin
public fun asMethod(): Method
```


Returns the backing `Method`.




<hr class="docs-overload-divider">


<h2 id="invoke-composer-instance-args">invoke</h2>

```kotlin
public operator fun invoke(composer: Composer, instance: Any?, vararg args: Any?): Any?
```


Calls the Composable method on the given `instance`. If the method accepts default values,
this function will call it with the correct options set.