Alex
01/24/2024, 8:14 AMthis of the context receiver (instead of ClassA) to inspect its class attributes? I tried this@foo::class.java but there is no way to force the this to be of type T (context receiver)?
context(T)
suspend fun <T : Any> ClassA.foo(parameter: ParameterA): Result<Unit> {
.. how do I get the instance of T here to inspect its class attributes?
}