private @NotNull ModCommand removeFromValueExternal(@NotNull PsiAnnotation annotation, @NotNull PsiAnnotationMemberValue value, boolean removeParent, @NotNull PsiModifierListOwner owner) throws IncorrectOperationException {
    String text = StringUtil.unquoteString(value.getText());
    if (!myID.equals(text)) return ModCommand.nop();
    ModCommandAwareExternalAnnotationsManager manager =
      (ModCommandAwareExternalAnnotationsManager)ExternalAnnotationsManager.getInstance(annotation.getProject());
    if (removeParent) {
      String qualifiedName = annotation.getQualifiedName(); //SuppressWarnings
      assert qualifiedName != null;
      return manager.deannotateModCommand(List.of(owner), List.of(qualifiedName));
    }
    else {
      PsiAnnotation annotationCopy = (PsiAnnotation)annotation.copy();
      PsiTreeUtil.processElements(annotationCopy, e -> {
        if (e instanceof PsiAnnotationMemberValue && e.getText().equals(value.getText())) {
          e.delete();
          return false;
        }
        return true;
      });
      PsiNameValuePair[] nameValuePairs = annotationCopy.getParameterList().getAttributes();
      String qualifiedName = annotation.getQualifiedName(); //SuppressWarnings
      assert qualifiedName != null;
      return manager.editExternalAnnotationModCommand(owner, qualifiedName, nameValuePairs);
    }
  }
private @NotNull ModCommand removeFromValueExternal(@NotNull PsiAnnotation annotation, @NotNull PsiAnnotationMemberValue value, boolean removeParent, @NotNull PsiModifierListOwner owner)