Fix wrong generated code
Add functional test
Merge pull request #627 from yDelouis/504_genericType_itemClick

Fix @ItemClick and parametrized types