void (PsiModifierList modifierList, List<? super PsiAnnotation> annotations) { if (modifierList == null) return; for (PsiAnnotation annotation : modifierList.getAnnotations()) { if (isStrictlyTypeUseAnnotation(modifierList, annotation)) { annotations.add(annotation); } } }