Bug 23366 Modify parameters refactoring remebers last state [refactoring]
2.x - select a method with 2 arguments - activate modify parameters - change order and one name - click next to see preview - press cancel - activate refactoring again observe: the dialog shows the last entered settings.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java
if (! (iter.next() instanceof IMember))
				return false;
		}
		return shouldAcceptElements(selection.toArray());
	}
		
	private boolean canRun(ITextSelection selection){
		IJavaElement[] elements= resolveElements();
		if (elements.length != 1)
			return false;
		return (elements[0] instanceof IMember) && shouldAcceptElements(elements);
	}
	private PullUpRefactoring createNewRefactoringInstance(Object[] obj){
		Set memberSet= new HashSet();
		memberSet.addAll(Arrays.asList(obj));
		IMember[] members= (IMember[]) memberSet.toArray(new IMember[memberSet.size()]);
		return new PullUpRefactoring(members, JavaPreferencesSettings.getCodeGenerationSettings());
	}
	private boolean shouldAcceptElements(Object[] elements) {
		try{
			fRefactoring= createNewRefactoringInstance(elements);
			return fRefactoring.checkPreactivation().isOK();
		} catch (JavaModelException e){
			
			if (JavaModelUtil.filterNotPresentException(e))
				JavaPlugin.log(e); 
			return false;
		}	
	}