Community
Participate
Working Groups
I use org.eclipse.jdt.core.compilationParticipant to add reconcile CategorizedProblem's and also problem markers in "processAnntations" method (BTW, IMHO bad name, it was not obvious for me that this method should be used not only for annotations processing, but also for any build time processing). This works in general. Only problem now is that I can have two annotations on same line. First - for marker added during build, second - for fixable problem during reconcile. As I can see, with standard problems JDT behaves differently. If problem has quick fix and there was "build time" marker, it shows only "quick fix" marker. For my problems I see both - "build time" and "quick fix" markers. As stated in JDT group this is because JDT uses some special handling for displaying annotations in CompilationUnitAnnotationModel. Is it possible to make this behaviour more general to support partipant's problems/markers as good as "native" JDT ones?
>(BTW, IMHO bad name, it was not obvious for me that this method should be used >not only for annotations processing, but also for any build time processing). This is JDT Core. We should replace the special handling for Java problems now that we have a categorized problem which gives access to the marker type.