private void doSuppress(@NotNull Project project, @NotNull PsiJavaDocumentedElement container) {
    if (container instanceof PsiModifierListOwner modifierOwner && use15Suppressions(container)) {
      final PsiModifierList modifierList = modifierOwner.getModifierList();
      if (modifierList != null) {
        JavaSuppressionUtil.addSuppressAnnotation(project, container, modifierOwner, getID(container));
      }
    }
    else {
      suppressByDocComment(project, container);
    }
  }
private void doSuppress(@NotNull Project project, @NotNull PsiJavaDocumentedElement container)