|Re: Pb with java reverse [message #641260 is a reply to message #641239]
||Wed, 24 November 2010 16:33
| Romain Bernard
Registered: July 2009
Although I found a workaround, I will submit a bug in bugzilla...|
|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...
Powered by FUDForum
. Page generated in 0.02215 seconds