Community
Participate
Working Groups
In the course of fixing bug 236817, we will have to return diagnostics to diagnostic listeners. The draft fix on which I am working at the time of writing implements those as EclipseDiagnostic instances. Since Diagnostic#getCode javadoc allows us to return null, this is the option I took (implement minimal functionality first), but we should think again about this. Amongst candidates, the problem categories immediately come to mind, but the problem ID might be suitable as well, etc.. (Probably need also to consider how much of these are visible in the UI, giving kind of a 'hierarchy' of pseudo-API information bits.)