-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
None
Currently, if I have a method...
public List<Foo> getList();
...then org.jboss.forge.parser.java.Method.getReturnType() returns...
java.util.List
There doesn't appear to be a way to get hold of the generic type <Foo>?
java.lang.Method has a special 'getGenericReturnType' method which returns a ParameterizedType which you can then call 'getActualTypeArguments' on. I don't necessarily like that API, but we need some equivalent to it.