MoveStaticMembersProcessor refactoring= MoveStaticMembersProcessor.create(array, JavaPreferencesSettings.getCodeGenerationSettings());
IJavaProject project= null; if (array.length > 0) project= array[0].getJavaProject(); MoveStaticMembersProcessor refactoring= MoveStaticMembersProcessor.create(array, JavaPreferencesSettings.getCodeGenerationSettings(project));
	private boolean tryMoveStaticMembers(ITextSelection selection) throws JavaModelException{		IJavaElement element= SelectionConverter.getElementAtOffset(fEditor);		if (element == null || !(element instanceof IMember))			return false;		IMember[] array= new IMember[]{(IMember)element};		if (! MoveStaticMembersProcessor.isAvailable(array))				return false;		MoveStaticMembersProcessor refactoring= MoveStaticMembersProcessor.create(array, JavaPreferencesSettings.getCodeGenerationSettings());		if (refactoring == null)			return false;		fMoveStaticMembersAction.run(selection);		return true;				}