(inspired by [JACKSON-468]) We need to add unit test to ensure that methods like: public <T> T getValue() { .... } can be resolved (including cases where there are other type bounds). And obviously if (when?) there are issues, fix these.