For some umple elements, Position (line numbers) are defined but they are not
reflected in the generated code
What steps will reproduce the problem?
This problem includes the following:
UmpleInterface, UmpleInterface Methods, Associations, and Statemachine Effect code
Generate any Umple model with any of the pre-mentioned. For example:
class A {
someSM {
someState {
t1 [guard()] -> anotherState;
}
anotherState{}
}
}
class B {
1 -- * A;
}
interface AnInterface{
Boolean someMethod();
}
Choose Java as your target language (for example). You will notice that there
is nothing in the generated code that refers to the line number for the
statement "1 -- * A;"
What is the expected output? What do you see instead?
The targeted language generator must put into consideration showing that line
number for UmpleInterface, Associations, and Statemachine Effect code.
Currently, the umple parser takes care of parsing hte line numbers properly for
of the pre-mentioned items except for the UmpleInterface that still requires
work on the parser as well as the generators.
For the UmpleInterface methods, currently, we show the methods line numbers
when they are implemented in the sub classes (Which is good). However, it is
still important to show the line
numbers for these methods in the interface declared methods as well.
Original issue reported on code.google.com by ahmedvc@gmail.com on 13 May 2013 at 2:53
Original issue reported on code.google.com by
ahmedvc@gmail.com
on 13 May 2013 at 2:53