Collection<String> (@Nullable PsiModifierList modifierList) { if (modifierList == null) { return Collections.emptyList(); } PsiElement parent = modifierList.getParent(); if (!(parent instanceof PsiModifierListOwner owner)) { return Collections.emptyList(); } PsiAnnotation annotation = AnnotationUtil.findAnnotation(owner, SUPPRESS_INSPECTIONS_ANNOTATION_NAME); if (annotation == null) { return Collections.emptyList(); } return CachedValuesManager.getCachedValue(annotation, () -> CachedValueProvider.Result.create(getInspectionIdsSuppressedInAnnotation(annotation), PsiModificationTracker.MODIFICATION_COUNT)); }