Issue #14

Template instantiation not generated

Added by Arnaud Blouin almost 8 years ago. Updated almost 8 years ago.

Status:AssignedStart date:02 November 2011
Priority:MediumDue date:
Assignee:Christophe Malgouyres% Done:

0%

Category:-
Target version:-

Description

Given two classes A and B such as B inherits A. A has a template parameter. B has a template instantiation towards A where T is a string. A and B are tagged as Java elements.

When I generated the Java code, class B does not implement the template parameter as expected:

public class B extends A {

}

instead of

public class B extends A<String> {

}

See the joined project for a use case.

Projet1.zip (10.5 MB) Arnaud Blouin, 02 November 2011 11:43

History

#1 Updated by Christophe Malgouyres almost 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Christophe Malgouyres

Java Designer currently uses template parameters and tagged values instead of template instanciations.

Your proposal seems a better and clearer way of modeling, i’ll implement it in a future version of the module, thank you.

Also available in: Atom PDF