private boolean isSuppressedInComment(@NotNull PsiElement element, @Nullable String id) {
    if (!(element instanceof PsiComment)) return false;

    String text = element.getText();
    if (!text.contains(getPrefix())) {
      return false;
    }
    if (id == null) {
      return true;
    }
    @NonNls final HashSet<String> parts = new HashSet<>(StringUtil.getWordsIn(text));
    return parts.contains(id) || parts.contains(XmlSuppressableInspectionTool.ALL);
  }
private boolean isSuppressedInComment(@NotNull PsiElement element, @Nullable String id)