boolean (PsiElement element) { if (element instanceof PsiPackage psiPackage) { final String qualifiedName = psiPackage.getQualifiedName(); for (CoverageSuite suite : mySuitesBundle.getSuites()) { if (((JavaCoverageSuite)suite).isPackageFiltered(qualifiedName)) return true; } } return false; }