mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
filter out inspections, suppressed for file
This commit is contained in:
@@ -161,6 +161,7 @@ public class SuppressManagerImpl extends SuppressManager {
|
||||
|
||||
@Nullable
|
||||
public PsiElement getElementToolSuppressedIn(@NotNull final PsiElement place, final String toolId) {
|
||||
if (place instanceof PsiFile) return null;
|
||||
return ApplicationManager.getApplication().runReadAction(new Computable<PsiElement>() {
|
||||
@Nullable
|
||||
public PsiElement compute() {
|
||||
|
||||
Reference in New Issue
Block a user