CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();
IJavaProject project= null; if (javaElements != null && javaElements.length > 0) project= javaElements[0].getJavaProject(); CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings(project);
	private void verifyDisabled(IResource[] resources, IJavaElement[] javaElements) throws JavaModelException {		CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();		assertTrue("move should be disabled", ! JavaMoveProcessor.isAvailable(resources, javaElements, settings));		JavaMoveProcessor processor= JavaMoveProcessor.create(resources, javaElements, settings);		assertTrue(processor == null);	}