A third-party lib has a java method with the follo...
# announcements
r
A third-party lib has a java method with the following signature:
public <VALUE> VALUE get(Class<? extends Key<VALUE>> key)
... how would I create an extension function that allows me to use Kotlin syntax like
get<MyClass>()
where
MyClass
is a class that extends
Key<VALUE>
?