I could not find the “Show Relationship” from the Model Explorer window. I had to select Window->Application Options->View->Show relationships.
After doing that , I could see many relationships in the Model Explorer, but none matched the generalizations that you specified. Here are a few things that I tried as a test, but did not fix the reverse c++ code issue:
- delete all the classes accept the class that is failing. No faulty generalizations was present.
- delete all the operations/attributes of my class. No faulty generalizations was present.
At this point I only had 1 class with no operations/attributes. Then I deleted all my UML diagrams… this caused the faulty generalizations to suddenly appear in the Model Explorer.
So it seems that a faulty generalization does exist, but it is not visible unless I delete a lot of stuff. Obviously, that’s not want I want. So I continued trying other ways to make it appear, and I think I found one. In essence, if I launch an Analysis of my class then that action will produce a diagram with lots of classes in it. If I then simply delete that diagram, the faulty generalization will appear.
If I delete the faulty generalizations then I can run the Reverse c++ code with any failures for my class.
I can’t say if my steps will work in all causes yet since I only tried with 1 class so far.