[
https://issues.jboss.org/browse/FORGE-2058?page=com.atlassian.jira.plugin...
]
George Gastaldi commented on FORGE-2058:
----------------------------------------
The following exception is thrown:
{code}
java.lang.IllegalArgumentException: Invalid identifier : >List<String><
at org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:199)
at org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2202)
at org.eclipse.jdt.core.dom.AST.newName(AST.java:1965)
at org.jboss.forge.roaster.model.impl.FieldImpl.setType(FieldImpl.java:374)
{code}
Being able to create fields with generics types
-----------------------------------------------
Key: FORGE-2058
URL:
https://issues.jboss.org/browse/FORGE-2058
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.12.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
At the moment we can add a new field to a Java class :
{code}
java-new-field --named log --type java.util.List
{code}
It would be very useful to be able to add generics. Something like :
{code}
java-new-field --named log --type java.util.List<String>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)