@Override
    public boolean shouldSearchInLanguage(@NotNull Language language) {
      PsiClass aClass = getClassToProcess();
      if (ReadAction.compute(() -> aClass.isEnum())) {
        return language == aClass.getLanguage();
      }
      return super.shouldSearchInLanguage(language);
    }
@Override
    public boolean shouldSearchInLanguage(@NotNull Language language)