SyntaxHighlighter (@Nullable Project project, @Nullable VirtualFile file) { return new JavaFileHighlighter(project == null ? LanguageLevel.HIGHEST : JavaPsiImplementationHelper.getInstance(project).getEffectiveLanguageLevel(file)); }