ExpectedHighlightingData (boolean checkWarnings, boolean checkWeakWarnings, boolean checkInfos) { JavaExpectedHighlightingData data = new JavaExpectedHighlightingData(getEditor().getDocument(), checkWarnings, checkWeakWarnings, checkInfos, true); data.checkSymbolNames(); return data; }