IMovePolicy policy = ReorgPolicyFactory.createMovePolicy(resources, javaElements);
if (policy.canEnable()) {
JavaMoveProcessor processor = new JavaMoveProcessor(policy);
Refactoring refactoring = new MoveRefactoring(processor);
RefactoringWizard wizard = null;
// Hack to allow usage of this refactoring on Eclipse < 3.4 and 3.4
if (SpringCoreUtils.isEclipseSameOrNewer(3, 4)) {
// RefactoringWizard wizard = new ReorgMoveWizard(processor,refactoring);
Constructor cons = ClassUtils.getConstructorIfAvailable(ReorgMoveWizard.class, new Class[] {