private void visitPackageLocalMemberReference(PsiJavaCodeReferenceElement qualified,
                                                  PsiModifierListOwner member, PsiElement[] elementsToMove) {
      PsiElement container = ConflictsUtil.getContainer(qualified);
      Set<PsiElement> reportedContainers = myReportedElementToContainer.computeIfAbsent(member, __ -> new HashSet<>());

      if (!reportedContainers.contains(container)) {
        reportedContainers.add(container);
        if (!isInsideMoved(container, elementsToMove)) {
          PsiFile containingFile = container.getContainingFile();
          if (containingFile != null) {
            PsiDirectory directory = containingFile.getContainingDirectory();
            if (directory != null) {
              PsiPackage aPackage = JavaDirectoryService.getInstance().getPackage(directory);
              if (!myTargetPackage.equalToPackage(aPackage)) {
                String message = JavaRefactoringBundle.message("0.will.be.inaccessible.from.1", RefactoringUIUtil.getDescription(member, true),
                                                      RefactoringUIUtil.getDescription(container, true));
                myConflicts.putValue(member, StringUtil.capitalize(message));
              }
            }
          }
        }
      }
    }
private void visitPackageLocalMemberReference(PsiJavaCodeReferenceElement qualified,
                                                  PsiModifierListOwner member, PsiElement[] elementsToMove)