Author Topic: Java Generics  (Read 3094 times)

effiban

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Java Generics
« on: January 15, 2008, 05:27:58 am »
EA 7 does not provide full support for Java generics. There are workarounds, for example in the following link:

http://bedla.czech.googlepages.com/How.to.create.generics.in.EA.pdf

I suggest that a more comprehensive and intuitive solution be implemented for the next release.

Thanks,
Effi

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Java Generics
« Reply #1 on: January 15, 2008, 07:31:44 am »
I think it is very important if you plan EA to be used for full round trip programing.
Recursion definition:
If you don’t understand the definition read "Recursion definition".

effiban

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Java Generics
« Reply #2 on: January 15, 2008, 08:15:44 am »
That's right - and even if you only want to import from existing code to a diagram, you would still lose some generics information in the current version.

I would like to point out one more issue as well, which is not Java-specific but relates to templates in general: The template arguments of a class or interface are not shown in the diagram (only template parameters are). This is important information even at the design level, and I suggest it be added to the display as well.

Thanks