fMoveProcessor= JavaMoveProcessor.create(resources, javaElements, JavaPreferencesSettings.getCodeGenerationSettings());
IJavaProject project= null; if (javaElements != null && javaElements.length > 0) project= javaElements[0].getJavaProject(); fMoveProcessor= JavaMoveProcessor.create(resources, javaElements, JavaPreferencesSettings.getCodeGenerationSettings(project));
	private int handleValidateMove(Object target, DropTargetEvent event) throws JavaModelException{		if (target == null)			return DND.DROP_NONE;				if (fMoveProcessor == null) {			IResource[] resources= ReorgUtils.getResources(fElements);			IJavaElement[] javaElements= ReorgUtils.getJavaElements(fElements);			fMoveProcessor= JavaMoveProcessor.create(resources, javaElements, JavaPreferencesSettings.getCodeGenerationSettings());		}				if (!canMoveElements())			return DND.DROP_NONE;			if (target instanceof IResource && fMoveProcessor != null && fMoveProcessor.setDestination((IResource)target).isOK())			return DND.DROP_MOVE;		else if (target instanceof IJavaElement && fMoveProcessor != null && fMoveProcessor.setDestination((IJavaElement)target).isOK())			return DND.DROP_MOVE;		else			return DND.DROP_NONE;		}