IJavaSearchScope scope= ReferenceScopeFactory.create(privateMethod);
IJavaSearchScope scope= ReferenceScopeFactory.createWorkspaceScope(true);
	public void testDefaultScope() throws JavaModelException {		IType type= fCompilationUnit.findPrimaryType();		IMethod privateMethod= type.getMethod("defaultMethod", new String[0]); //$NON-NLS-1$		IJavaSearchScope scope= ReferenceScopeFactory.create(privateMethod);				assertTrue(scope.encloses(fCompilationUnit.getParent()));				IPackageFragmentRoot[] roots= fProject1.getAllPackageFragmentRoots();		for (int i= 0; i < roots.length; i++) {			IJavaElement[] fragments= roots[i].getChildren();			for (int j= 0; j < fragments.length; j++) {				if (!fragments[j].equals(fCompilationUnit.getParent()))					assertFalse(scope.encloses(fragments[j]));			}		}				checkNoRoots(scope, fProject2);		checkNoRoots(scope, fProject3);	}