@Override
  public @Nullable Lexer getIndexingLexer(final @NotNull PsiFile file) {
    if (file instanceof PsiJavaFile && !(file instanceof JspFile)) {
      return JavaParserDefinition.createLexer(((PsiJavaFile)file).getLanguageLevel());
    }
    return null;
  }
@Override
  public @Nullable Lexer getIndexingLexer(final @NotNull PsiFile file)