void (String @NotNull [] fileNames) { final String[] relFilePaths = new String[fileNames.length]; for (int i = 0; i < fileNames.length; i++) { relFilePaths[i] = "/" + getBasePath() + "/" + fileNames[i]; } configureByFiles(null, relFilePaths); ExpectedHighlightingData expectedHighlightingData = new ExpectedHighlightingData(myEditor.getDocument(), false, false, false); checkHighlighting(expectedHighlightingData); // ensure there are no syntax errors because they can interfere with hierarchy calculation correctness }