Generating optimal list of Java imports with Xtext
题
Is there a way to collect a list of necessary imports while Xtext generates Java code and then insert this list at the top after processing the model?
解决方案
Yes. We do that in the domain model example. You can import the example into your workspace using the wizard.
不隶属于 StackOverflow