List<PsiClass> (PsiModifierListOwner owner) { PsiModifierList modifierList = owner.getModifierList(); if (modifierList != null) { return ContainerUtil.mapNotNull(modifierList.getApplicableAnnotations(), MetaAnnotationUtil::resolveAnnotationType); } return emptyList(); }