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 111293

Summary: Editor should run annotation processors and display their messages
Product: java Reporter: brucechapman <brucechapman>
Component: EditorAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: blocker CC: hmichel, jglick
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 181432    
Bug Blocks: 111065    

Description brucechapman 2007-07-28 09:18:47 UTC
JSR-269 annotation processors can generate messages of various types, such as error messages which should be fed back to
the user.

See

http://java.sun.com/javase/6/docs/api/javax/annotation/processing/Messager.html

and 

http://java.sun.com/javase/6/docs/api/javax/tools/Diagnostic.Kind.html

Currently these messages are not displayed in the editor. They are displayed in the output window when a build is
performed, and there is a hyperlink from the associated line number to the editor, however it would be preferable if
these errors were displayed in the editor like other errors from javac.
Comment 1 Jan Lahoda 2007-07-29 19:16:58 UTC
While I would like to see better support of AnnotationProcessors in NetBeans, I think this is more an enhancement than a
defect.
Comment 2 Dusan Balek 2010-02-04 09:55:14 UTC
Implemented for j2se projects.

Changeset: http://hg.netbeans.org/main/rev/d59a1df3507f
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #111065: Support Annotation Processors in Java Editor added.