getGenericType

inline fun <T : Any> T.getGenericType(fieldName: String): Type?