Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350631 - Jump to definition doesn't work for inner Java classes
Summary: Jump to definition doesn't work for inner Java classes
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 15:59 EDT by Konstantin Komissarchik CLA
Modified: 2021-11-19 09:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Komissarchik CLA 2011-06-28 15:59:23 EDT
If a full name to a public inner Java class is held by a JavaTypeName property (such as test.foo.Something$Else), the jump action handler is unable to find the type definition and the ctrl-hover hyperlink is not enabled. The issue is that JDT expects inner classes to be referenced via '.' separator as opposed to '$' separator. The fix is to convert the type name prior to doing the lookup. This was already fixed in Java type validation service. The jump handler needs a similar fix.
Comment 1 Konstantin Komissarchik CLA 2011-06-28 16:00:31 EDT
Fixed.
Comment 2 Ling Hao CLA 2011-11-28 14:27:37 EST
Verified by jump to public inner java class.
Comment 3 Konstantin Komissarchik CLA 2011-11-28 14:29:33 EST
Ling, since you are a committer, you can mark a bug as closed when you've verified it, without going through the verified status explicitly.