Summary: | Confusing API naming of Signature: getSignatureSimpleName | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.3 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Martin Aeschlimann
2005-04-25 08:43:52 EDT
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. |