UML reverse engineering with Generics class/methods (#1614)
hi, I bring you an umpteenth bug (again!) concerning this time the way the generic methods are generated from Java code (I have not tested for other languages)
here 2 sample class:
public class Addition extends Paire {
public Addition(Object a, Object b) {
super(a, b);
// TODO Auto-generated constructor stub
}
public <T> Paire<T> accepter(Paire<T> v) {
return v;
}
}
and
public class Paire<T> {
T premier;
T second;
public Paire(T a, T b) {
premier = a;
second = b;
}
public T getPremier() {
return premier;
}
public T getSecond() {
return second;
}
}
the UML reverse engineering genere a empty class despite the correct syntax (I checked with eclipse)
here somme useful link:
https://www.tutorialspoint.com/java/java_generics.htm
files samples
I'm happy to use such powerful software but
frankly, I'm tired of discovering that version in version of new bugs .....
thank you for doing the neccessaire
Dusan Rodina - softwareideas.net 20 November 2019 21:46:31
Hi,
Thank you for your feedback. I apologize for these complications. The mentioned problems will be fixed soon.