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

Fix @ItemClick and parametrized types
Merge merged PR 627 : Generic type in @ItemClick