[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: Question on Marker use (APT vs. JavaModel)

"Mike Yawn" <myawn@xxxxxxxx> wrote in message 
news:46E08EB3.3030008@xxxxxxxxxxx
> Well, I decided to dump out the contents of the 'getAttributes()' map to 
> see if that was of any use, and it turns out to have the arguments I was 
> trying to get from IProblem.
>
> So just to document this for anyone else [...]

Yes, that seems like the right approach.  Problems are a JDT construct built 
upon Markers; APT Problems (or more generally problems contributed by 
CompilationParticipants) are a subset of JDT Problems.

In a perfect world this would probably be available as a public API exposed 
either from JDT as part of the set of interfaces related to 
CompilationParticipant, or from APT as part of the fixableError() interface. 
I think it would be reasonable, if you'd like, to submit such an enhancement 
request.