public static void createSuppression(@NotNull Project project,
                                       @NotNull PsiElement container,
                                       @NotNull String id,
                                       @NotNull Language commentLanguage) {
    PsiFile file = container.getContainingFile();
    Language language = container.getLanguage();
    CommonCodeStyleSettings codeStyleSettings = CodeStyle.getSettings(file).getCommonSettings(language);
    String indent = codeStyleSettings.LINE_COMMENT_ADD_SPACE_IN_SUPPRESSION ? " " : "";
    final String text = indent + SUPPRESS_INSPECTIONS_TAG_NAME + " " + id;

    PsiComment comment = createComment(project, text, commentLanguage);
    container.getParent().addBefore(comment, container);
  }
public static void createSuppression(@NotNull Project project,
                                       @NotNull PsiElement container,
                                       @NotNull String id,
                                       @NotNull Language commentLanguage)