kotlin.jvm.functions.Function2<? super rg.zerokvm.domain.model.Computer, ? super kotlin.coroutines.Continuation<? super arrow.core.Either<? extends rg.zerokvm.domain.port.api.AssignMouse, ? extends kotlin.Unit>>, ?>
Most likely (?) literal type should be used, e.g. I'm able to find my bean instance with the code:
val typeLiteral = object : TypeLiteral<AssignMouse>() {}
val beanInstance = CDI.current().select(typeLiteral, @Named("AssignMouse"))
Thanks for reporting this. I think there is two separate issue. One regarding named qualifier, and the other regarding the type.
I will try to fix both of them in separate pull request
Reflection utils cannot find both bean instance and qualifier. For bean instance a problem is related with suspended Functions using generic type.
To be more precise that's the exact type:
Most likely (?) literal type should be used, e.g. I'm able to find my bean instance with the code:
instead:
Below you may see the rest of the code:
Also Named Qualifier is not seen for declared annotations.