Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/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 QA Contact: issues <issues.netbeans.org>
Priority: P3 CC: hmichel, jglick
Version: 6.x   
Target Milestone: 6.x   
Hardware: All   
OS: All   
Whiteboard:
Issue Type: ENHANCEMENT Exception Report:
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.
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo