When is an inner class not an inner class?
When it's connected to the parent class by a nesting relationship!
Create a class, create another class, link the first to the second via a nesting relationship. Try to generate code for the "nested" (inner) class. The UI will (correctly) tell you: "Generation of code for inner classes is only supported through generating the outer class"
Generate code for the outer calls, and the inner class is generated... So far so good.
The problem is that if you get a list of inner elements via the automation interface, this inner class is not listed.
Now, before I report this as a bug, can anyone confirm that (in their view) the nested class should be treated as a more normally created inner class.
Also, even for normal inner classes, they are exposed both as a class of their own and as an inner class. As I'm emitting this information under my control, do people think I should repeat the class information or make the inner class a link to the other copy of the class.
(Recall that if we accept the nesting relationship, the linked class may be in an entirely different part of the model and may not be in the set of classes to be emitted)
Also, since it is possible to nest a class in more than one parent what does that do to things?
Cheerz,
Paolo