When a composite class has (at least) two composee fields, when its constructor uses anonymous inner classes during the instantiation of those fields, only the first field is shown with a composition line in the UML diagram.
I have included an Eclipse project that shows two cases:
Case 1) Both fields are typed as interfaces and the composite class's constructor uses anonymous inner classes to implement and instantiate those interfaces.
Case 2) Both fields are concrete classes, each of which has a constructor that takes an input parameter. The composite class constructor uses anonymous inner classes to supply the input parameters for those constructors when it instantiates the composees.
Without proof, I believe that this problem may be symptomatic of larger issues that Green UML has with anonymous inner classes.
My system is Eclipse Helios x64 with Green 3.5.0 running on Win7 x64.
This problem is very serious and urgent for me. Thanks!