ModCommand (@NotNull PsiModifierListOwner listOwner, @NotNull String annotationFQN, PsiNameValuePair @Nullable [] value) { return processExistingExternalAnnotationsModCommand(List.of(listOwner), List.of(annotationFQN), annotationTag -> { annotationTag.replace(XmlElementFactory.getInstance(myPsiManager.getProject()).createTagFromText( createAnnotationTag(annotationFQN, value))); return true; }); }