Bug 100416

Summary: [1.5] [assist] type of the class literal is not correct
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, jarthana, Olivier_Thomann
Version: 3.0   
Target Milestone: 3.6 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Audel CLA 2005-06-16 11:06:07 EDT
build 3.1RC2
1) create X.java
public class X {
  void foo() {
    String.class|
  }
}
2) do ctrl+space at | location
'class - Class<java/lang/String>' is proposed instead of 'class -
Class<java.lang.String>'
Comment 1 Tom Hofmann CLA 2006-08-21 10:43:46 EDT
In addition, the proposals for class literals lack the declaring type. 
Comment 2 Olivier Thomann CLA 2010-03-18 13:26:19 EDT
This is fixed in HEAD.
I do get: Class<java.lang.String>
Closing as WORKSFORME.
Comment 3 Jay Arthanareeswaran CLA 2010-04-27 07:00:24 EDT
Verified for 3.6M7 using build I20100424-2000.