get return type of generic method

Viewed 41

I know about type-erasure, I know it shouldn't be possible and every stackoverflow-post answers with workarounds but I'm willing to use the hackiest, bytecode-manipulating, reflective functionality to make this work:

static <T> Class<T> getGenericType() {...}
0 Answers
Related