Book a Demo

Author Topic: Problem: Generalization and Parametrized Classes  (Read 2598 times)

maollier

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Problem: Generalization and Parametrized Classes
« on: October 14, 2005, 12:14:22 am »
Hi

I have a problem with type hierarchies when parametrized types are used (in java in my case, but it seems on the model level)

I wrote a java class:

Code: [Select]

class Concrete<B> extends BaseA<B>{
...
}


When I synchronize this source code into EA (reverse engineering), the generalization link is not shown.
However, the type hierarchy (in Advanced Settings/Set Element Parent) is imported correctly.

It is hard for me to say that it is a bug, since BaseA is not exactly the same as BaseA<B>. And the name of the parent is displayed in the top right corner of the concrete class. But it would be nice to see the link...

Is there a workaround? Or an update coming soon?

Thanks
Marc