Community
Participate
Working Groups
20050425 For inner types like 'a.b.Outer.Inner' getSignatureSimpleName returns 'Outer.Inner'. To be consistent with other naming, a simple name should only be 'Inner'. 'Outer.Inner' would be called 'type qualifier name' (e.g. as in IType.getTypeQualifiedName) As this API is 3.1 it might be worth it to deprecate the current version and replace it by API 'getTypeQualifierName'.
Are you saying that Signature#getSignatureSimpleName("La.b.Outer.Inner;") returns "Outer.Inner" ?
Yes, the spec says: getSignatureSimpleName("Ljava.util.Map$Entry") -> "Map.Entry" As mentioned, this API uses the terms 'SimpleName' in a misleading (unconsistent) way. You can't really call 'Map.Entry' a simple name, can you? I suggest to reopen: Deprecated the method and give it the correct name. 'getTypeQualifiedName'
reopening
Post 3.2
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.