How to JvmModelInferrer method body from XExpression and append boilerplate code
问题 In a JvmModelInferrer, when constructing the body of a method or constructor, how do you insert both an XExpression from the grammar body = op.body and additional "boilerplate" code, for example body = [ append( ''' System.out.println("BOILERPLATE"); ''' ) ] I can achieve either but not both. For a minimal working example, consider the following canonical Xbase grammar, grammar org.example.xbase.entities.Entities with org.eclipse.xtext.xbase.Xbase generate entities "http://www.example.org