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

Bug 88057

Summary: IJavaProject.findType doesn't handle inner classes
Product: [Eclipse Project] JDT Reporter: Peter Walker <walkerp>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: gmendel, richkulp
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Peter Walker CLA 2005-03-15 09:51:48 EST
I passed in a Java Project and a package name and a class name(e.g.
TestClass$InnerClass). The class exists and is in the source package.
It returns a null from the method call 
 findType(String packageName, String typeQualifiedName)
This used to work in Eclipse 3.0.1.
Comment 1 Jerome Lanneluc CLA 2005-03-15 10:02:10 EST
According to the spec, the type qualified name is supposed to be dot ('.')
separated. Does findType("com.some.thing", "TestClass.InnerClass") work ?
Comment 2 Peter Walker CLA 2005-03-15 18:13:57 EST
Yes indeed... the '.' works as specified. I will have to change the way we use
this interface in our code. Thanks...
Comment 3 Peter Walker CLA 2005-03-15 18:27:10 EST
closed