Bug 562295 - do not put irrelevant marker fields to evaluation errors

This will show such errors:

"P cannot be resolved or is not a field, The nested type
workbench.ScopeTest$Runner cannot be referenced using its binary name"

instead of showing this to user:

"Marker [on: /, id: 240, type: org.eclipse.jdt.core.transient_problem,
attributes: [charEnd: 74, charStart: 73, id: 33554502, lineNumber: 1,
message: P cannot be resolved or is not a field, severity: 2, sourceId:
JDT], created: 4/22/20 6:58 PM], Marker [on: /, id: 241, type:
org.eclipse.jdt.core.transient_problem, attributes: [charEnd: 210,
charStart: 184, id: 16777222, lineNumber: 6, message: The nested type
workbench.ScopeTest$Runner cannot be referenced using its binary name,
severity: 2, sourceId: JDT], created: 4/22/20 6:58 PM]"

Change-Id: I2eb0a2f6cdbe703518baf74ea619bd79d3bfba7e
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
1 file changed