PsiAnnotation (PsiAnnotationOwner annotationOwner, String fqn) { if (annotationOwner instanceof PsiModifierList) { annotationOwner = expandParameterIfNecessary((PsiModifierList)annotationOwner); } return annotationOwner.addAnnotation(fqn); }