Community
Participate
Working Groups
This module: [module generateJava('http://www.eclipse.org/uml2/3.0.0/UML')/] [template public generateClass(c : Class)] [comment @main /] [file ('test.txt', false)] [c.generateClassBody()/] [/file] [/template] [template public generateClassBody(c : Class)] [c.genOperations()/] [/template] [template public genOperations(aClass : Class)] [for (s1 : String | Sequence{'bacon is awesome'})] // [protected ('caramel')] [for (s2 : String | Sequence{s1})] [s2/] [/for] // [/protected] [/for] [/template] Produce invalid traceability information because this template: [template public generateClassBody(c : Class)] [c.genOperations()/] [/template] Will put the traceability information of the 4 spaces at the beginning of the line at the end of the line generated like this (see '[...]'): [ ]// Start of user code cara[mel\n] bacon is awes[ome\n] // End of user c[ode\n]
This issue will not be fixed and this component will be deprecated.