|
|
|
Re: Pb with java reverse [message #641260 is a reply to message #641239] |
Wed, 24 November 2010 16:33 |
Romain Bernard Messages: 27 Registered: July 2009 |
Junior Member |
|
|
Although I found a workaround, I will submit a bug in bugzilla...
Quote: | Generics are usually considered as a hierarchy of classes, and maybe our reverse doesn't match the fact that the iterator, used in association with the hash map (OpenIntToFieldHashMap), is not a real class but just an instantiation of the generic interface java.uitl.Iterator
|
Actually, it is not the case... The Iterator class is a basic inner class of OpenIntToFieldHashMap, and has nothing to do with java.util.Iterator.
The pb occur only on the method OpenIntToFieldHashMap.iterator(), which returns this strange ClassDeclaration instance, with this strange and long name "org.apache.commons.math.util.OpenIntToFieldHashMap<T>.Iterator "...
Another point : in the same package, there is a class similar to OpenIntToFieldHashMap, with the same inner class Iterator (OpenIntToDoubleHashMap). And the pb DOES NOT occur for this similar class... So I guess it is not only a difference between state of source or compilation...
Regards
Romain
|
|
|
Powered by
FUDForum. Page generated in 0.02119 seconds