public static void detectConflicts(UsageInfo[] usageInfos,
                                     MultiMap<PsiElement, @DialogMessage String> conflicts,
                                     PsiElement @NotNull[] elementsToMove,
                                     @NotNull PackageWrapper targetPackage,
                                     @NotNull MoveDestination moveDestination) {
    moveDestination.analyzeModuleConflicts(Arrays.asList(elementsToMove), conflicts, usageInfos);
    detectPackageLocalsMoved(usageInfos, conflicts, targetPackage, elementsToMove);
    detectPackageLocalsUsed(conflicts, elementsToMove, targetPackage);
    detectMoveToDefaultPackage(usageInfos, conflicts, targetPackage);
  }
public static void detectConflicts(UsageInfo[] usageInfos,
                                     MultiMap<PsiElement, @DialogMessage String> conflicts,
                                     PsiElement @NotNull[] elementsToMove,
                                     @NotNull PackageWrapper targetPackage,
                                     @NotNull MoveDestination moveDestination)