IJavaElement element= JavaCore.create((IFolder)folder);
IJavaElement element= JavaCore.create(folder);
	private static boolean containsSourceFolder(IFolder folder) throws CoreException {		IResource[] subFolders= folder.members();		for (int i = 0; i < subFolders.length; i++) {			if (! (subFolders[i] instanceof IFolder))				continue;			IJavaElement element= JavaCore.create((IFolder)folder);			if (element instanceof IPackageFragmentRoot)					return true;			if (element instanceof IPackageFragment)					continue;			if (containsSourceFolder((IFolder)subFolders[i]))				return true;		}		return false;	}