PsiAnnotation (@NotNull BaseExternalAnnotationsManager context) { PsiAnnotation a = myAnnotation; if (a == null) { String text = "@" + annotationClassFqName + (annotationParameters.isEmpty() ? "" : "(" + annotationParameters + ")"); myAnnotation = a = context.createAnnotationFromText(text); } return a; }