Type safe JPA queries using Xtend