JamesLuoau / gwt-ent

Automatically exported from code.google.com/p/gwt-ent
0 stars 0 forks source link

Parameter.getType() returns null #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

    if (setMethod.getParameters().length == 1) {
        String typeName = setMethod.getParameters()[0].getTypeName();
        Type type = setMethod.getParameters()[0].getType();
        }

The actual type of the argument is Collection<Foo> where Foo implements 
IsSerializable and 
overrides equals() and hashCode().

What is the expected output? What do you see instead?

typeName is "java.util.Collection" and type is null.

What version of the product are you using? On what operating system?
gwt-ent 0.6 with gwt 1.6.4

Please provide any additional information below.

Original issue reported on code.google.com by alex%slo...@gtempaccount.com on 2 Jul 2009 at 10:21

GoogleCodeExporter commented 9 years ago
The title should have included "for generic collections".

This is probably related to the other generics issues.

Original comment by alex%slo...@gtempaccount.com on 2 Jul 2009 at 10:37

GoogleCodeExporter commented 9 years ago

Original comment by JamesLuo...@gmail.com on 20 Aug 2009 at 11:47