Using JVM Types in Xtext 2.1 and the ImportManager

Xtext 2.1 made it even easier to access Java types from your DSL; you can find some paragraphs in the documentation. In particular, the new features of Xbase seem to make this integration even more powerful! This paragraph in the documentation briefly describe how to refer to Java elements using JVM Types, and then dedicates much more room to accessing Java Types using Xbase. In this post, I'd like to document some my experiments/experiences in accessing JVM Types without using Xbase, and in particular, not by using the good ol' Domainmodel example, but something even more simpler, so that I [...]