This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 243889

Summary: Code completion (on annotation) referring to a specific class reference - e.g. String.class, results in 'class' being applied as completion
Product: editor Reporter: jvissers-nl
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description jvissers-nl 2014-04-17 12:50:39 UTC
While performing code completion on e.g. String.class, applying it [Ctrl-space] replaces String.class with class.

Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Linux version 3.11.0-19-generic running on amd64
Java; VM; Vendor = 1.7.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03
Comment 1 Jiri Prox 2014-05-23 16:25:17 UTC
Can you please provide the whole code before and after code completion was invoked (with marked position of the cursor). From the description it is not clear how to reproduce it.

Thanks