JavaMoveProcessor processor= JavaMoveProcessor.create(resources, javaElements, JavaPreferencesSettings.getCodeGenerationSettings());
JavaMoveProcessor processor= JavaMoveProcessor.create(resources, javaElements, JavaPreferencesSettings.getCodeGenerationSettings(p1.getJavaProject()));
	public void testPackageMoveParticipants3() throws Exception {		ParticipantTesting.reset();		IPackageFragmentRoot r1= null;		IPackageFragmentRoot r2= null;		try {			r1= JavaProjectHelper.addSourceContainer(RefactoringTestSetup.getProject(), "src1");			r2= JavaProjectHelper.addSourceContainer(RefactoringTestSetup.getProject(), "src2");			IPackageFragment p1= r1.createPackageFragment("p1", true, null);			r2.createPackageFragment("p1", true, null);			ICompilationUnit c1= p1.createCompilationUnit("A.java", "public class A {}", true, null);						String[] moveHandles= ParticipantTesting.createHandles(new Object[] {				p1, c1.getResource()}); 			String[] deleteHandles= ParticipantTesting.createHandles(new Object[] {p1.getResource()});			IResource[] resources= {};			IJavaElement[] javaElements= {p1};			JavaMoveProcessor processor= JavaMoveProcessor.create(resources, javaElements, JavaPreferencesSettings.getCodeGenerationSettings());			processor.setReorgQueries(new MockReorgQueries());			processor.setDestination(r2);		    performDummySearch();			RefactoringStatus status= performRefactoring(processor, false);						//-- checks			assertEquals("status should be ok here", null, status);			IPath path= r2.getResource().getFullPath();			path= path.append(p1.getElementName().replace('.', '/'));			IFolder target= ResourcesPlugin.getWorkspace().getRoot().getFolder(path);						ParticipantTesting.testDelete(deleteHandles);						ParticipantTesting.testMove(				moveHandles,				new MoveArguments[] {					new MoveArguments(r2, processor.getUpdateReferences()),					new MoveArguments(target, processor.getUpdateReferences()),				});		} finally {			delete(r1);			delete(r2);		}	}