@Override
  public boolean isSymbol(@Nullable Object o) {
    if (o instanceof PsiElement e) {
      return !e.getLanguage().is(Language.findLanguageByID("JAVA")) || !(e.getParent() instanceof PsiFile);
    }
    return false;
  }
@Override
  public boolean isSymbol(@Nullable Object o)