RefactoringEventData (UsageInfo @NotNull [] usages) { RefactoringEventData data = new RefactoringEventData(); data.addElements(myTargetPackage.getDirectories()); data.addElement(JavaPsiFacade.getInstance(myProject).findPackage(myTargetPackage.getQualifiedName())); return data; }