Community
Participate
Working Groups
We have a IJavaElement representing AbstractMap<K, V>. The Java element has the following resolved information: Binding key: Ljava/util/AbstractMap<TK;TV;>; Converting this into a signature using BindingKey.internalToSignature give me <K:V:>Ljava.util.AbstractMap; When I then ask this signature strings for its type parameters using Signature.getTypeParameters give me ONE string with the following content: K:V: I am expected getting an array of two strings here, one have K and one having V.
Changed Signature#getTypeParameters(...) to better handle type paramters with no bounds. Added regresison tests SignatureTests#testGetTypeParameters4() and testGetTypeParameters5()
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD.