Community
Participate
Working Groups
20040629 "QList<QString;>;" is a signature notation for a parameterized type. Signature should offer API to get the raw type "QList;" and the type parameters { "QString;" } Signature.getTypeParameters sounds useful for the second request, but it expects the signature to start with '<'
Agreed. #getParameterizedTypeErasure() #getParameterizedTypeArguments() (maybe we should drop the leading 'Parameterized'). #getTypeParameters() is meant for declaration of type parameters, as opposed to your request for decoding arguments of a parameterized type.
Added getTypeErasure(...) and getTypeArguments(...). Added tests SignatureTests#testGetTypeArguments1-5() and testGetTypeErasure1-2 ().
Verified in I200409212000.