MoveInstanceMethodRefactoring refactoring= MoveInstanceMethodRefactoring.create(method, JavaPreferencesSettings.getCodeGenerationSettings());
MoveInstanceMethodRefactoring refactoring= MoveInstanceMethodRefactoring.create(method, JavaPreferencesSettings.getCodeGenerationSettings(method.getJavaProject()));
	private boolean tryMoveInstanceMethod(ITextSelection selection) throws JavaModelException{		IJavaElement element= SelectionConverter.getElementAtOffset(fEditor);		if (element == null || !(element instanceof IMethod))			return false;				IMethod method= (IMethod)element;		if (! MoveInstanceMethodRefactoring.isAvailable(method))			return false;			MoveInstanceMethodRefactoring refactoring= MoveInstanceMethodRefactoring.create(method, JavaPreferencesSettings.getCodeGenerationSettings());		if (refactoring == null)			return false;		fMoveInstanceMethodAction.run(selection);			return true;	}