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 228888

Summary: Incorrect occurrences highlighting on field annotation within groovy script
Product: groovy Reporter: Martin Janicek <mjanicek>
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Martin Janicek 2013-04-23 11:36:01 UTC
In the following groovy script, put the caret location on Field (either to the import statement or to the field declaration annotation)

package javaapplication4

import groovy.transform.Field

@Field String stringField = 'I am typed with @Field.'


Expected: Two occurrences highlighted
Actual:   Either one or something totally different is highlighted