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.
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