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.
[ BUILD # : 200502222100 ] [ JDK VERSION : 1.5.0 ] I created a @interface called NewAnnotation: @Target(ElementType.CONSTRUCTOR) public @interface NewAnnotation { } I right-click and select Fix Import. NetBeans will add the statement import java.lang.annotation.Target; But it will never add the statement import java.lang.annotation.ElementType but, if I select the ElementType and press Alt-Shift-i, NetBeans propose to add the statement import java.lang.annotation.ElementType Seems like a bug Vincent
*** This issue has been marked as a duplicate of 55646 ***