Pinned Loading
-
-
-
-
-
Get java runtime generic type
Get java runtime generic type 1import java.lang.reflect.ParameterizedType
23fun main() {
4val a = A()
5val parameterizedType = a.javaClass.genericInterfaces[0] as ParameterizedType
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.