Community
Participate
Working Groups
I'm observing that for binary types and methods the IMethod.getSignature() returns something like this: (Ljava/lang/String;)Ljava/lang/reflect/Field; While IMethod.getParameterTypes() returns a String[] with the signatures like this: Ljava.lang.String; Note '/' in the first case and '.' in the second. I regarded this as merely odd, because according to the documentation in the Signature class it seems both forms are valid. However when I go searching for methods using IType.getMethod(String,String[]) I notice that it only accepts signatures with '.'. If you call it with '/' in the signatures you will get back an IMethod for which IMethod.exists() returns false. So is this a bug, or am I misunderstanding something about the use of '.' and '/' in signatures?
All methods on the Signature class expect dot based signatures. Closing as INVALID.
Verified for 3.6M1