void () { LanguageInspectionSuppressors.INSTANCE.addExplicitExtension(Language.findLanguageByID("UAST"), new InspectionSuppressor() { @Override public boolean isSuppressedFor(@NotNull PsiElement element, @NotNull String toolId) { return false; } @Override public SuppressQuickFix @NotNull [] getSuppressActions(@Nullable PsiElement element, @NotNull String toolId) { return SuppressQuickFix.EMPTY_ARRAY; } }, getTestRootDisposable()); doTest("redundantSuppress/defaultFile", myWrapper, true); }