I got 2 problems with 2 lines of the code
1) e.fullyQualifiedName.toString.replace(".", "/") + ".java". The editor tells: "The method fullyQualifiedName is undefined for the type DomainmodelGenerator" and "Couldn't resolve reference to JvmIdentifiableElement '+'"
2) e.compile : "The method compile is undefined for the type DomainmodelGenerator"
But in theory I've defined this methods in the same file.
I don't know if the problem is collegated whit the libraries that I have to import. In theory the steps I've done are similar to the tutorial but it seems that this one is refered to a previous version and some things have chance.