Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 428920

Summary: [model]Java Model: inner classes yield the same fully qualified name as named local classes
Product: [Eclipse Project] JDT Reporter: Alexandre Perez <alexandrecperez>
Component: CoreAssignee: Jay Arthanareeswaran <jarthana>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: manoj.palat
Version: 3.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Alexandre Perez CLA 2014-02-24 10:23:17 EST
If a inner class and a named local class have the same name, the result of IType#getFullyQualifiedName() is the same.

Example:
class A { 
class B {} 
public void a() { class B {} } 
}

Here, both nested classes have the same fully qualified name of 'A$B', even though the bin folder looks like this:
A.class
A$B.class //the inner class
A$1B.class //the local class

Shouldn't the fully qualified name of the local class be 'A$1B'?
Comment 1 Eclipse Genie CLA 2019-10-03 12:31:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.