DisallowComposableCalls

Class

Common
@MustBeDocumented
@Target(AnnotationTarget.TYPE)
public annotation class DisallowComposableCalls

This will prevent composable calls from happening inside of the function that it applies to. This is usually applied to lambda parameters of inline composable functions that ought to be inlined but cannot safely have composable calls in them.