private static void copyAnnotations(@NotNull PsiModifierList fromModifierList, @NotNull PsiModifierList toModifierList) {
    for (PsiAnnotation originalAnnotation : fromModifierList.getAnnotations()) {
      final String annotationQualifiedName = originalAnnotation.getQualifiedName();
      if (!StringUtil.isEmptyOrSpaces(annotationQualifiedName)) {
        AddAnnotationPsiFix.addPhysicalAnnotationIfAbsent(annotationQualifiedName,
                                                          originalAnnotation.getParameterList().getAttributes(),
                                                          toModifierList);
      }
    }
  }
private static void copyAnnotations(@NotNull PsiModifierList fromModifierList, @NotNull PsiModifierList toModifierList)