@Override
  public boolean shouldInspect(@NotNull PsiFile file) {
    // The method was removed in JDK 11
    return PsiUtil.getLanguageLevel(file).isLessThan(LanguageLevel.JDK_11);
  }
@Override
  public boolean shouldInspect(@NotNull PsiFile file)