[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1554?page=comments#action_17324 ]
Adam Brod commented on XDT-1554: -------------------------------- I should have mentioned that Bea Weblogic 9.0 now supports Java 5.0, so I'm sure that lots of people will be looking to add Generics in their EJB interfaces. (That's why this issue is now pressing for me.) > Java 5 Support in Template Language > ----------------------------------- > > Key: XDT-1554 > URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1554 > Project: XDoclet > Type: Bug > Components: XDoclet Module > Versions: 1.2.3 > Environment: Any > Reporter: Adam Brod > Assignee: xdoclet-devel (Use for new issues) > > > I cannot find any support for Java 5 in the Template Language. > For example, I want to generate an interface from my class. I want to be > able to output the parameter list with the support for Generics. > E.g. > public void myMethod(List<String> strs) { ... } > should go into an interface with a method like: > public void myMethod(List<String> strs) ; > Currently if I put the following in my template: > public <XDtMethod:methodType/> <XDtMethod:methodName/>( > <XDtParameter:parameterList/> ); > I get this in my interface: > public void myMethod(List strs) ; > The type-safety of my collection has been lost! My class cannot inherit from > the generated interface because of the missing type parameters. > If this is supported in the Template Language, I can't find it in the > documentation. > This is related to > http://opensource2.atlassian.com/projects/xdoclet/browse/XJD-41 > Java 5 has been out for more than a year and I have been track XJD-41 for a > while. Even though the parser doesn't die on Generics, the template language > doesn't appear to be up-to-date. > Thanks for your hard work! > Adam -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ xdoclet-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
